Your message dated Mon, 07 Jan 2008 11:02:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#426355: fixed in libonig 5.9.1-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: libonig-dev
Version: 5.2.0-1
Severity: grave
The following (see below) simple C program produces a SEGV in
onig_new. To see this, compile the code using, e.g.,
gcc bug.c -lonig
and then run it:
./a.out
On my debian etch system, I see:
Segmentation fault (core dumped)
I set the severity level to grave because this bug makes the library
unusable to me.
Valgrind shows where the error occurs:
==1902== Invalid read of size 4
==1902== at 0x43F0025: (within /usr/lib/libonig.so.2.0.0)
==1902== by 0x4402089: onigenc_unicode_apply_all_case_fold (in
/usr/lib/libonig.so.2.0.0)
==1902== by 0x43F09AD: (within /usr/lib/libonig.so.2.0.0)
==1902== by 0x43F1A1D: (within /usr/lib/libonig.so.2.0.0)
==1902== by 0x43F1B18: (within /usr/lib/libonig.so.2.0.0)
==1902== by 0x43F171E: (within /usr/lib/libonig.so.2.0.0)
==1902== by 0x43F1A1D: (within /usr/lib/libonig.so.2.0.0)
==1902== by 0x43F1B18: (within /usr/lib/libonig.so.2.0.0)
==1902== by 0x43F1CEE: onig_parse_make_tree (in /usr/lib/libonig.so.2.0.0)
==1902== by 0x43F8921: onig_compile (in /usr/lib/libonig.so.2.0.0)
Here is the code to bug.c:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <oniguruma.h>
int main (int argc, char **argv)
{
const UChar *pattern;
OnigErrorInfo err_info;
int status;
regex_t *re;
int i;
for (i = 0; i < 2; i++)
{
pattern = (UChar *) "(?i)[a-z][a-z]+";
status = onig_new (&re, pattern, pattern + strlen ((char *)pattern),
ONIG_OPTION_NONE, ONIG_ENCODING_UTF8,
ONIG_SYNTAX_PERL, &err_info);
onig_free (re);
if (status != ONIG_NORMAL)
{
fprintf (stderr, "onig_new failed\n");
return 1;
}
}
return 0;
}
Thanks,
--John
--- End Message ---
--- Begin Message ---
Source: libonig
Source-Version: 5.9.1-1
We believe that the bug you reported is fixed in the latest version of
libonig, which is due to be installed in the Debian FTP archive:
libonig-dev_5.9.1-1_i386.deb
to pool/main/libo/libonig/libonig-dev_5.9.1-1_i386.deb
libonig2-dbg_5.9.1-1_i386.deb
to pool/main/libo/libonig/libonig2-dbg_5.9.1-1_i386.deb
libonig2_5.9.1-1_i386.deb
to pool/main/libo/libonig/libonig2_5.9.1-1_i386.deb
libonig_5.9.1-1.diff.gz
to pool/main/libo/libonig/libonig_5.9.1-1.diff.gz
libonig_5.9.1-1.dsc
to pool/main/libo/libonig/libonig_5.9.1-1.dsc
libonig_5.9.1.orig.tar.gz
to pool/main/libo/libonig/libonig_5.9.1.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alexander Wirt <[EMAIL PROTECTED]> (supplier of updated libonig package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Mon, 07 Jan 2008 11:46:27 +0100
Source: libonig
Binary: libonig-dev libonig2 libonig2-dbg
Architecture: source i386
Version: 5.9.1-1
Distribution: unstable
Urgency: low
Maintainer: Max Kellermann <[EMAIL PROTECTED]>
Changed-By: Alexander Wirt <[EMAIL PROTECTED]>
Description:
libonig-dev - Development files for libonig2
libonig2 - Oniguruma regular expressions library
libonig2-dbg - Debugging symbols for libonig2
Closes: 426355
Changes:
libonig (5.9.1-1) unstable; urgency=low
.
[ Max Kellermann ]
* new upstream release
* acknowledge NMU, thanks Laurent (closes: #426355)
* run test suite after build
* added watch file
* bumped Standards-Version to 3.7.3
* added homepage header to debian/control
* priority "extra"
Files:
e81ba5744efbc64905da0ae7b369a834 700 libs extra libonig_5.9.1-1.dsc
5ce5f9bba5e83f0ea6ec24e1ac77091c 586578 libs extra libonig_5.9.1.orig.tar.gz
dd946bf292f734dfd3fd1c8465fb36ad 3569 libs extra libonig_5.9.1-1.diff.gz
029a803f1993b0af6e380efe2510fbc3 133930 libs extra libonig2_5.9.1-1_i386.deb
70ea9499a3dbc96549f99996175302ea 146968 libdevel extra
libonig2-dbg_5.9.1-1_i386.deb
56c76d76fc8f993c67c17a813dc3b438 184732 libdevel extra
libonig-dev_5.9.1-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHggNG01u8mbx9AgoRAjTcAKCSGIpF7J8U2A7M1JvthsV1umHsAgCeNxGU
Nd/eIsRgUP2sdcGwKChZiBA=
=5qVS
-----END PGP SIGNATURE-----
--- End Message ---