mirror of
https://github.com/git/git.git
synced 2026-03-04 14:37:35 +01:00
path: use the right datatype
The strlen() function returns a size_t Storing this in a standard signed int is a bad practice that invites overflow vulnerabilities if paths get absurdly long. Signed-off-by: K Jayatheerth <jayatheerthkulkarni2005@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
21a5f4ec11
commit
68c14c2a03
Reference in New Issue
Block a user