mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-01-28 01:47:18 +01:00
Calling this dm_strword with an emtpy 'str' can cause invalid memory
access. This commit checks for an empty string.
NOTE: This function is insecure and can cause segfaults
when 'str' is larger than 'source'
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 | ||