Comments (2)
Would you please add steps to reproduce it?
I believe this refers to cases like bt_conn_unref(NULL)
(in application code) evaluating to undefined behavior (UB) when asserts are off. The question is whether it's harmful to allow UB as a result of API misuse when asserts are off, in public API, or even internal API.
The argument is that developer time saved by catching these errors is well worth the extra bytes and cycles many times over. I agree. My opinion is that simple asserts should be on-by-default globally in Zephyr, and we maintainers should make sure assert expressions are not too expensive. Disabling asserts should be a this-train-needs-no-brakes move by those who are forced into that particular requirement and are ready to bear the cost of harder debugging.
from zephyr.
Would you please add steps to reproduce it?
from zephyr.
Related Issues (20)
- posix: implement `putc_unlocked()`
- posix: implement `putchar_unlocked()`
- posix: implement `getc_unlocked()`
- posix: implement `getchar_unlocked()`
- posix: implement `asctime_r()`
- posix: implement `ctime_r()`
- posix: implement `localtime_r()`
- posix: implement `getgrgid_r()`
- posix: implement `getgrnam_r()`
- posix: implement `getpwnam_r()`
- posix: implement `getpwuid_r()`
- posix: implement `readdir_r()`
- CST816T Driver
- GATT/CL/GAR/BV-10-C: IUT failed to send back to back ATT_READ_MULTIPLE_VARIABLE_LENGTH_REQ HOT 1
- Stack conformance tests GAP/SEC/SEM/BV-24-C and GAP/SEC/SEM/BV-29-C fails HOT 5
- During SMP pairing key exchange procedure PTS expecting Zephyr IUT to share the IRK key but IUT didn't share HOT 1
- tfm: build fails (linux) HOT 5
- Coverage fails when log is not printed
- L2CAP/TIM/BV-03-C fails as IUT is not backing off on connection request collision HOT 3
- Bluetooth LE Audio qualification tests are failing
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 zephyr.