]> git.cameronkatri.com Git - cgit.git/commit
parsing.c: be prepared for unexpected content in commit/tag objects
authorLars Hjemli <hjemli@gmail.com>
Sun, 14 Sep 2008 07:45:37 +0000 (09:45 +0200)
committerLars Hjemli <hjemli@gmail.com>
Mon, 15 Sep 2008 20:33:11 +0000 (22:33 +0200)
commita8305a9543969206aa7cec03948c5a19950eedb9
tree8e2cf67ec72bc296b76a4fcb6db5ec8250f0a502
parentb28765135dd6f52635977454eaf95d0e6c7e7271
parsing.c: be prepared for unexpected content in commit/tag objects

When parsing commits and tags cgit made too many assumptions about the
formatting of said objects. This patch tries to make the code be more
prepared to handle 'malformed' objects.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit.h
parsing.c