diff options
| author | Kirill A. Shutemov <kirill@shutemov.name> | 2011-07-12 20:29:12 +0300 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-07-13 02:03:34 +0200 |
| commit | b16692faa3c39f8342f40ad14c70480b9126614b (patch) | |
| tree | 132d634a1b2f3c46ed6ccee62d9de7bb53faa93b /src/tree.c | |
| parent | ae9f771c995e2e8d8116e120636bec2aea09889a (diff) | |
| download | libgit2-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/tree.c')
0 files changed, 0 insertions, 0 deletions
