diff options
| author | John Keeping <john@keeping.me.uk> | 2016-08-13 11:54:46 +0100 |
|---|---|---|
| committer | John Keeping <john@keeping.me.uk> | 2016-10-01 11:46:55 +0100 |
| commit | e18a85b6a298feef88da8085ef16fd20ce971071 (patch) | |
| tree | 617a64efc192421222549ffe7ae522f5959c9ec5 | |
| parent | ui-tag: clean up taginfo (diff) | |
| download | cgit-magenta-e18a85b6a298feef88da8085ef16fd20ce971071.tar.xz | |
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.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/ui-tree.c b/ui-tree.c |
