mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-02-02 04:03:08 +01:00
- avoid uneccessary memory allocations
- move {read,write}FileContent functions to usb source file where they are used exclusively and make them static
- fix bad logic in readFileContent
- move redundant code to static functions
- fix get_USBUSBHostsHostDevice_MaxChildren never returning any value
- fix no interface instances being created
- make some functions that are not exported static
- fix segfault on get_USBInterface_Enable when the interface is down
- fix segfault on get_USBInterface_Status when the interface is down.
- fix segfault on missing format character in get_USBInterface_LowerLayers.
- fix segfault and double frees on recrusive browseUSBUSBHostsHostInst() calls.
- reduce overall memory usage
- use const on read-only values
- fix invalid comparision on strstr return value
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
|
||
|---|---|---|
| .. | ||
| dmbbf.c | ||
| dmbbf.h | ||
| dmcommon.c | ||
| dmcommon.h | ||
| dmjson.c | ||
| dmjson.h | ||
| dmmem.c | ||
| dmmem.h | ||
| dmubus.c | ||
| dmubus.h | ||
| dmuci.c | ||
| dmuci.h | ||