bbfdm/libbbf_api
Daniel Danzberger cdf945ac57 Avoid strlen on uninitialized memory
Update fsize by the actual read bytes from fread,
because ftell will always return 4k on sysfs files.

Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:51:28 +01:00
..
dmbbf.c Fix memory issues on 64bit systems 2020-02-19 11:51:27 +01:00
dmbbf.h clean up the source code 2020-02-12 19:08:49 +01:00
dmcommon.c Avoid strlen on uninitialized memory 2020-02-19 11:51:28 +01:00
dmcommon.h Fix segfault when /etc/bbfm/[pkg] can't be created 2020-02-19 11:51:28 +01:00
dmjson.c clean up the source code 2020-02-12 19:08:49 +01:00
dmjson.h clean up the source code 2020-02-12 19:08:49 +01:00
dmmem.c clean up the source code 2020-02-12 19:08:49 +01:00
dmmem.h clean up the source code 2020-02-12 19:08:49 +01:00
dmubus.c clean up the source code 2020-02-12 19:08:49 +01:00
dmubus.h Ticket refs#1598: libbbfdm: plug-in based with support for dynamic loading of libraries + separate libbbfdm into two libraries: libbbf_api (API) and libbbfdm (data model) 2020-01-21 22:43:37 +01:00
dmuci.c Fix several segfaults when UCI values are not available 2020-02-19 11:51:27 +01:00
dmuci.h clean up the source code 2020-02-12 19:08:49 +01:00