summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill@shutemov.name>2011-07-12 20:29:12 +0300
committerVicent Marti <tanoku@gmail.com>2011-07-13 02:03:34 +0200
commitb16692faa3c39f8342f40ad14c70480b9126614b (patch)
tree132d634a1b2f3c46ed6ccee62d9de7bb53faa93b /src/commit.c
parentae9f771c995e2e8d8116e120636bec2aea09889a (diff)
downloadlibgit2-b16692faa3c39f8342f40ad14c70480b9126614b.tar.gz
index: fix potential overflow
mode field of git_index_entry_unmerged is array of unsigned ints. It's unsafe to cast pointer to an element of the array to long int *. It may cause overflow in git_strtol32(). Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions