Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed invalid read (heap-buffer-overflow) when parsing an XFF spec vi…
…a JSON. This explicitly checks that p is less than the address of the null terminator, which ensures that the loop terminates before p can point beyond the end of the string. See allinurl#2492 using a JSON format. e.g., --log-format='{ "accessIpList": "~h{, }", "cookie": "%e", "httpHost": "%v", "timestamp": "%dT%t+%^", "method": "%m", "url": "%U", "status": "%s", "httpReferer": "%R", "bodyBytesSent": "%b", "requestTime": "%T", "ua": "%u" }' --date-format='%Y-%m-%d' --time-format=%T
- Loading branch information