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@
Makefile | commits | blame |
Makefile.inc | commits | blame |
cmdline/ | |
delta/ | |
deltify/ | |
fetch/ | |
gotd/ | |
idset/ | |
path/ | |
template/ |