LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 006-uninitialized-pid.patch of Package proxsmtp (Project home:bastianfriedrich)

--- proxsmtp-1.10.ori/src/proxsmtpd.c	2011-10-21 15:21:28.000000000 +0200
+++ proxsmtp-1.10/src/proxsmtpd.c	2013-03-23 21:10:11.904880507 +0100
@@ -364,7 +364,7 @@
 
 static pid_t fork_filter(spctx_t* sp, int* infd, int* outfd, int* errfd)
 {
-    pid_t pid;
+    pid_t pid = 0;
     int ret = 0;
     int r = 0;