Skip to content
Commit 7d65cf10 authored by Al Viro's avatar Al Viro
Browse files

unfuck binfmt_misc.c (broken by commit e6084d4a)



scanarg(s, del) never returns s; the empty field results in s + 1.
Restore the correct checks, and move NUL-termination into scanarg(),
while we are at it.

Incidentally, mixing "coding style cleanups" (for small values of cleanup)
with functional changes is a Bad Idea(tm)...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 50062175
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment