Tree
- Tree:
3b57851fb8ee09e5a0a83b9fd7c52ce316ccab0d
- Date:
- Message:
- gitconfig.c: fix read/write out of bounds conf_parse_line advances the `line' pointer without decrementing the line size `sz'. This makes the parsing code mistakingly reading from the next line (`line' is just a pointer in a bigger buffer that holds the whole file) and may mangle it by writing NUL bytes in it. Add also a new regress case to trigger this case. Reported by falsifian on IRC, thanks! ok stsp@
got-build-regress.sh* | commits | blame |
uncompress-loose-object.sh* | commits | blame |