diff options
author | ajs <ajs> | 2006-07-11 00:06:49 +0000 |
---|---|---|
committer | ajs <ajs> | 2006-07-11 00:06:49 +0000 |
commit | 34ca994eccfb23270320d8fef884d522652c2d32 (patch) | |
tree | f121a687fc533a6c3b1ab4bc8aca03f684a07b4e /zebra/kernel_null.c | |
parent | 7305ce4f25a8608ef0113ba5211c82d71a44fb09 (diff) | |
download | quagga-34ca994eccfb23270320d8fef884d522652c2d32.tar.bz2 quagga-34ca994eccfb23270320d8fef884d522652c2d32.tar.xz |
[lib] Do not call vty_close in vty_log_out to avoid possible free memory access
2006-07-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* vty.c: (vty_log_out) Do not call vty_close, because this could
result in a parent function's accessing the freed memory.
Instead, set status VTY_CLOSE and call shutdown(vty->fd, SHUT_RDWR).
And add a comment on vty_close.
Diffstat (limited to 'zebra/kernel_null.c')
0 files changed, 0 insertions, 0 deletions