| From | Subject | Date |
|---|---|---|
| Reyk Floeter | Re: [patch] dhclient and dhcpd option handling
hi!
unfortunately this fix contains a failure, because you cannot do
sizeof(priority_list) here - it will return the size of the pointer.
you cannot actually know the size of the complete array here and it is
the uglyness of the dhcpd code itself that it is using a hardcoded
size "256" everywhere instead of a) passing passing the output buffer
size as well or b) using at least a human-readable define like
"#define DHCP_OPTIONS 256".
the attached diff would clear the buffer before calling ...
| Aug 9, 3:15 pm 2020 |
| previous day | today | next day |
|---|---|---|
| January 4, 2011 | August 9, 2020 | None |
