Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
Go to file
Inaky Perez-Gonzalez b53e6d7774 libc/minimal: snprintf(): KILL negative len parameter
snprintf() implements the ability to foce a negative value through the
(unsigned) size_t len parameter to allow the formatter to use a
maximum size string.

This is point less, we don't have as much memory and this is a recipe
for all kinds of vulnerabilities.

Kill the whole thing, the testcase it represents and thank Coverity
for finding this thing. Whatever use it had before, it has no more.

Change-Id: If422246548664699d8aa328a1b9304ef13cab7ea
Coverity-ID: 131625
Coverity-ID: 131626
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
2016-11-28 20:49:37 +00:00
.known-issues known-issues: update rule for TCF summary line 2016-09-16 11:31:27 -07:00
arch arm/frdm_k64f: fix boot issue with MBED bootloader and INIT_STACKS=y 2016-11-28 18:33:11 +00:00
boards boards: nucleo_f103rb: define user LED 2016-11-18 09:28:54 -05:00
doc doc: fix ring_buffer code snippet 2016-11-22 21:09:13 +05:30
drivers drivers: nrf timer: remove unused variable 2016-11-27 22:36:02 -05:00
ext tinycrypt/sha256: Array compared to NULL has no effect 2016-11-22 01:59:10 +00:00
include net: buf: Add extra logic when debug is enabled 2016-11-28 14:57:44 +00:00
kernel kernel: remove K_TIMING thread flag 2016-11-26 14:04:18 +00:00
lib libc/minimal: snprintf(): KILL negative len parameter 2016-11-28 20:49:37 +00:00
misc logging: add exeternal hook to sys_log 2016-11-27 23:07:35 -05:00
net net: buf: Add extra logic when debug is enabled 2016-11-28 14:57:44 +00:00
samples logging: add exeternal hook to sys_log 2016-11-27 23:07:35 -05:00
scripts win-build: Fixes a kconfig incompatibility for Windows 2016-11-18 23:22:21 +00:00
subsys Bluetooth: RFCOMM: Initiate DLC 2016-11-18 17:27:01 +05:30
tests libc/minimal: snprintf(): KILL negative len parameter 2016-11-28 20:49:37 +00:00
.checkpatch.conf checkpatch: ignore CONST_STRUCT warnings 2016-11-11 22:12:22 +00:00
.gitattributes
.gitignore testcases: instruct git to ignore *log and outdir-* 2016-06-14 22:01:34 +00:00
.gitreview
.mailmap mailmap: update with new emails 2016-10-07 16:15:24 +00:00
Kbuild build: remove old kernel support 2016-11-07 11:34:18 -08:00
Kconfig kconfig: Do not put architecture in the title 2016-03-14 16:50:51 -04:00
Kconfig.zephyr usb: move usb subsystem to subsys/usb and cleanup header inclusion 2016-10-31 19:21:42 +00:00
LICENSE
LICENSING.rst LICENSING: clarify licenses of imported / reused code 2016-11-11 01:36:14 +00:00
MAINTAINERS board_beetle: Add support for ARM V2M Beetle Board 2016-11-11 20:39:54 +00:00
Makefile build: Add __ZEPHYR__ to Makefile 2016-11-22 17:10:49 +00:00
Makefile.inc build: Document outputexports 2016-11-12 02:08:08 +00:00
defaults.tc testcases: catch more fatal kernel error messages 2016-11-11 13:21:16 +00:00
zephyr-env.sh win-build: corrects scripts_path for windows build. 2016-10-15 15:09:54 +00:00