Giter VIP home page Giter VIP logo

Comments (3)

DavidAntliff avatar DavidAntliff commented on May 22, 2024

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.

DavidAntliff avatar DavidAntliff commented on May 22, 2024

I'm going to close this as invalid because it appears to relate to a file that is not in Awa.

from awalwm2m.

DuncanFrazer-zz avatar DuncanFrazer-zz commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.