libselinux/libselinux-rhat.patch
2004-12-27 11:53:31 +00:00

11 lines
381 B
Diff

--- libselinux-1.19.3/utils/avcstat.c.rhat 2004-12-03 14:40:34.000000000 -0500
+++ libselinux-1.19.3/utils/avcstat.c 2004-12-27 06:48:49.000000000 -0500
@@ -166,6 +166,7 @@
"hits", "misses", "allocs", "reclaims", "frees");
memset(&tot, 0, sizeof(tot));
+ memset(&last, 0, sizeof(last));
while ((line = strtok(NULL, "\n"))) {
struct avc_cache_stats tmp;