All of lore.kernel.org
 help / color / mirror / Atom feed
* libselinux Patch to prevent segfault from un-initialized print statement
@ 2007-08-03 20:26 Daniel J Walsh
  2007-08-03 21:12 ` Eamon Walsh
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel J Walsh @ 2007-08-03 20:26 UTC (permalink / raw)
  To: Stephen Smalley, SE Linux

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: diff --]
[-- Type: text/plain, Size: 511 bytes --]

diff --exclude-from=exclude -N -u -r nsalibselinux/src/matchpathcon.c libselinux-2.0.24/src/matchpathcon.c
--- nsalibselinux/src/matchpathcon.c	2007-07-16 14:20:46.000000000 -0400
+++ libselinux-2.0.24/src/matchpathcon.c	2007-07-23 10:21:34.000000000 -0400
@@ -65,7 +65,7 @@
 #ifdef __GNUC__
     __attribute__ ((format(printf, 1, 2)))
 #endif
-    (*myprintf) (const char *fmt,...);
+    (*myprintf) (const char *fmt,...) = &default_printf;
 
 void set_matchpathcon_printf(void (*f) (const char *fmt, ...))
 {

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-06 16:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-03 20:26 libselinux Patch to prevent segfault from un-initialized print statement Daniel J Walsh
2007-08-03 21:12 ` Eamon Walsh
2007-08-06 16:58   ` Daniel J Walsh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.