mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
126c2c66ba
as recent driver versions are already account for it; this unbreaks the build for 304.xx branch [*] - Simplify patching for stack buffer overflow in nvidia_sysctl_bus_type(): NVidia really screwed up fixing it since it was reported. Originally, they were sprintf(bus_type, "PCI-E")ing to a 4-character buffer allocated on stack (304.88 and earlier); later they've replaced the buffer with a char * pointer, but left one sprintf() into it (304.108 and above, up to 304.121); then finally fixed it for real in 304.123. Given versions are only for 304.xx branch; others retained the same bugs during this time frame. Fix it across the gang by simply extending bus_type[4] (if found) to eight bytes instead of employing complex NVVERSION checks: this should now be no-op for newer versions, but good enough for older ones (e.g. for 173.14.35, 96.xx, and 71.xx) PR: 194866, 194958 [*] |
||
---|---|---|
.. | ||
files | ||
distinfo | ||
Makefile | ||
pkg-descr | ||
pkg-plist |