author | Junio C Hamano <gitster@pobox.com> | |
Sat, 15 Dec 2007 04:34:56 +0000 (20:34 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 15 Dec 2007 04:34:56 +0000 (20:34 -0800) | ||
commit | 896c0535afe2f00683f7d4e8171fad7ec156f16f | |
tree | ea5c7c05370fe04b1ecd9917290ed55eb082ac83 | tree | snapshot |
parent | 1eb1e9eea480059d4fba171e74a4375b8191e3f3 | commit | diff |
remote: Fix bogus make_branch() call in configuration reader.
The configuration reader to enumerate branches that have configuration
data were not careful enough and failed to skip "branch.<variable>"
entries (e.g. branch.autosetupmerge). This resulted in bogus attempt to
allocate huge memory.
Noticed by David Miller.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The configuration reader to enumerate branches that have configuration
data were not careful enough and failed to skip "branch.<variable>"
entries (e.g. branch.autosetupmerge). This resulted in bogus attempt to
allocate huge memory.
Noticed by David Miller.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote.c | diff | blob | history |