+2
−2
+49
−18
+2
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
romfs_lookup() should be using a routine akin to strcmp() on the backing store, rather than one akin to strncmp(). If it uses the latter, it's liable to match /bin/shutdown when looking up /bin/sh. Signed-off-by:David Howells <dhowells@redhat.com> Tested-by:
Michal Simek <monstr@monstr.eu> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>