strlcat takes the total buffer size, not the remaining space. Passing strlen(cmdline) + l caused it to truncate by one byte when the appended string fit within the buffer. This is also more consistent with the rest of the file. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/23892 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com> |
||
|---|---|---|
| .. | ||
| dts | ||
| files | ||
| image | ||
| ipq50xx | ||
| ipq60xx | ||
| ipq807x | ||
| patches-6.12 | ||
| config-6.12 | ||
| Makefile | ||