SQLite Forum

Null pointer dereference in althttpd.c
Login

Null pointer dereference in althttpd.c

(1) By anonymous on 2020-11-15 00:51:49 [source]

While using althttpd one of the gcc sanitizer options found a null pointer dereference: In CgiHandleReply when there is absolutely no output from the CGI script, althttpd will store 0 to aRes[nRes] at the end of the function but aRes was never allocated.

(2) By anonymous on 2020-11-15 20:41:20 in reply to 1 [link] [source]

If you didn't see, drh patched it:

https://www.sqlite.org/docsrc/info/c1e08a3709f06f35