diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-02-04 10:48:37 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-02-04 10:48:37 +0000 |
commit | 4575bbf7b846d9dfd6ff50bb4bc1f6f4ac31f3c0 (patch) | |
tree | 2341b9ef23d649087b3a48b35ba3cdd66087bea5 /libpwdgrp/grent.c | |
parent | 5b0d7deb751d1fb96fb14e30248f888c34f4dec2 (diff) | |
download | busybox-4575bbf7b846d9dfd6ff50bb4bc1f6f4ac31f3c0.tar.gz |
The variable 'complementaly' used to be allocated with calloc, which zeroed it
out during the allocation process. When vodz changed it to be allocated on the
stack, he forgot to explicitly zero it, leaving its value filled with whatever
used to be sitting on the stack. It would garbage values, depending on the
garbage that happened to be sitting on the stack when the function was called.
The result was that applets using bb_getopt_ulflags() were showing
unpredictable behavior (such as segfaults), which naturally broke many things.
Diffstat (limited to 'libpwdgrp/grent.c')
0 files changed, 0 insertions, 0 deletions