Comments (5)
is udev not a requirement?
from libmonome.
is udev not a requirement?
@tehn AFAIK not, building libmonome will fall back to using sysfs if udev is missing.
I gathered this from #1 as well as
Line 52 in 2792f1e
The above error is caused by the code for the sysfs implementation, that's why it only triggers when building without udev.
from libmonome.
ok. so should udev be required?
from libmonome.
ok. so should udev be required?
No, it doesn't have to be, sysfs alone can be enough.
I think I know how to fix this issue, will give it a try this weekend.
from libmonome.
Whilst for some reason I'm currently no longer able to reproduce this issue we should fix the asprintf
warning because it opens the door to vulnerabilities. For some more info see here https://web.archive.org/web/20090505140305/http://blogs.23.nu:80/ilja/2006/10/antville-12995/
@wrl I think this would be the patch, does this look right?
I'm not sure if buf
being NULL
could cause any issues elsewhere in the code?
path = strchr(path, '/') + 1;
- asprintf(&buf, FTDI_PATH "/*/%s", path);
+ if (asprintf(&buf, FTDI_PATH "/*/%s", path) < 0) {
+ goto err_asprintf;
+ }
glob(buf, 0, NULL, &gb);
free(buf);
...
+ err_asprintf:
+ free(buf);
from libmonome.
Related Issues (20)
- Can we get a tag for v1.1 HOT 1
- problems with event handling via python HOT 4
- Build instructions HOT 1
- Broken with liblo 0.27
- Can't get examples to work HOT 2
- Can't build with clang HOT 6
- liblo not found on OS X 10.9 HOT 8
- Checking for liblo fails HOT 6
- Homepage is not reachable HOT 1
- Add option to not run ldconfig (or don't run it at all?) HOT 1
- Python binding no longer gets built/fails building HOT 6
- Add pkg-config file to make it easier for other projects to use libmonome?
- macOS Mojave build failure, due to -mmacosx-version-min=10.5
- Drop Python bindings? HOT 10
- Build fails with Python > 3.6 because of old waf version HOT 3
- [Question] Difference between LED intensity and LED level all HOT 2
- OpenBSD support HOT 2
- liblo not found: macOS12.6 + M1
- `monome_event_next` sometimes produces odd results HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libmonome.