Johan Herland <johan@xxxxxxxxxxx> writes: > Thanks to Johannes Schindelin <Johannes.Schindelin@xxxxxx> for > discovering this. > > Also add a testcase for this condition. > > Signed-off-by: Johan Herland <johan@xxxxxxxxxxx> While this certainly is an improvement, I suspect that your parse_tag() does a little too much. In a format such as "tag" object that does header + blank + body, it is customary to allow header fields that your version does not understand (assuming that such extention will go after the known fields is fine). Which means that you should not be even saying "Ok, I've checked all headers I know about---there should be a double LF to terminate it", as you do not know if headers have ended. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html