Fix a minor last, minute issue that came in after I committed.
Noticed by: nectar
This commit is contained in:
parent
4cf0747073
commit
fda8311189
@ -396,8 +396,8 @@ gethostanswer(answer, anslen, qname, qtype)
|
||||
buflen -= nn;
|
||||
}
|
||||
|
||||
bp += sizeof(align) - ((u_long)bp % sizeof(align));
|
||||
buflen -= sizeof(align) - ((u_long)bp % sizeof(align));
|
||||
bp += sizeof(align) - ((u_long)bp % sizeof(align));
|
||||
|
||||
if (bp + n >= &hostbuf[sizeof hostbuf]) {
|
||||
dprintf("size (%d) too big\n", n);
|
||||
|
Loading…
x
Reference in New Issue
Block a user