diff options
author | delphij <delphij@FreeBSD.org> | 2005-02-15 10:23:01 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2005-02-15 10:23:01 +0000 |
commit | 91899c327734c289fe8cf6abad150c3537aefbd6 (patch) | |
tree | 67d80de48a80bdf79f8612e3452abf7c8b9befa2 /lib/libpthread/thread/thr_init.c | |
parent | 136924cea45cc799b4b1febb17cd957209a402dc (diff) | |
download | FreeBSD-src-91899c327734c289fe8cf6abad150c3537aefbd6.zip FreeBSD-src-91899c327734c289fe8cf6abad150c3537aefbd6.tar.gz |
Be more careful when doing el_parse() - only do it when el is
properly initialized, that happens when lpc is called from a tty.
Without this change, it's possible to get SIGSEGV simply doing:
echo "..:" | lpc
Reported by: Wojciech A. Koszek <dunstan at freebsd czest pl>
PR: 77462 (patch rewritten by myself)
MFC After: 1 week
Diffstat (limited to 'lib/libpthread/thread/thr_init.c')
0 files changed, 0 insertions, 0 deletions