[syslog-ng] Re: leak in spoof_source support

G. C. syslog-ng@lists.balabit.hu
Tue, 10 Aug 2004 12:34:23 +0000


Ok, we tried it and... it works!
Process is running smoothly with 780k stable memory occupation.
Thanks a lot, I want to do some more testing but I'm quite confident the fix 
is working.

Peter.

__________________________________________________
Can you check if this one works for you?

Index: src/afinet.c
===================================================================
RCS file: /var/cvs/syslog-ng/syslog-ng/src/afinet.c,v
retrieving revision 1.25.4.6
diff -u -r1.25.4.6 afinet.c
--- src/afinet.c        5 Aug 2004 11:35:12 -0000       1.25.4.6
+++ src/afinet.c        6 Aug 2004 18:15:32 -0000
@@ -653,6 +653,7 @@
                        if (libnet_write(self->lnet_ctx) < 0) {
                                werror("Error sending raw frame, error: %z", 
libnet_geterror(self->lnet_ctx));
                        }
+                       ol_string_free(msg_line);
                }
                else {
                fallback_socket:



--
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus