Comments (3)
I'm not sure which file you are referring to, as there is no button_led_controller.c
in the Awa repository.
The correct fix is probably if (strnlen(path, URL_PATH_SIZE) != 0)
.
You are right however that path
will never be NULL in the code you describe.
Aside: NULL
(null pointer constant) is not the same as \0
(ASCII null character - "NUL") - they may have the same value (sometimes) but they are not interchangeable and relate to separate concepts.
http://c-faq.com/null/nullor0.html
from awalwm2m.
I'm going to close this as invalid because it appears to relate to a file that is not in Awa.
from awalwm2m.
Hi tjobanpu - I think a better place for your question would be the button_led_controller repo over on the creatorkit organisation : https://github.com/CreatorKit/button-led-controller, or come over to the creator forum and discuss with the community : http://forum.creatordev.io. The button_led_controller app uses Awa but I don't believe the issue that you found is in the Awa code.
from awalwm2m.
Related Issues (20)
- Create porting guide for network abstraction and platform utils HOT 1
- Cannot bootstrap more than 5 clickers HOT 3
- Failed transactions cause a memory leak HOT 1
- Content type 11542 support HOT 5
- Static client fails on register if name uses '<' '>' characters. HOT 3
- update for lwm2m 1.0 specification
- API Client
- Awa notifications get resent constantly
- [Proposal] : Makefile re-design
- Contiki random port is not random
- awa_bootstrapd keeps crashing when multiple clients wants to connect
- Wakaama bootstrap fail HOT 1
- Not all libraries are installed during 'make install'
- How to initialize and persist client state
- When awa client with support for lwm2m 1.0 will be released (version 0.2.6)? HOT 2
- Building Docker image using instructions in docker.md does not work
- Range or Enumeration to resource
- Serdes fails to use JSON with Leshan
- Accept option (not Found) HOT 1
- Awa_clientd & Leshan Bootstrap Server & Leshan Server Get Failed
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 awalwm2m.