Repository navigation
pr-git-2514/kairosci/topic/tree-walk-pathlen-v1
tagged this
01 Dec 18:49
From: Alessio Attilio <attilio.alessio@protonmail.com> The tree buffer uses size_t, but decoded entry lengths were still stored in unsigned int and int. A large path could therefore be truncated before tree walkers reached it. Keep the decoded length as size_t so walkers can reject oversized index paths correctly. Signed-off-by: Alessio Attilio <attilio.alessio@protonmail.com> Submitted-As: https://lore.kernel.org/git/pull.2514.git.git.1796150994354.gitgitgadget@gmail.com