Bug#523351: Proposed stable upload, fixing segfault on basic package functionality

Gunnar Wolf gwolf at gwolf.org
Sat Apr 11 18:11:32 UTC 2009


Hi,

I am preparing an upload for libnet-rawip-perl, as it segfaults on
quite basic functionality (one of the core API functions) in
Lenny. The patch that actually fixes this problem is:

diff --git a/RawIP.xs b/RawIP.xs
index 6c0ee52..cddc523 100644
--- a/RawIP.xs
+++ b/RawIP.xs
@@ -1454,7 +1454,6 @@ compile(p,fp,str,optimize,netmask)
 CODE:
     fp = (struct bpf_program *)safemalloc(sizeof(struct bpf_program));
     RETVAL = pcap_compile(p,fp,str,optimize,netmask);
-    Safefree(fp);
 OUTPUT: 
     fp
     RETVAL

I am attaching the full package diff between 0.23-2 (current version
in Lenny) and this version; this patch was acknowledged and integrated
upstream in 0.24. I am also performing the upload to 'stable'.

Thanks,

-- 
Gunnar Wolf - gwolf at gwolf.org - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libnet-rawip-perl.patch
Type: text/x-diff
Size: 2350 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20090411/a17acff0/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20090411/a17acff0/attachment.pgp>


More information about the pkg-perl-maintainers mailing list