diff options
author | itojun <> | 2002-06-26 06:00:54 +0000 |
---|---|---|
committer | itojun <> | 2002-06-26 06:00:54 +0000 |
commit | 2de6ddb6a22feedbcbc44271ca3841ddc526981b (patch) | |
tree | 524bd879d83e4a3a441b496c0122e8a2d30eee92 /src/lib/libc/net/res_query.c | |
parent | 403c6466072dcd35f27270cbae14d8ba3baa7a03 (diff) | |
download | openbsd-2de6ddb6a22feedbcbc44271ca3841ddc526981b.tar.gz openbsd-2de6ddb6a22feedbcbc44271ca3841ddc526981b.tar.bz2 openbsd-2de6ddb6a22feedbcbc44271ca3841ddc526981b.zip |
avoid remote buffer overrun on hostbuf[]. From: Joost Pol <joost@pine.nl>
correct bad practice in the code - it uses two changing variables
to manage buffer (buf and buflen). we eliminate buflen and use
fixed point (ep) as the ending pointer.
this fix is critical.
Diffstat (limited to 'src/lib/libc/net/res_query.c')
0 files changed, 0 insertions, 0 deletions