Your message dated Sun, 22 Nov 2015 09:50:45 +0000
with message-id <[email protected]>
and subject line Bug#805703: fixed in libthai 0.1.24-1
has caused the Debian Bug report #805703,
regarding libthai0: th_wbrk goes into an infinite loop
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 [email protected]
immediately.)


-- 
805703: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805703
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libthai0
Version: 0.1.23-1

The following program runs to completion (and appears to produce correct
output, to the extent I can tell, not speaking Thai myself) with libthai
0.1.21, but after upgrading to 0.1.23 it goes into an infinite loop
inside th_wbrk.

#include <thai/thwchar.h>
#include <thai/thwbrk.h>
#include <stdio.h>
#include <stdlib.h>
#include <wchar.h>
#include <locale.h>

/* expected output:           เพื่อ ให้ เหมาะสม กับ วิถีทาง ประเพณี ทาง ศาสนา 
พุทธ */
static const thwchar_t *x = L"เพื่อให้เหมาะสมกับวิถีทางประเพณีทางศาสนาพุทธ";

int main(void)
{
  int n, s, i, len, *breaks;

  setlocale(LC_ALL, "");
  len = wcslen(x);
  breaks = calloc(len, sizeof(int));
  if (!breaks) return 1;

  n = th_wbrk(x, breaks, len);
  for (s = 0, i = 0; i < n; i++) {
    wprintf(L" %.*ls", breaks[i] - s, x + s);
    s = breaks[i];
  }
  wprintf(L" %.*ls\n", len - s, x + s);
  return 0;
}

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (501, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libthai0 depends on:
ii  libc6         2.19-22
ii  libdatrie1    0.2.10-1
ii  libthai-data  0.1.23-1

libthai0 recommends no packages.

libthai0 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: libthai
Source-Version: 0.1.24-1

We believe that the bug you reported is fixed in the latest version of
libthai, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Theppitak Karoonboonyanan <[email protected]> (supplier of updated libthai 
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.8
Date: Sun, 22 Nov 2015 16:34:32 +0700
Source: libthai
Binary: libthai-dev libthai0 libthai-data libthai-doc libthai0-udeb 
libthai-data-udeb
Architecture: source all
Version: 0.1.24-1
Distribution: unstable
Urgency: high
Maintainer: Theppitak Karoonboonyanan <[email protected]>
Changed-By: Theppitak Karoonboonyanan <[email protected]>
Description:
 libthai-data - Data files for Thai language support library
 libthai-data-udeb - Data files for libthai for D-I use (udeb)
 libthai-dev - Development files for Thai language support library
 libthai-doc - Documentation files for Thai language support library
 libthai0   - Thai language support library
 libthai0-udeb - Thai language support library for D-I use (udeb)
Closes: 805703
Changes:
 libthai (0.1.24-1) unstable; urgency=high
 .
   * Imported Upstream version 0.1.24
     - Fix infinite loop introduced in previous version.
       Thanks Zack Weinberg for the report. (Closes: #805703)
Checksums-Sha1:
 d43048ba988923914986231e11b498890fe9dc58 2338 libthai_0.1.24-1.dsc
 c0fbd9ddffffe8512e01fc3cdd5dc204815634cd 394672 libthai_0.1.24.orig.tar.xz
 c6b13b0382af5033e96d72894689f9c0fc16b7ad 10552 libthai_0.1.24-1.debian.tar.xz
 61cfb88900e67b1136fed36b11915800a0b4dcc6 128778 
libthai-data-udeb_0.1.24-1_all.udeb
 2e4e4837de7598b2b6e0b627e0df52213edf8750 163142 libthai-data_0.1.24-1_all.deb
 bbba43afb9ee66d88a51658a9c6422fac979c49a 121088 libthai-doc_0.1.24-1_all.deb
Checksums-Sha256:
 7a5c94c57303185a07f5f38a79cda6891cf6f5a350d3998064009fd6340de1d8 2338 
libthai_0.1.24-1.dsc
 a2dd95f79084a27ac077cc206e66e30ee193b70738676ed39792acc9a1c2af0d 394672 
libthai_0.1.24.orig.tar.xz
 110987b238e135f59b38e76aee287a5205a4d619fad08c902c916045176c6e42 10552 
libthai_0.1.24-1.debian.tar.xz
 21828580c12bbd2d45c91d1cddfac81d0e510bbd18070c46086cf7b65a69572d 128778 
libthai-data-udeb_0.1.24-1_all.udeb
 88c8dae1c30c093547a98d6cfe7dec40a8bdc102624c2367fba206fa40f0276f 163142 
libthai-data_0.1.24-1_all.deb
 a4167885cc2fac5f14dccaee29101d18a621987f9d28185d3f06bb1a593af210 121088 
libthai-doc_0.1.24-1_all.deb
Files:
 6ce3038e1b06b832e18f6e4d5e9e7400 2338 libs optional libthai_0.1.24-1.dsc
 e4f676b657e75d075c6cba9a231fd7b0 394672 libs optional 
libthai_0.1.24.orig.tar.xz
 6012d2a3aa49100df1ca522664fa0c65 10552 libs optional 
libthai_0.1.24-1.debian.tar.xz
 bf6a516bcee104be117e08e154230453 128778 debian-installer optional 
libthai-data-udeb_0.1.24-1_all.udeb
 db8df0fc0bfaf4e8e5db01ae68acd48c 163142 libs optional 
libthai-data_0.1.24-1_all.deb
 011ff1ab73fa1fdeecae23b013d973e7 121088 doc optional 
libthai-doc_0.1.24-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJWUY4GAAoJEKLrrtG2+QJBWHwP/ikVJ7LyFQLCayifrbHyjV9L
lD0Iamv428VZT866aqi0FPj9BsBexF6XOdMAZ7o7DWlpIq3ZuhiOsra8zzsgAceI
L72aF9JtOa0cXiSO1/t933hyg164G3J9zKpQdlVgpfeAcrIo1XhZRTGMvmdum84F
YZYpOCpomAF++2eeSaD9FYb9RUXA/l7Joj81DAGP8c4uqzueQPiGvFUghXx+hFNM
aXmuSLkmTFTaoG6630f0BbkxvZUrxT5fAGcUKaEC36jUEoj06cdUUJDAcoxnpfMJ
ayMRZf6iCQDVcGB7ZNcsfYULNkKG+UFCXj0xOU25+NoUccLJou+rFRN/q0L2H82a
ZbIoSpy2td31GZD+Ph8duZbQkc3wEKdx38OqTfOu6fPQG6693kYn5I2at8KXJOAp
MaZvcB1oGz9u4qYF2XOImxHZ2fjoGSk2/KcbT+idtTFXLrfRXyxyExO/aRPzu225
pgKYknWtMVVXdPbzq8Olw/GJ+ezDpdrbAj++c+tcPoECR3ACkOTMWU10RoxZGs4Z
oosg8OGisps+ZaRXvJVKA/kfOD1Kt0m0HBDICVAy8WpSCOpjF+gp0DXS2FjMxQJG
730NXXaWdHsGp59LqeFECutzi0am3ZHoAb/Eoqyd6jlZ4gU2ONzy2644+AEwm7SR
jpAj22rvZxzBUUfahM8h
=DeOY
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to