ports/77121: fixed serious bug in AxKit::CharsetConv class. Updated to AxKit 1.6.2 version.
Alexey A.Ukhov
a.ukhov at gmail.com
Sat Feb 5 07:20:21 UTC 2005
>Number: 77121
>Category: ports
>Synopsis: fixed serious bug in AxKit::CharsetConv class. Updated to AxKit 1.6.2 version.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Feb 05 07:20:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Alexey A. Ukhov
>Release: FreeBSD 5.3-RELEASE-p5 i386
>Organization:
startext Unternehmensberatung GmbH
>Environment:
System: FreeBSD sml.tomsk.ru 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #1: Sun Jan 16 20:27:10 NOVT 2005 ukhov at sml.tomsk.ru:/usr/obj/usr/src/sys/Gateway i386
>Description:
Fixed critical bug in AxKit::CharsetConv class.
We had crash of Apache child and multiple errors in log file like
httpd in free(): error: pointer to wrong page
httpd in free(): error: pointer to wrong page
httpd in free(): error: pointer to wrong page
Updated to AxKit 1.6.2 version.
>How-To-Repeat:
Just use Apache::AxKit::CharsetConv class
{
my $encoding = <param:encoding />;
my $iconv = Apache::AxKit::CharsetConv->new($encoding,"UTF-8");
$query = $iconv->convert($query);
}
On exit from local scope you will have apache child crash and zero length request in browser.
>Fix:
In file CharsetConv.xs, line 197 changed
free(self);
to
Safefree(self);
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list