Discussion:
[Mason-devel] Bug#491483: libhtml-mason-perl: [patch] segfaults when alter_superclass method is used
Charles Fry
2008-07-25 02:56:17 UTC
Permalink
Can someone from the Mason community please comment on this bug? I'm
glad to apply the proposed patch in Debian if it will be going into
upstream. Is this fix the right thing to do?

thanks,
Charles
Package: libhtml-mason-perl
Version: 1:1.36-2.1
Severity: normal
Tags: patch
If you subclass the Mason Request object and attempt to use the
"alter_superclass" method, as described in the documentation
http://www.masonhq.com/docs/manual/Subclassing.html#what_to_subclass
the wrong way. Patch from Jesse Vincent
http://marc.info/?l=mason-devel&m=121236173002678&w=2
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.25-2-vserver-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
ii libcache-cache-perl 1.05-2 Managed caches of persistent infor
ii libclass-container-perl 0.12-2 Glues object frameworks together t
ii libexception-class-perl 1.24-1 a module that allows you to declar
ii libhtml-parser-perl 3.56-1+b1 A collection of modules that parse
ii libparams-validate-perl 0.91-2 validate parameters to Perl method
ii perl 5.10.0-11.1 Larry Wall's Practical Extraction
ii perl-base [libscalar-list-ut 5.10.0-11.1 The Pathologically Eclectic Rubbis
ii libapache2-mod-perl2 2.0.4-1 Integration of perl with the Apach
-- no debconf information
Dave Rolsky
2008-07-25 03:23:37 UTC
Permalink
Post by Charles Fry
Can someone from the Mason community please comment on this bug? I'm
glad to apply the proposed patch in Debian if it will be going into
upstream. Is this fix the right thing to do?
I'll take a look at this over the next few weeks. If you want to make a
quick release, feel free to apply the patch. I may come up with a slightly
different variation on the code, but the essential idea is correct.


-dave

/*==========================
VegGuide.Org
Your guide to all that's veg
==========================*/
Dave Rolsky
2008-07-25 05:28:56 UTC
Permalink
Post by Dave Rolsky
Post by Charles Fry
Can someone from the Mason community please comment on this bug? I'm
glad to apply the proposed patch in Debian if it will be going into
upstream. Is this fix the right thing to do?
I'll take a look at this over the next few weeks.
Unfortunately, we freeze in about 5 days. :(
Well, I have free time, and I'm really jetlagged, so what better time for
a release? Look for 1.40 shortly. It'll have a fix very close to Jesse's
(just with different var names).


-dave

/*==========================
VegGuide.Org
Your guide to all that's veg
==========================*/

Loading...