mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 14:17:06 -04:00
ndiscvt uses 16 entry array for words into which it parses
comma-separated lists of strings, like AddReg line in
[somesection]
AddReg = foo.reg, bar.reg, baz.reg, quiz.reg
Overflows were not checked so it crashed on a line with 17 words
encountered in some Broadcom/Dell Wireless 1704 802.11b-g-n driver
So extend the array up to 32 entries and add an overflow check.
Reviewed by: bapt
Approved by: bapt
MFC after: 2 weeks
Differential Revision: D3713
|
||
|---|---|---|
| .. | ||
| inf-parse.y | ||
| inf-token.l | ||
| inf.c | ||
| inf.h | ||
| Makefile | ||
| Makefile.depend | ||
| ndiscvt.8 | ||
| ndiscvt.c | ||
| ndisgen.8 | ||
| ndisgen.sh | ||
| windrv_stub.c | ||