Your message dated Thu, 17 May 2007 02:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#408522: fixed in sed 4.1.5-2
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: sed
Version: 4.1.5-1
Severity: normal

Sed seems to be unable to handle the program "/foo/i\\", interpreted
as a C string (that is, the two last characters of the program are i
and backslash; there's no newline).

$ echo -e "bar\nfoo" | sed "/foo/i\\"
bar
<data>  sed: couldn't write -1 items to stdout: Success
(where <data> are characters with the high bit set)

$ echo -e "bar\nfoo" | sed "/foo/i\\" | hd | less
<the same; it turns out there's a lot of zeroes too>

$ echo -e "bar\nfoo" | sed "/foo/i\\" > foo
Segmentation fault

Using longer input ("baz\nbar\nfoo") does the same for all test
cases.  However, a feeding sed a single line seems okay:

$ echo -e "foo" | sed "/foo/i\\"
sed: couldn't write -1 items to stdout: Success

I'm guessing that with just a single line, there's something which has
not yet been initialised; that would explain why there's no gibberish.

Putting the script in a file and calling sed with -f seems to do the
same thing as when just giving sed the script as an argument.

Since sed has a test suite, once someone fixes this it would be good
to include a test case for this to guard against regression.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to 
en_GB.ISO-8859-1)

Versions of packages sed depends on:
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries

sed recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: sed
Source-Version: 4.1.5-2

We believe that the bug you reported is fixed in the latest version of
sed, which is due to be installed in the Debian FTP archive:

sed_4.1.5-2.diff.gz
  to pool/main/s/sed/sed_4.1.5-2.diff.gz
sed_4.1.5-2.dsc
  to pool/main/s/sed/sed_4.1.5-2.dsc
sed_4.1.5-2_i386.deb
  to pool/main/s/sed/sed_4.1.5-2_i386.deb



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.
Clint Adams <[EMAIL PROTECTED]> (supplier of updated sed 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.7
Date: Wed, 16 May 2007 21:41:31 -0400
Source: sed
Binary: sed
Architecture: source i386
Version: 4.1.5-2
Distribution: unstable
Urgency: low
Maintainer: Clint Adams <[EMAIL PROTECTED]>
Changed-By: Clint Adams <[EMAIL PROTECTED]>
Description: 
 sed        - The GNU sed stream editor
Closes: 374465 408522 415143
Changes: 
 sed (4.1.5-2) unstable; urgency=low
 .
   * Updated Simplified Chinese translation from LI Daobing.
     closes: #415143.
   * Apply patch from Justin Pryzby to handle deregistration and
     reregistration of info docs in prerm and postrm.
     closes: #374465.
   * Various maintscript cleanups, including removal of /usr/doc
     transition block.
   * Apply sed--stable--4.1--patch-25 (fix '/foo/i\').
     closes: #408522.
   * Bump Standards-Version to 3.7.2.
Files: 
 69a315c9af7709020da09bdb9087aaec 557 utils required sed_4.1.5-2.dsc
 1af0bd0ee417f2ac820fbeb42ab892da 67847 utils required sed_4.1.5-2.diff.gz
 763d40911032617fd86dfbf502382e9f 250678 utils required sed_4.1.5-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Debian!

iD8DBQFGS7s25m0u66uWM3ARAuqPAKDN8Vqv7UTq6F5Exsz7OicJcv8ttgCfQp24
lIs7PMcpM7z6gO13IiejK+A=
=HsOh
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to