Diff options
authorJohn Keeping <john@keeping.me.uk>
committerJohn Keeping <john@keeping.me.uk>
commit
parent
tree
download
ui-tree: remove a fixed size buffer
As libgit.a moves away from using fixed size buffers, there is no guarantee that PATH_MAX is sufficient for all of the paths in a Git tree, so we should use a dynamically sized buffer here. Coverity-Id: 141884 Signed-off-by: John Keeping <john@keeping.me.uk>
-rw-r--r--ui-tree.c15
1 file changed, 9 insertions, 6 deletions