Tree
- Tree:
1284f97badf8f5a61d0b2a5c3729985b78654ede
- 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/ |