Actions
Bug #3238
closedType error in sendfile configure probe
ASK QUESTIONS IN Forums:
No
Description
The Linux sendfile
function expects an off_t *
argument, not an int *
argument. The patch avoids a stack out-of-bounds write in this run-time test, and a compiler error with future compilers such as GCC 14.
An alternative fix could pass 0
for the parameter.
Files
Updated by gstrauss about 1 year ago
- Category set to core
- Status changed from New to Patch Pending
- Target version changed from 1.4.xx to 1.4.74
Thanks. Yes, you are correct. The lighttpd code in src/network_write.c
uses off_t
with sendfile()
Updated by gstrauss about 1 year ago
- Category changed from core to build_autotools
Updated by gstrauss about 1 year ago
- Status changed from Patch Pending to Fixed
Applied in changeset bbe80c3053ddf55a330a8fd5d47c60e40f1a7cb3.
Actions
Also available in: Atom