Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269093
b: refs/heads/master
c: 6c3c5b2
h: refs/heads/master
i:
  269091: 5e865dd
v: v3
  • Loading branch information
Thomas Jarosch authored and Arnaldo Carvalho de Melo committed Oct 14, 2011
1 parent f1ab11e commit c082960
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0361fc25d509be09464dd23c274bd175cc933cc8
refs/heads/master: 6c3c5b26d08569ed80e10d3e02d3c997ed1e6e7c
2 changes: 1 addition & 1 deletion trunk/tools/perf/util/header.c
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ int build_id_cache__remove_s(const char *sbuild_id, const char *debugdir)
if (access(linkname, F_OK))
goto out_free;

if (readlink(linkname, filename, size) < 0)
if (readlink(linkname, filename, size - 1) < 0)
goto out_free;

if (unlink(linkname))
Expand Down

0 comments on commit c082960

Please sign in to comment.