[PATCH] 415 vlock accepts any passwd when using shadow
rob at landley.net
Sun Dec 18 20:36:51 UTC 2005
On Sunday 18 December 2005 08:23, Tito wrote:
> This fixes bug 415 vlock accepts any passwd when using shadow.
> The bug was due to an incorrect use of sizeof and seems to be there
> from the very first Revision 4961 in svn
Their other use of strncmp is gratuitous and wrong too. (I don't _think_
their intent was to accept -abracadabra as well as just -a, and if they were
doing it for size saving a four byte constant and passing one less argument
on the stack is in fact smaller. The "-a" string going to be null terminated
Applied, svn 12949.
Steve Ballmer: Innovation! Inigo Montoya: You keep using that word.
I do not think it means what you think it means.
More information about the busybox