Your message dated Wed, 22 Feb 2017 09:19:49 +0000
with message-id <[email protected]>
and subject line Bug#773719: fixed in iec16022 0.2.4-1.2
has caused the Debian Bug report #773719,
regarding iec16022: Broken EDIFACT implementation causes broken codes depending
on data contents
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.)
--
773719: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773719
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: iec16022
Version: 0.2.4-1
Severity: important
Tags: upstream patch
Dear Maintainer,
iec16022 produces broken datamatrix images when the data to encodes
causes it
to enable EDIFACT encoding, which is broken.
Steps to reproduce:
iec16022 --format=png -o out.png "AA/A000AAA5A/1;00000000-00-00-000;"
-> Creates broken data in "out.png"
Verify with:
pngtopnm out.png | pnmscale 4.0 | pnmtopng >/tmp/b.png ;
dmtxread /tmp/b.png
-- System Information:
Debian Release: 7.7
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages iec16022 depends on:
ii libc6 2.13-38+deb7u6
ii libiec16022-0 0.2.4-1
ii libpopt0 1.16-7
ii zlib1g 1:1.2.7.dfsg-13
iec16022 recommends no packages.
iec16022 suggests no packages.
-- no debconf information
diff -c -r y/iec16022-0.2.4/iec16022ecc200.c fixedifact/iec16022-0.2.4/iec16022ecc200.c
*** y/iec16022-0.2.4/iec16022ecc200.c 2008-11-30 01:22:32.000000000 +0100
--- fixedifact/iec16022-0.2.4/iec16022ecc200.c 2014-12-22 15:09:05.000000000 +0100
***************
*** 357,364 ****
{
unsigned char out[4], p = 0;
if (enc != newenc) { // can only be from C40/Text/X12
! t[tp++] = 254;
! enc = 'a';
}
while (sp < sl && tolower(encoding[sp]) == 'e'
&& p < 4)
--- 357,364 ----
{
unsigned char out[4], p = 0;
if (enc != newenc) { // can only be from C40/Text/X12
! t[tp++] = 240;
! enc = 'e';
}
while (sp < sl && tolower(encoding[sp]) == 'e'
&& p < 4)
***************
*** 367,381 ****
out[p++] = 0x1F;
enc = 'a';
} // termination
! t[tp] = ((s[0] & 0x3F) << 2);
! t[tp++] |= ((s[1] & 0x30) >> 4);
! t[tp] = ((s[1] & 0x0F) << 4);
if (p == 2)
tp++;
else {
! t[tp++] |= ((s[2] & 0x3C) >> 2);
! t[tp] = ((s[2] & 0x03) << 6);
! t[tp++] |= (s[3] & 0x3F);
}
}
break;
--- 367,381 ----
out[p++] = 0x1F;
enc = 'a';
} // termination
! t[tp] = ((out[0] & 0x3F) << 2);
! t[tp++] |= ((out[1] & 0x30) >> 4);
! t[tp] = ((out[1] & 0x0F) << 4);
if (p == 2)
tp++;
else {
! t[tp++] |= ((out[2] & 0x3C) >> 2);
! t[tp] = ((out[2] & 0x03) << 6);
! t[tp++] |= (out[3] & 0x3F);
}
}
break;
--- End Message ---
--- Begin Message ---
Source: iec16022
Source-Version: 0.2.4-1.2
We believe that the bug you reported is fixed in the latest version of
iec16022, 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.
Jakob Haufe <[email protected]> (supplier of updated iec16022 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: SHA512
Format: 1.8
Date: Sun, 19 Feb 2017 00:00:24 +0100
Source: iec16022
Binary: iec16022 libiec16022-0 libiec16022-dev
Architecture: source
Version: 0.2.4-1.2
Distribution: unstable
Urgency: medium
Maintainer: Jan Lübbe <[email protected]>
Changed-By: Jakob Haufe <[email protected]>
Description:
iec16022 - Generates 2d ISO/IEC 16022 barcodes (data matrix/semacode)
libiec16022-0 - Library to generate 2d ISO/IEC 16022 barcodes (data
matrix/semaco
libiec16022-dev - Development files for the ISO/IEC 16022 barcodes library
Closes: 429210 773719 835296
Changes:
iec16022 (0.2.4-1.2) unstable; urgency=medium
.
* Non-maintainer upload.
* Cherry-pick from upstream:
- Fix EDIFACT encoding (0f2adb)
(Closes: #773719)
- Fix encoding of _. (45813a)
(Closes: #429210)
- Fix cases where data might be lost. (ebbb6e2)
(Closes: #835296)
Checksums-Sha1:
3c425312c4e3c6faad41b551e43f885251f09324 1996 iec16022_0.2.4-1.2.dsc
d90b4d304bd82764d84aee4671896a59350870e0 3026 iec16022_0.2.4-1.2.diff.gz
09dc8d6cd347bd4b4124eaf381741f78b20223e3 5808
iec16022_0.2.4-1.2_amd64.buildinfo
Checksums-Sha256:
8242be600d705793a7794639052b14d89945b45df176f45614baedd91fca3a7d 1996
iec16022_0.2.4-1.2.dsc
740ce691e5d789aa56c91820358c99e2fadc005df35f47e5ca1fd9eccf2a1bf7 3026
iec16022_0.2.4-1.2.diff.gz
f3d114b0e0398fb4f60bef8996c34427e3488a9e076b2286c5481faea90f7b7a 5808
iec16022_0.2.4-1.2_amd64.buildinfo
Files:
8eb92a5cf7fbe418a0c3da6aca83005e 1996 graphics optional iec16022_0.2.4-1.2.dsc
c6f28c2fbb0a5d00db8a68490d6a1c45 3026 graphics optional
iec16022_0.2.4-1.2.diff.gz
4e5ff00a82008d8589b034400414a5ca 5808 graphics optional
iec16022_0.2.4-1.2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEQk4U1wPnxtQ9nW82TnFg7UrI7h0FAlitUw4ACgkQTnFg7UrI
7h3TrRAAyZid3O9Y7NnXwOBXLVbohmPX6rXdMFGgOKk7PKJ10ouPcebGYSzCwCIq
m9tA2Ule9dJS1lTjvq/drCkEyjSS8clH6wFWuDjJwB1pRPL2Yh1w8uAEdNoXh8g/
CRDx9ske/7nvgAeLG+0aYVrVUjXf3dZvDkc+qf0KP44MyrCyy1bfF9onexou7V2T
Sckq3AKBeic04d2pl05eIunxCjsJF5ayBJXvSTkwjHf+l/GHWjZ6LD0Fo1EmzRzq
qHTTmxHp3yARmlmsqRDAEwS8Rxx0V21B3Ui6CZGgJNye/oZjzKck+BrtWFbCRcIE
f/lPK1jXTxKAwRdVfShC3wW6q53YGHc03H7lm/TFC1g2bqkFZsRqGKkf60JCR7zk
+0dpjyaRKcA9uTDco+TLpueh+i5egS3jv+33I22D1pOnkXenOUJOcY4J9LoS2ncf
wQam8ctGP+MWKd2+X8um91wwwLlP3vu/nSbIbUO22sRre9MS5Js1FBHNkEsjFvZG
ez1i+jDfKcowGNvX+ZQ+kltLyeyS12nhiIUtVMF98qqhxh132X85OviADJuBal87
9JlNtSj8IjmkpGxhIxWkeW3UgrwIkmW1z3AEbjHKGRfdLy+n1ziaaf1rNN9EA4lf
3WMuuJdM04alUiLtzbAC+X2XI24OV6SZLQHFTh4eT/5cFpov9ZI=
=7y+w
-----END PGP SIGNATURE-----
--- End Message ---