Skip to content
Snippets Groups Projects
Commit c89fc7a7 authored by John Crispin's avatar John Crispin
Browse files

kernel: Fix environment pointer setup in ar71xx/ath79

Observed on ar71xx/ath79 platforms such as Ubiquiti RouterStations.Reported in #20642.:
(https://dev.openwrt.org/ticket/20642

).

If embedded command-line text exists with CONFIG_IMAGE_CMDLINE_HACK=y,firmware
init doesn't initialize environment pointer (fw_init_cmdline not called).

arcs_cmdline is not initialized before calling strlcat.

Signed-off-by: default avatarTed Hess <thess@kitschensync.net>
Tested-by: default avatarStijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47270
parent 06b032d6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment