[Top][All Lists]

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

Re: [Nmh-workers] Second release candidate for nmh 1.6 now available

From: Alexander Zangerl
Subject: Re: [Nmh-workers] Second release candidate for nmh 1.6 now available
Date: Sun, 04 May 2014 22:04:52 +1000

On Sat, 19 Apr 2014 23:49:15 -0400, Ken Hornstein writes:
>This release include a few bug fixes to RC1, including fixes for SASL
>support and scan line corruption when using inc(1) with POP or Maildir.
>Please see the NEWS file for the list of changes since the 1.5 release.

i've just finished the packaging of nmh 1.6 rc2 for debian, and found 
two bugs:

. with locale iso-8859-1 mhshow fails to display an
  utf-8 encoded mail and test/mhshow/test-subpart fails.

  mhshow reports 
         mhshow: Can't convert utf-8 to ISO-8859-
         mhshow: unable to convert character set of part 1.1 
         to utf-8, continuing...
  yes, the error message *really* shows the charset incorrectly,
  without the trailing 1.

  i've traced this back to norm_charmap(). most of the time it returns 
  just static strings (or the original input), but for charsets 
  containing "8859-" or "CP12" it uses, returns and reuses the same 
  static string buffer.

  because the calling code does not copy norm_charmap's output away
  safely ( but instead does fun things like
  strcmp(norm_charmap(source),norm_charmap(dest)) ) subsequent calls to
  norm_charmap then destroy the result of the previous one 
  if charsets win-1252 or iso-8859-x are involved. 
  the dud "ISO-8859-" is the buffer initializer which i
  believe is caused by norm_charmap being asked to work on its own output.

  i've fixed this by malloc()ing that buffer; see attached patch.

. the lzma in debian (9.22-2) refuses to uncompress a file named '11.tar'
  even with -cdf based on the file's extension; 
  this breaks test/post/test-sendfiles. for now i've disabled 
  lzma compression as a test option for this test.


Attachment: 02-normcharmap
Description: Text Data

Alexander Zangerl + GPG Key 0xB963BD5F (or 0x42BD645D) + http://snafu.priv.at/
I halve a spelling chequer - It came with my pea sea -
It plane lee marques four my revue - Miss steaks aye ken knot sea
 -- J.S. Tenn, Owed to a Spell Chequer

Attachment: signature.asc
Description: Digital Signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]