Package: mpack
Version: 1.6-1
Severity: normal

Hi,

When running munpack on a file with multiple attachments, more than one
of which produces a duplicate filename (and hence a ".1", ".2", etc.
suffix), the counter for the .N suffixes isn't reset with each
attachment, so the second duplicate is named "foo.2" and the third
"bar.3" - even if "foo.1", "bar.1" and "bar.2" don't exist.

Reproduction is fairly easy - just take a document with two attachments
and run munpack twice.  You'll get "attachment_a" and "attachment_b"
(say) on the first run, and "attachment_a.1" and "attachment_b.2" ond
the second run - the new "attachment_b.2" should really be
"attachment_b.1".

Conrad

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable'), (400, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages mpack depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to