zephyr/tests/lib/sprintf/src
Flavio Ceolin 417747886c tests: sprintf: Avoid buffer overrun
fwrite parameters are "size_t size" and "size_t nmemb",
when writing a string we should set sizeof(char) and len(string).
The test is doing it wrongly and making the function read more
memory than it should.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2024-03-15 17:08:58 -04:00
..
main.c tests: sprintf: Avoid buffer overrun 2024-03-15 17:08:58 -04:00