Your message dated Sat, 05 Mar 2016 11:53:08 +0000
with message-id <[email protected]>
and subject line Bug#780532: fixed in lbdb 0.41
has caused the Debian Bug report #780532,
regarding lbdb-fetchaddr cuts too less characters if multi-byte UTF-8 symbols
are used
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.)
--
780532: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780532
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lbdb
Version: 0.39
Severity: normal
Tags: patch
Dear Maintainer,
I observe following problem. The lbdb-fetchaddr cuts too less characters from
original input names, if UTF-8 is used and input name contains Cyrillic
symbols.
The problem is that lbdb-fetchaddr cuts all personal names that are longer that
30 bytes.
I use UTF-8 as default encoding for outgoing mails. This is multi-byte encoding
and 30 bytes in UTF-8 is 15
Cyrillic symbols (2-byte per symbol).
15 symbols for name is too short. Almost always we use patronymic name in our
personal name especially
in official work/business mails and that makes personal
names even longer. My own full name is 25 Cyrillic characters long (50
bytes) and I don't have the longest personal name.
>From the technical point of view I don't see any technical problem to extend
this limitation.
The attached patch increases max name length to 70 bytes.
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 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 lbdb depends on:
ii libc6 2.19-15
ii libvformat0 1.13-10
ii perl 5.20.2-2
lbdb recommends no packages.
Versions of packages lbdb suggests:
pn abook <none>
ii finger 0.17-15
ii libauthen-sasl-perl 2.1600-1
pn libnet-ldap-perl <none>
pn libpalm-perl <none>
ii mutt 1.5.23-3
ii procmail 3.22-24
-- no debconf information
>From 9314aab41a0de0286426d5a3f56fa14bebd71dbc Mon Sep 17 00:00:00 2001
From: Andrey Skvortsov <[email protected]>
Date: Mon, 22 Dec 2014 17:08:48 +0300
Subject: [PATCH] fetchaddr.c: replace magic numbers that handle maximal length
of personal name with a macro definition and extend personal name width.
---
fetchaddr.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/fetchaddr.c b/fetchaddr.c
index 46235d5..16f3cb2 100644
--- a/fetchaddr.c
+++ b/fetchaddr.c
@@ -32,7 +32,8 @@
#include "rfc2047.h"
#define MAXHDRS 21
-
+ /* max personal length in bytes */
+#define MAX_PERSONAL_LENGTH 70
struct header
{
char *tag;
@@ -88,8 +88,10 @@ int writeout(struct header *h, const char *datefmt,
}
if(!p->group && p->mailbox && *p->mailbox && p->personal)
{
- if(p->personal && strlen(p->personal) > 30)
- strcpy(p->personal + 27, "...");
+ const char end[] = "...";
+
+ if(p->personal && strlen(p->personal) > MAX_PERSONAL_LENGTH)
+ strcpy(p->personal + MAX_PERSONAL_LENGTH - strlen(end), end);
if ((c=strchr(p->mailbox,'@')))
for(c++; *c; c++)
--- End Message ---
--- Begin Message ---
Source: lbdb
Source-Version: 0.41
We believe that the bug you reported is fixed in the latest version of
lbdb, 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.
Roland Rosenfeld <[email protected]> (supplier of updated lbdb 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: SHA256
Format: 1.8
Date: Sat, 05 Mar 2016 11:54:15 +0100
Source: lbdb
Binary: lbdb
Architecture: source amd64
Version: 0.41
Distribution: unstable
Urgency: medium
Maintainer: Roland Rosenfeld <[email protected]>
Changed-By: Roland Rosenfeld <[email protected]>
Description:
lbdb - Little Brother's DataBase for the mutt mail reader
Closes: 578155 715901 780532
Changes:
lbdb (0.41) unstable; urgency=medium
.
* Remove CVS $Id$ tags and the like, which don't work with git.
* Apply several patches by Lucas Hoffmann:
- m_wanderlust: Fix variable name.
- m_gnomecard, m_pine: Remove needless backslashes from embedded AWK.
- lbdbq: Optimize counting lines.
- lbdbq: Remove unreached break after exit.
* Upgrade to Standards-Version 3.9.7 (no changes).
* Update debian/copyright.
* fetchaddr: avoid segfault on empty lines (Closes: #715901).
* fetchaddr: change real name length limit from 30 to 70. Thanks to
Andrey Skvortsov for providing a patch (Closes: #780532).
* vcquery: order N: field: Prefixes GivenName AddName FamilyName Suffix
(Closes: #578155).
* Remove lbdb.spec on clean target.
* Move LIBICONV linking to the end of the cc call to make cygwin happy.
* Substitute ${prefix} in @sysconfdir@ in mutt_ldap_query.pl.
* Fix more bashisms (Thanks to Thorsten Glaser).
* Update config.guess and config.sub.
* Optimize autoconf to get version from Debian changelog.
Checksums-Sha1:
b8c88caced4ca1be87e8eef528a4a1dc338df86c 1433 lbdb_0.41.dsc
484e9e9a24bd86960b2042a85ff2420741997571 122100 lbdb_0.41.tar.xz
553b35ce0a0c7b70ed27e323d9e0c314bbac9cd7 43054 lbdb-dbgsym_0.41_amd64.deb
25e4d970805f06b2bc169001baff44faffb90a96 71794 lbdb_0.41_amd64.deb
Checksums-Sha256:
3528174a44f8b294ee7824f1cceecf3d43ea7c8d7963755bae05b27bd78f7c90 1433
lbdb_0.41.dsc
fc9261cdc361d95e33da08762cafe57f8b73ab2598f9073986f0f9e8ad64a813 122100
lbdb_0.41.tar.xz
91eb11c5fb25ea3bb756123f376f0a76b66eb474635fa5fef7d2b7580740f22d 43054
lbdb-dbgsym_0.41_amd64.deb
135cf22308f900580cf87011844d378a1eb6ee27363db478a43ae25a78db055d 71794
lbdb_0.41_amd64.deb
Files:
e73b842844acb3dc36426b6b045322a3 1433 mail optional lbdb_0.41.dsc
b05ccf12bc24c4d2326e0f793543fd05 122100 mail optional lbdb_0.41.tar.xz
4d4f169feab4c2f5db4985e6d03cb8cd 43054 debug extra lbdb-dbgsym_0.41_amd64.deb
bd815b5592499ac278d8f236a0d7739d 71794 mail optional lbdb_0.41_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJW2sBDAAoJEAJxO8/KVBCyjSoP/1fSfms9kWS8d25ueZvNj+gP
LnvIOLGpy3Ov2RcazMf7kRAal0PfJe+bvypM5IQz66qn6BQhqKN8us51hsp7232V
oJpom5fLTr5IAPlpzlQJfPvjda0yL6gPPdt2ZxM4gfPEnEU1WV0HfzIsTa8d7kF6
vR9DuFfCEniTgD8sqE24HSnueOFcAdwjagrH+qm4gGajUB3U/vY5kRs0hRDIvVOw
xEZoHWs6hxHsNXxBz2eZ1CG3bLnnw9JuqTzGkr7BOVWMzFxnlH8INaNRW506EPNg
4sKkZod/9FfxIcZyJ1VitngW3XQoeM01d01mbg6VQrKlM3AvoxvJ0u6IFKxlKC9C
Y/5uwYoVg0fSIOmAFOmgP700qvf85kTeXLs+3k2nYMoNQ6TcUtccB+JSctO7QFPF
FC7UnzATZCZetkeHhUZS8U6SFz+FisVsYzJvg1vQpAzj60UVnY6j8w8c0xWnDmnF
f0Ytq4BvjpNJo1JXMeWuydrhvFbN8OpG6LmobZPA+iST3n0/p8v9Pm9jj+SZJ4TQ
gb9tBXtPz6IKIlnEBRcwh36lVk8bnZq2vSj6cRVdUf7mds8OLNHI/PZPabAZX0lx
mQkmMLRxEVw7LIV3zAt4644g51nv4vu4i0btI9/f0Y4W9Eou8m9IdU1jcmlD+53K
kZkpczUeP/KcOB+Agdz1
=d3aq
-----END PGP SIGNATURE-----
--- End Message ---