]> git.proxmox.com Git - libgit2.git/commit - src/posix.h
Fixes to safely reading the index
authorEdward Thomson <ethomson@microsoft.com>
Thu, 8 Aug 2013 16:05:00 +0000 (11:05 -0500)
committerEdward Thomson <ethomson@microsoft.com>
Thu, 8 Aug 2013 17:32:23 +0000 (12:32 -0500)
commit57f31f058c29edfd7d6d810fcd4a964875e9d463
tree382c686e0418eb707ea6d5ce9b7fe02ead03965e
parent5e96f31638fe71a0c76805b1352f437881791d98
Fixes to safely reading the index

Avoid wrapping around extension size when reading, avoid walking off
the end of the buffer when reading names.
src/index.c
src/posix.h
src/win32/mingw-compat.h