diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-06-06 18:28:10 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-06-06 18:28:10 +0000 |
commit | d9cb7c2f2f280a4ae169e07bc70612fef8ada300 (patch) | |
tree | 05e0031c3387c1d32c72539f22e476bb74caece7 /bin/ksh/var.c | |
parent | 6b79b60efb12868c2d683e7f28e12ff86ad85ed2 (diff) |
In case of memory exhaustion, ypmatch_add may both leak memory and leave
invalid data on the list, inviting later NULL pointer access.
noticed by deraadt@, algorithm proposed by millert, implemented by me;
feedback and ok millert@
Diffstat (limited to 'bin/ksh/var.c')
0 files changed, 0 insertions, 0 deletions