mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-26 09:16:37 +00:00
The regcomp function returns a non-zero value if compilation of a regular expression fails. In most places we only check for negative values, but positive values indicate an error, as well. Fix this tree-wide, fixing a segmentation fault when calling git_config_iterator_glob_new with an invalid regexp. |
||
|---|---|---|
| .. | ||
| add.c | ||
| backend.c | ||
| config_helpers.c | ||
| config_helpers.h | ||
| configlevel.c | ||
| global.c | ||
| include.c | ||
| multivar.c | ||
| new.c | ||
| read.c | ||
| rename.c | ||
| snapshot.c | ||
| stress.c | ||
| validkeyname.c | ||
| write.c | ||