Bug#598213: libnet-dhcp-perl: memory leak in marshall()

Dean Hamstead dean at fragfest.com.au
Mon Sep 27 13:53:06 UTC 2010


Package: libnet-dhcp-perl
Version: 0.66-1
Severity: important
Tags: patch

the marshall() function can be used to decode more dhcp packets without
creating a new object for each one.

unforunately it doesnt clear the __PACKAGE__->{options} and
__PACKAGE__->{options_order} variables. so as more packets are decodes, these
variables accumulate more values (via the addOptionRaw() function)

i have created a CPAN bug for this also at
https://rt.cpan.org/Ticket/Display.html?id=61693 which includes a patch



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libnet-dhcp-perl depends on:
ii  perl                          5.10.1-14  Larry Wall's Practical Extraction 

libnet-dhcp-perl recommends no packages.

libnet-dhcp-perl suggests no packages.

-- no debconf information





More information about the pkg-perl-maintainers mailing list