Name |
Last commit
|
Last update |
---|---|---|
.. | ||
parse.c | ||
patch_common.h | ||
print.c |
When parsing patch headers, we currently accept empty path names just fine, e.g. a line "--- \n" would be parsed as the empty filename. This is not a valid patch format and may cause `NULL` pointer accesses at a later place as `git_buf_detach` will return `NULL` in that case. Reject such patches as malformed with a nice error message.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
parse.c | Loading commit data... | |
patch_common.h | Loading commit data... | |
print.c | Loading commit data... |