[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#623340: marked as done (libunac1: Type error in unac.c causes segfault)



Your message dated Mon, 06 Nov 2017 18:20:48 +0000
with message-id <E1eBm0u-000IWR-1K@fasolo.debian.org>
and subject line Bug#623340: fixed in unac 1.8.0-8
has caused the Debian Bug report #623340,
regarding libunac1: Type error in unac.c causes segfault
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
623340: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623340
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libunac1
Version: 1.8.0-2
Severity: normal
Tags: upstream patch

A function call in unac.c ought to use size_t rather than int. I think
this is the cause of a segfault I've been trying to track down in
flactag.

Patch attached.

Phil

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (700, 'stable'), (600, 'unstable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

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

Versions of packages libunac1 depends on:
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib

libunac1 recommends no packages.

libunac1 suggests no packages.

-- no debconf information
--- unac.c-orig	2011-04-19 13:54:18.659570997 +0100
+++ unac.c	2011-04-19 13:45:46.165065548 +0100
@@ -13873,9 +13873,9 @@
     *out_lengthp = 0;
   } else {
     char* utf16 = 0;
-    int utf16_length = 0;
+    size_t utf16_length = 0;
     char* utf16_unaccented = 0;
-    int utf16_unaccented_length = 0;
+    size_t utf16_unaccented_length = 0;
   
     if(convert(charset, utf16be(), in, in_length, &utf16, &utf16_length) < 0) {
       return -1;

--- End Message ---
--- Begin Message ---
Source: unac
Source-Version: 1.8.0-8

We believe that the bug you reported is fixed in the latest version of
unac, which is due to be installed in the Debian FTP archive.

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 623340@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated unac 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 06 Nov 2017 18:40:14 +0100
Source: unac
Binary: libunac1 libunac1-dev unaccent
Architecture: source
Version: 1.8.0-8
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description:
 libunac1   - unac programming library - runtime version
 libunac1-dev - C programmer's library that removes accents from a string
 unaccent   - Replace accented letters by their unaccented equivalent
Closes: 531965 623340
Changes:
 unac (1.8.0-8) unstable; urgency=medium
 .
   * QA upload.
   * Fix some segfaults. Closes: #623340.
   * Build using dh-autoreconf. Closes: #531965.
   * Stop building with cdbs.
Checksums-Sha1:
 6c866729215df26036b09b43cd432dd944a34fa7 1777 unac_1.8.0-8.dsc
 f1997e87dd88cb60d8a15dae4b36255859caffab 8056 unac_1.8.0-8.debian.tar.xz
 6c9016bf5e39b5d344218750c4dc1152348a05e8 5138 unac_1.8.0-8_source.buildinfo
Checksums-Sha256:
 621df84f586b18a3d423f1be4480f0fb7eb7510d1ceabd7122ca86ffe9abfa54 1777 unac_1.8.0-8.dsc
 c9eeb56bc9fe2953044e0c6bf2a26c6df93a09d8afadd789fc4884417edb2f03 8056 unac_1.8.0-8.debian.tar.xz
 a03addb178dcc8e165a2cb59a5c645ed34fd42c299514e5981cb9ed5a5fe0afc 5138 unac_1.8.0-8_source.buildinfo
Files:
 0fd56f81c8bfac3bf69455caeff4c18e 1777 devel optional unac_1.8.0-8.dsc
 03ca097b413f81a6a841e5195644a832 8056 devel optional unac_1.8.0-8.debian.tar.xz
 91ade1dbe8be0d181a86aee6630f6c9b 5138 devel optional unac_1.8.0-8_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQItBAEBCAAXBQJaAKRsEBxkb2tvQGRlYmlhbi5vcmcACgkQvX6qYHePpvWSZhAA
qjbHzsUiMl6pEhVkCP6szzFbIKROWsBOf3kXDeDiQ3j6Xkw9wyOBczvyqRXc3/Ms
Al0hKiKvCS7t8M8ar1HHowuZ8UFqmMhSYW20em7vBImK8xn5ZY6OdrmFyJtWXyVp
peyU+Lu5CZOuznSONiu9CPeQwy5BHMiqxayoY3pSpmRhHkmoXmgFtEiU0KJYNhIM
MebF0dMH9Y7pqcgQ7VIDAPrSCITo1TLn8Zi801xRl9tpKI8a24QjH6XRBpXYIawE
WTPFd31RuR9DW5Yggr07yPrJYSsDSCNzkLqz/UH4xOSkAucEXh2YtqnZDCcViKGG
q/TfgOf15wFW9EW8AwkvrQOgIj5cNLr74KGOwwsFNhTimVTuFpUtB2NPdpohrCR/
4m/vf+OWa18YV4OX+I2/OjO5Zp0gPzcMwAg35jfHtuXYw0s+4yq0zhXJ04CbTvAc
xBxJ4+PE1Q584+fKeeJ70pCpDvbxXFD4L4OYJvVlvJ33hw7TsMFmATviVOXlnJY8
8ZQr+16wZtnpGW9HexRMWOGWT6HVbp05vfrmbs4watfbyFQ1qSsAgghvL3vDQvBy
s6r9SVyPrwZI0HYs1r0YBAcX2Px1xkvP0J3QBE9ILax1286w9xPZy7sKVMeKEeOx
f+wow9WzrAaE6fDZQ/YzBDvL0sdC5p0Y7cIRZ6l3V3U=
=p81w
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: