Browse Source
When preparing a manufactured dirent instance, we add a length of path to the size of struct to decide how many bytes to allocate. Make sure this addition does not wrap-around to cause us underallocate. Suggested-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Junio C Hamano
5 years ago
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue