[PATCH 0/3] Fix two buffer overflows and remove a redundant var
- From
Michael Haggerty <mhagger@alum.mit.edu>
- Date
- Dec 17, 2013, 13:43 UTC
- Message-ID
- <1387287838-25779-1-git-send-email-mhagger@alum.mit.edu>
These patches fix three things I found when I was puttering around. The first two patches fix buffer overflows. (They don't seem to be exploitable.)
The third removes a redundant local variable.
The patches apply to master.
Michael Haggerty (3): prune-packed: fix a possible buffer overflow prune_object_dir(): verify that path fits in the temporary buffer cmd_repack(): remove redundant local variable "nr_packs"
builtin/prune-packed.c | 4 ++-- builtin/prune.c | 4 +++- builtin/repack.c | 6 ++---- 3 files changed, 7 insertions(+), 7 deletions(-)
-- 1.8.5.1