--- ./util/header.c.orig 2013-06-25 10:37:11.513269959 +0200 +++ ./util/header.c 2013-06-25 10:37:17.164270090 +0200 @@ -305,7 +305,7 @@ const char *name, bool is_kallsyms, bool is_vdso) { const size_t size = PATH_MAX; - char *realname, *filename = zalloc(size), + char *realname = NULL, *filename = zalloc(size), *linkname = zalloc(size), *targetname; int len, err = -1; bool slash = is_kallsyms || is_vdso;