Your message dated Fri, 11 Aug 2017 07:35:24 +0000
with message-id <e1dg4tc-0006kt...@fasolo.debian.org>
and subject line Bug#777168: fixed in sensible-utils 0.0.10
has caused the Debian Bug report #777168,
regarding sensible-utils: Infinite loop in select-editor when nano is not 
installed (batch-mode)
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 ow...@bugs.debian.org
immediately.)


-- 
777168: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777168
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: sensible-utils
Version: 0.0.9
Severity: minor
File: /usr/bin/select-editor

Hi,

It is possible to trigger an infinite loop in select-editor by doing
the following steps.

 * Uninstall nano
 * Run select-editor which stdin being /dev/null (or closed)

Fortunately, sensible-editor checks that stdin is a tty before trying
to run select-editor, so I suspect this is mostly a theoratical issue.

The issue in a nutshell:

"""
        editors=`update-alternatives --list editor`
        for e in $editors; do
                i=`expr $i + 1`
                desc=
                if [ $e = "/bin/nano" ]; then
                        desc="        <---- ` gettext 'easiest'`"
 **                     simple=$i
                fi
                echo "  $i. $e$desc"
        done
        [...]
 **     while /bin/true; do
 **             if [ -z "$selected" -a ! -z "$simple" ]; then
 **                     selected="$simple"
                [...]
                else
                        break
                fi
        done
"""

With "simple" always being unset/empty *unless* update-alternative
mentions "/bin/nano".

Thanks,
~Niels

--- End Message ---
--- Begin Message ---
Source: sensible-utils
Source-Version: 0.0.10

We believe that the bug you reported is fixed in the latest version of
sensible-utils, 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 777...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastien Roucariès <ro...@debian.org> (supplier of updated sensible-utils 
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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 11 Aug 2017 09:06:21 +0200
Source: sensible-utils
Binary: sensible-utils
Architecture: source
Version: 0.0.10
Distribution: unstable
Urgency: medium
Maintainer: Anibal Monsalve Salazar <ani...@debian.org>
Changed-By: Bastien Roucariès <ro...@debian.org>
Description:
 sensible-utils - Utilities for sensible alternative selection
Closes: 390580 603243 673157 720853 728612 739688 758072 775727 777168
Changes:
 sensible-utils (0.0.10) unstable; urgency=medium
 .
   * Acknowledge NMU
   * Add myself as uploader.
   * Bump policy no change.
   * Update copyright.
   * Use debhelper.
   * Harden recursive execution of script
     (Closes: #775727, #390580).
   * Bug fix: "[l10n:cs] Initial Czech translation of package
     sensible-utils", thanks to Michal Simunek (Closes: #673157).
   * Bug fix: "[INTL:pt] Portuguese translation of manpage", thanks to
     Américo Monteiro (Closes: #758072).
   * Bug fix: "Manpages not utf-8 encoded", thanks to Sandro Mani (Closes:
     #739688).
   * Bug fix: "requires gettext but no dependency on gettext-base", thanks
     to Jonathan Dowland (Closes: #728612). Supply a echo -n gettext in
     private dir.
   * Bug fix: "Manpage should reference appropriate section of Debian
     Policy", thanks to Jari Aalto (Closes: #603243).
   * Bug fix: "Infinite loop in select-editor when nano is not installed
     (batch-mode)", thanks to Niels Thykier (Closes: #777168).
   * Bug fix: "please sort editors by priority in select-editor", thanks to
     David Kalnischkies (Closes: #720853).
Checksums-Sha1:
 da776b04beeb1db86a500d2c056b66c3ff4e96c7 1671 sensible-utils_0.0.10.dsc
 f1c037b180c28f632e70c3993fc7f6bcf2a32fac 57140 sensible-utils_0.0.10.tar.xz
 a178389213a6e93b88306f00b91a4246800f8ab1 5448 
sensible-utils_0.0.10_amd64.buildinfo
Checksums-Sha256:
 9f19f464d6edc9c086a92c7ac03cc72b285dccd56f9d640b9979a3e5aac3457e 1671 
sensible-utils_0.0.10.dsc
 137f67f34cbe2066407889d6ee15f4e51440e0f1378e9763da5922388a6510f3 57140 
sensible-utils_0.0.10.tar.xz
 3f18b7dfa83779407760ba20f3c056115e34ccf1f79d62cdc9b07eff99574f52 5448 
sensible-utils_0.0.10_amd64.buildinfo
Files:
 a5fea43770a130a00fd5d3bdb7c53949 1671 utils required sensible-utils_0.0.10.dsc
 c580afd31a3966ee24e0e533489d7297 57140 utils required 
sensible-utils_0.0.10.tar.xz
 408cac4aff00f578f69a437f2be9993d 5448 utils required 
sensible-utils_0.0.10_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAlmNWb0ACgkQADoaLapB
CF/l7RAAjUKiON8xTcucUABodQjI3a5Kr1KML0CDnWuEuA8ikTZvNyw3tJAZxkqr
k6YdOXnDpj83OikIVnTCSNquAsqTKyJrPt7S6HVOlLoVXbDR/2uoDkAcS//NpmAf
ZbJQzvOU7o+5LAeE4msEiJ/R/FY3jpmdI6YjrSYcrMxzfaRP/IBkveeA1DEytItm
HnXWywqdAd+B2eOErXcSNxIOdjnyC3PK314I4FdzuZrIBJMRRGgEbZmq6Q1IZmla
r/rrQ86euzmXFEzjAA50dITKyGRgej9dzpP1u5lK6rYHpEr4qu8fqFNtdkY7Yh4v
g2Qmq/HRphN8KVUX9Ih6u7vkWa9PG705M5TI0Sc9/ukgpo4PJrZUFkWf1x1GDBvz
KNNrjvSOOPwN7tstaj4Bq8zM2XunGshPw/HIm2tsF06VZJsJdFLw9Hi840vOBOYi
qZOiboydh/2lBhBjwEp3JsaLeOQK8LN1iCNdUXsOvYGTUJIyhTDDXWOeOva8KuDB
n5GjVAovqOCTWLs4yCmaGa2wZK+oUoaevzcc8TIFZBY512E/wlIIvdKtDDCaQJq5
OD6OEsa+i/ka+g+sllVH60WVMG1bONy9UHPw5Ofe6uYn3sJcqHVygSOJcWiKdK5I
y7ZoG3JdDTvKNNuyyGnhkC2/rAeLpSjxSDeL5qELzBYwqEh9MWU=
=8Vri
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to