haiku/src/libs
Murai Takashi 8cd3603b99 compat/freebsd_network: Fix Use of zero-allocated memory
If device is not found, 'list' is allocated to size 0.
So, modify function to return 0 as FreeBSD's subr_bus.c
when 'count' is 0.
Pointed out by Clang Static Analyzer.

Change-Id: Ice24ae939bfcdb6e1276a86dba40d0b689030fbb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3753
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-03-02 14:19:54 +00:00
..
agg agg: trans_double_path::reset(): reset m_kindex2 2020-01-22 00:29:36 +00:00
alm use .IsSet() instead if .Get() != NULL 2021-02-02 15:17:54 +00:00
bsd Add a features.h to auto enable _DEFAULT_SOURCE 2019-07-29 20:26:46 +00:00
compat compat/freebsd_network: Fix Use of zero-allocated memory 2021-03-02 14:19:54 +00:00
glut GLUT: Fix message handling in GlutWindow 2019-09-13 22:57:04 +00:00
gnu libs/gnu: Fix -Wformat= 2020-10-13 15:19:14 +00:00
icon libicon: reorder gradient stops when loading from BMessage 2020-08-02 17:42:44 +02:00
iconv Remove all invocations of SetSubDirSupportedPlatformsBeOSCompatible. 2019-03-30 15:19:38 -04:00
libc++ Import libc++ 2015-11-09 18:02:17 +01:00
libcxxrt Import libcxxrt 2015-11-09 18:01:58 +01:00
libfdt libfdt: Move headers to headers/libs/libfdt 2012-11-04 16:40:15 +01:00
libtelnet Add a features.h to auto enable _DEFAULT_SOURCE 2019-07-29 20:26:46 +00:00
libunwind BugFix 2: fix errors found by cppcheck 2019-03-16 17:28:06 +00:00
linprog Support building most system libraries for secondary arch 2013-08-06 00:45:22 +02:00
mapm
posix_error_mapper posix_error_mapper: fix pthread_mutex*_get*() 2017-02-28 01:12:26 +00:00
print libprint: Small code formatting fix 2020-04-06 07:02:00 +00:00
stdc++ build: Rework gcc2 test_app_server build logic a bit. 2020-01-05 17:17:41 -05:00
termcap termcap: Update from 2011/02/20 to 2017/08/26. 2017-09-12 14:34:42 -04:00
udis86 PVS V1031: missing includes for memcpy/memset 2019-07-17 22:17:22 +00:00
util libs/util: Fix -Wformat= 2020-11-02 07:20:28 +00:00
uuid gpt partitioning: generate uuids for disks & partitions. 2015-10-08 02:12:14 +00:00
x86emu Fix various instances of -Wsign-compare. 2018-11-24 17:48:02 -05:00
Jamfile build: Cleanup and fixes following previous commits. 2017-11-25 21:15:10 +01:00