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

Bug#669909: marked as done (lsb-base: resetting a global variable (OPTIND) in a function, without declaring it local, can have unpleasent consequences)



Your message dated Tue, 24 Apr 2012 20:53:26 +0000
with message-id <E1SMmjm-0002T9-RW@franck.debian.org>
and subject line Bug#669909: fixed in lsb 4.1+Debian2
has caused the Debian Bug report #669909,
regarding lsb-base: resetting a global variable (OPTIND) in a function, without declaring it local, can have unpleasent consequences
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 owner@bugs.debian.org
immediately.)


-- 
669909: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669909
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lsb-base
Version: 4.1+Debian1
Severity: normal

start_daemon () {
    local force nice pidfile exec args
--

    OPTIND=1
--
pidofproc () {
    local pidfile base status specified pid
--

    OPTIND=1
--
killproc () {
    local pidfile sig status base name_param is_term_sig
--

    OPTIND=1
--
status_of_proc () {
    local pidfile daemon name status
--
    pidfile=
    OPTIND=1
--

as it may overwrite the calling scope's OPTIND value.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

-- no debconf information


Cheers,

-- 
Cristian



--- End Message ---
--- Begin Message ---
Source: lsb
Source-Version: 4.1+Debian2

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

lsb-base_4.1+Debian2_all.deb
  to main/l/lsb/lsb-base_4.1+Debian2_all.deb
lsb-core_4.1+Debian2_amd64.deb
  to main/l/lsb/lsb-core_4.1+Debian2_amd64.deb
lsb-cxx_4.1+Debian2_amd64.deb
  to main/l/lsb/lsb-cxx_4.1+Debian2_amd64.deb
lsb-desktop_4.1+Debian2_amd64.deb
  to main/l/lsb/lsb-desktop_4.1+Debian2_amd64.deb
lsb-graphics_4.1+Debian2_amd64.deb
  to main/l/lsb/lsb-graphics_4.1+Debian2_amd64.deb
lsb-invalid-mta_4.1+Debian2_all.deb
  to main/l/lsb/lsb-invalid-mta_4.1+Debian2_all.deb
lsb-languages_4.1+Debian2_amd64.deb
  to main/l/lsb/lsb-languages_4.1+Debian2_amd64.deb
lsb-multimedia_4.1+Debian2_amd64.deb
  to main/l/lsb/lsb-multimedia_4.1+Debian2_amd64.deb
lsb-printing_4.1+Debian2_amd64.deb
  to main/l/lsb/lsb-printing_4.1+Debian2_amd64.deb
lsb-release_4.1+Debian2_all.deb
  to main/l/lsb/lsb-release_4.1+Debian2_all.deb
lsb-security_4.1+Debian2_amd64.deb
  to main/l/lsb/lsb-security_4.1+Debian2_amd64.deb
lsb_4.1+Debian2.dsc
  to main/l/lsb/lsb_4.1+Debian2.dsc
lsb_4.1+Debian2.tar.gz
  to main/l/lsb/lsb_4.1+Debian2.tar.gz
lsb_4.1+Debian2_all.deb
  to main/l/lsb/lsb_4.1+Debian2_all.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 669909@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated lsb 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 24 Apr 2012 21:33:39 +0200
Source: lsb
Binary: lsb-core lsb-graphics lsb-cxx lsb-desktop lsb-languages lsb-multimedia lsb-printing lsb-security lsb lsb-base lsb-release lsb-invalid-mta
Architecture: source amd64 all
Version: 4.1+Debian2
Distribution: unstable
Urgency: low
Maintainer: Debian LSB Team <debian-lsb@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Description: 
 lsb        - Linux Standard Base 4.1 support package
 lsb-base   - Linux Standard Base 4.1 init script functionality
 lsb-core   - Linux Standard Base 4.1 core support package
 lsb-cxx    - Linux Standard Base 4.1 C++ support package
 lsb-desktop - Linux Standard Base 4.1 Desktop support package
 lsb-graphics - Linux Standard Base 4.1 graphics support package
 lsb-invalid-mta - Linux Standard Base sendmail dummy
 lsb-languages - Linux Standard Base 4.1 Runtime Languages package
 lsb-multimedia - Linux Standard Base 4.1 Multimedia package
 lsb-printing - Linux Standard Base 4.1 Printing package
 lsb-release - Linux Standard Base version reporting utility
 lsb-security - Linux Standard Base 4.1 Security package
Closes: 669909
Changes: 
 lsb (4.1+Debian2) unstable; urgency=low
 .
   * Fancy output:
     - Avoid two superfluous calls to /bin/echo.
     - Make the cursor invisible when printing the status block.
   * Make sure OPTIND is marked local for each use. (Closes: #669909)
Checksums-Sha1: 
 ffc676134e1ab4897d135eda76e15f6af7bf5f17 2037 lsb_4.1+Debian2.dsc
 4fa819a1e768f496db17f17f06f09095552ed345 63212 lsb_4.1+Debian2.tar.gz
 8c7cbf3b886603f8943e686d7b04cc77004b0664 43428 lsb-core_4.1+Debian2_amd64.deb
 56e1b280e06422489a896b66a793d66bd239bdc6 18226 lsb-graphics_4.1+Debian2_amd64.deb
 5dd352c279a26aead94ccad81428f9e68438b9a2 18200 lsb-cxx_4.1+Debian2_amd64.deb
 58701a4d55c78e9c74053438bcc208fcf9e3d251 18382 lsb-desktop_4.1+Debian2_amd64.deb
 50d8d64ecb4f922bb10c143c057cadd340fe51da 18236 lsb-languages_4.1+Debian2_amd64.deb
 85c418fa2d32235da069dcc3aab27e6a0ad0e559 18202 lsb-multimedia_4.1+Debian2_amd64.deb
 063611210ebdd0e1de839c612830b36c5cdf83d1 18228 lsb-printing_4.1+Debian2_amd64.deb
 64d0af3d9438e2db9186b49a3563c3cc1b6385cb 18208 lsb-security_4.1+Debian2_amd64.deb
 c5637662e01e37712a114b2cc9cc76533861a9b2 18188 lsb_4.1+Debian2_all.deb
 c0d658042b1409aff0e231cf9b2b25dd620eb3c0 24812 lsb-base_4.1+Debian2_all.deb
 af4ce2158923384c53c6385a170db4c40ff7dc26 25134 lsb-release_4.1+Debian2_all.deb
 6a10a88dccfad0b69b3b06d21bd113f1fe30ed3c 18528 lsb-invalid-mta_4.1+Debian2_all.deb
Checksums-Sha256: 
 141319dd49f1f6a13f81c38eb143e896cd4e4ec72f65c10ff2be15a9c36fc25a 2037 lsb_4.1+Debian2.dsc
 330cedc9d434e9bf04ac3cd92aad00bbf3e57116b7a54f548a89509f5d2b76a7 63212 lsb_4.1+Debian2.tar.gz
 58ad68939266e1fc85f5268084908309fcafb2fd4760fa95ff6a7f90dfdb549c 43428 lsb-core_4.1+Debian2_amd64.deb
 8ece3ab7cce6792848a7e1db9c1cd45c7a5d7a0bb16459a70958b23d4b4ef68c 18226 lsb-graphics_4.1+Debian2_amd64.deb
 1e69ad6472cc391a0dc0b8bdee14d529d453536ee11e800dfdb492d66e218dce 18200 lsb-cxx_4.1+Debian2_amd64.deb
 fe610940f68266399be0b045388e95925c2699d538e9ffc32582fbb4bc1c2153 18382 lsb-desktop_4.1+Debian2_amd64.deb
 ff6448b5d16cbee95ae92c5904208ee9d2086e3d186a5f40f08f975c03d08c90 18236 lsb-languages_4.1+Debian2_amd64.deb
 e94054f3e5a2e3b0a72492e71f770666b7ba11523263d3e6bc426d1c09412977 18202 lsb-multimedia_4.1+Debian2_amd64.deb
 586f049b6314fb93afe1a24c18dc469806e730e3e7e6799a4ab2eb2282147a19 18228 lsb-printing_4.1+Debian2_amd64.deb
 1a6c54123bf76b6400afe57a775bc1f02e21375e4dd1f0c9f9b5b2446ee92028 18208 lsb-security_4.1+Debian2_amd64.deb
 d36de0f8fc84addfe26005f12bae9ccca91324d4cfbab20ce307af84d75a333f 18188 lsb_4.1+Debian2_all.deb
 e9167962ffc0419d6ca987b95a0d29e84826311fb80e6c066639609038129f27 24812 lsb-base_4.1+Debian2_all.deb
 2345805f9ab58d2d0fce6cba6073836299d0403b68d587008e925214ca27ccdd 25134 lsb-release_4.1+Debian2_all.deb
 6474108e32c75d4656cf59bdb6f429dd4536e7ac3d5c36a9116ca606dd97cc6c 18528 lsb-invalid-mta_4.1+Debian2_all.deb
Files: 
 e5c4960bb5882d0ce1285a875483473b 2037 misc extra lsb_4.1+Debian2.dsc
 473cce3459ea77b3f02394f230085d8f 63212 misc extra lsb_4.1+Debian2.tar.gz
 644c9e0697e30d46bc5ff01a9f0453f2 43428 misc extra lsb-core_4.1+Debian2_amd64.deb
 8f8aca5ec7518ee0991bda241e7f9612 18226 misc extra lsb-graphics_4.1+Debian2_amd64.deb
 29a7f4ca1cec64bd42795c2b90472d06 18200 misc extra lsb-cxx_4.1+Debian2_amd64.deb
 72979450b2cc1922c97909f29e0ac120 18382 misc extra lsb-desktop_4.1+Debian2_amd64.deb
 f56ec42b447336f9abd490e6593af6b1 18236 misc extra lsb-languages_4.1+Debian2_amd64.deb
 acd1a752a2b9ba6890e05de82464c6fb 18202 misc extra lsb-multimedia_4.1+Debian2_amd64.deb
 5f8db92d24f67c9e601f29c4299a5040 18228 misc extra lsb-printing_4.1+Debian2_amd64.deb
 4ebee34b5d28f348b906269c88464670 18208 misc extra lsb-security_4.1+Debian2_amd64.deb
 efb10daafe70ff3d088d8eec1ce4c16c 18188 misc extra lsb_4.1+Debian2_all.deb
 e012d28b0a601b250b2e948437bcf9bb 24812 misc required lsb-base_4.1+Debian2_all.deb
 1522f3b3f4e53b6ad96c1ffbfd78441c 25134 misc optional lsb-release_4.1+Debian2_all.deb
 065eec5b2a2ebcb3164f72a559e0b2c3 18528 misc extra lsb-invalid-mta_4.1+Debian2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQGcBAEBCAAGBQJPlwQeAAoJEIvPpx7KFjRVQ54MAJh16Jr5r2n1X73UufPPtHW0
0/da2Dq7LzcVpTq4OZ1ZE6WY5xSU/CGm1TGyQd4zdVdOj1l1ZATRI4X3BBzfn//R
msMzpmgbacMFyXgFrxEg9GtEmxYt+ls+9KPNokWBj3Md6nndJxuOH7PAJEMtGkVd
QkyUiBMfP8eNd6d7QnssU5EwF3PAdY419ejiy8CkuftHzaT6dkjMnPw2zg+XA4HI
EV2r/MxKUXlkZZNT+q5683YpuHlNchCaHpMpeZPVs7zCtV2L9RKcIFilE0fqc3SL
YzoUvaDPz742Y5x3rJXnx25QdXDuTdw6mKXIAcKRE+mT9X6eN0p0/L6B7qigjhs2
pZ0lHovj5uWGfQgDmIqbTh90G9TPLRFFlW8IrhKT1tD2idWKpOAvlw80135JtsEw
n47Z/DU7JwPjo9HIN4HoDFIfhB+8kgKG9edJ+Glu07CVpgvsDLWQ+Veej0wsF913
G9OFZj7Ui48qAfCCzyoBiaPgGpqw/Lqin3o7Ztexsg==
=owIZ
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: