FreeBSD Bugzilla – Attachment 224142 Details for
Bug 255098
dhclient dns-label compression bug
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix a decompression bug long since fixed upstream
options.c.diff (text/plain), 705 bytes, created by
paul vixie
on 2021-04-15 19:11:53 UTC
(
hide
)
Description:
patch to fix a decompression bug long since fixed upstream
Filename:
MIME Type:
Creator:
paul vixie
Created:
2021-04-15 19:11:53 UTC
Size:
705 bytes
patch
obsolete
>--- /usr/src/sbin/dhclient/options.c 2021-03-27 02:04:09.534066000 +0000 >+++ /home/vixie/options.c 2021-04-15 19:02:05.089765000 +0000 >@@ -275,7 +275,7 @@ > */ > *offset = i + 1; > return (domain_name_len); >- } else if (label_len & 0xC0) { >+ } else if ((label_len & 0xC0) == 0xC0) { > /* This is a pointer to another list of labels. */ > if (i + 1 >= option->len) { > /* The pointer is truncated. */ >@@ -352,7 +352,7 @@ > *offset = i + 1; > *domain_search = cursor; > return; >- } else if (label_len & 0xC0) { >+ } else if ((label_len & 0xC0) == 0xC0) { > /* This is a pointer to another list of labels. */ > pointer = ((label_len & ~(0xC0)) << 8) + > option->data[i + 1];
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 255098
: 224142