forked from mirror/openwrt
The ATB DTB mangle code will enter an infinite loop if it encounters a
word in the command line that contains an r in the middle of the word.
Fix this by increasing ptr everytime before invoking strchr, ot avoid
finding the same r again.
This fixes booting at least on Netgear R7500v1, which contains
"ubi.mtd=rootfs" in its commandline, triggering the misbehaviour.
Fixes:
|
||
|---|---|---|
| .. | ||
| base-files | ||
| files/arch/arm/boot/dts | ||
| image | ||
| patches-4.4 | ||
| profiles | ||
| config-4.4 | ||
| Makefile | ||
| modules.mk | ||