Your message dated Mon, 14 May 2018 11:19:31 +0000
with message-id <[email protected]>
and subject line Bug#849298: fixed in libconfig-inifiles-perl 2.98-1
has caused the Debian Bug report #849298,
regarding libconfig-inifiles-perl: Infinite loop when "each" is used
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 [email protected]
immediately.)


-- 
849298: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849298
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libconfig-inifiles-perl
Version: 2.94-1
Severity: normal

Hi,

suppose the following code which seems normal for processing the module
as a tied hash:

use Config::IniFiles;
tie (my %ini, 'Config::IniFiles', -file=>"test.ini");
foreach my $s (keys %ini) {
    while (my ($k,$v) = each %{$ini{$s}}) {
        print("$s $k $v\n");
    }
}

Try it on the following trivial config file:

[foo]
bar=baz

The result will be an infinite loop printing "foo bar baz".

This is especially frustrating, because the docs list explicitly that a
statement like the following should work:

while (($k, $v) = each %{$ini{$section}}) {...}

Thanks!

cheers, josch

--- End Message ---
--- Begin Message ---
Source: libconfig-inifiles-perl
Source-Version: 2.98-1

We believe that the bug you reported is fixed in the latest version of
libconfig-inifiles-perl, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Pentchev <[email protected]> (supplier of updated libconfig-inifiles-perl 
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: SHA256

Format: 1.8
Date: Mon, 14 May 2018 14:01:29 +0300
Source: libconfig-inifiles-perl
Binary: libconfig-inifiles-perl
Architecture: source
Version: 2.98-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <[email protected]>
Changed-By: Peter Pentchev <[email protected]>
Description:
 libconfig-inifiles-perl - Read .ini-style configuration files
Closes: 849298
Changes:
 libconfig-inifiles-perl (2.98-1) unstable; urgency=medium
 .
   [ Damyan Ivanov ]
   * change Priority from 'extra' to 'optional'
 .
   [ Salvatore Bonaccorso ]
   * Update Vcs-* headers for switch to salsa.debian.org
 .
   [ Peter Pentchev ]
   * Declare compliance with Policy 4.1.4 with no changes.
   * Drop trailing whitespace from old changelog entries.
   * Reflect the changes in debian/control.in.
   * Rules-Requires-Root: no
   * New upstream version:
     - reuse sessions in FETCH.  Closes: #849298
   * Use my Debian e-mail address.
   * Use the HTTPS scheme for the www.cpan.org URL.
Checksums-Sha1:
 e37d0ead427b6d673031b961ca52394be11c6e58 2292 
libconfig-inifiles-perl_2.98-1.dsc
 08a451e206259a6f0633a71d4ba39bf61b26335b 69529 
libconfig-inifiles-perl_2.98.orig.tar.gz
 487bcb7ad7b6d910bee5472e8ed40fd1e4532236 9440 
libconfig-inifiles-perl_2.98-1.debian.tar.xz
 c55dd1da960f4819c1aacaa378d06beab29e80e8 7479 
libconfig-inifiles-perl_2.98-1_source.buildinfo
Checksums-Sha256:
 919fa920b0a2f7c2e38ba38d5408d36a97f056034a86a2cf67602f278ef8653c 2292 
libconfig-inifiles-perl_2.98-1.dsc
 9d5fc5c2192058e58ad35150ddae3043a2679f2aa4e1fb7e18e36794622b1797 69529 
libconfig-inifiles-perl_2.98.orig.tar.gz
 28cef3f64c68f4562dd4cd69fdecd13f69ed6a55f7ccf2822953f1ca3548e769 9440 
libconfig-inifiles-perl_2.98-1.debian.tar.xz
 db37134a1747d70be8f779ed60d107b113f884c7671ad24be78f759f1b290ed6 7479 
libconfig-inifiles-perl_2.98-1_source.buildinfo
Files:
 e35ffbd46f897f063854f3a3ac825b56 2292 perl optional 
libconfig-inifiles-perl_2.98-1.dsc
 726551141c9ba5e13d8fd9886e3b744d 69529 perl optional 
libconfig-inifiles-perl_2.98.orig.tar.gz
 67df419666e2c8468b5f0aa36d5e7cf8 9440 perl optional 
libconfig-inifiles-perl_2.98-1.debian.tar.xz
 d744f249d916e79124a02567e761501f 7479 perl optional 
libconfig-inifiles-perl_2.98-1_source.buildinfo

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

iQIzBAEBCAAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAlr5bbUACgkQZR7vsCUn
3xN6kg/9EniA51YFyQHptmbfxLwVKeBuAWiXcTSGqqIr4X1DAH2deXTJVhLIokTO
qUOEx91/PJC1JHgyeiLECMn2uVeiPOkKSOpvs27pOcibtKW42le986rvhXqliiFb
NO0Hyh8Kv4zRpsUeaLs8LcIudbh0twByxsruCmMLMVVwL3Ih/ECltZZmB9bLGcao
pWYpnQukYDm5+W61/pNJl7M1DRb/7R2obo5IE9kOIGHH9mbOpeRLHzIg4ZRj76M6
keyBHgQwv41KwdW2H3a4Ob68ITTVyIGgyx1j50Ei4LTKfBWmNmV8Gf0Q8dTOchG2
/EZ4S/PJLiVF2KJs1IW3HVwE+pMRoZsz+NfvQD6m/AydwzfrqjCbIbNu83aGDwCb
OflRmxAv+FI5tYX2ssCEySOWlJUaOFwrhHNN4S360aNmCLOILuhtmk0HdqzyeusI
ZlRCX6qnGHcBTP5jCT7d5ssLMjh/KwVA/MYyZeHcKUUg6IYdE9hnoJanerrxS44x
1GbpDks18R846EURKHzzXqhuP9/Kvm7zqvcJ3JOzhKO2jHPPlA3cp3oJ93lj9ccJ
pOk8PHg5C9llBgu7wvH/ShvaOlWNx4pGxohtWN4pwgNXODW2JWQ/tr1b5EvrJe+M
BQX6oIDRLOWTk9bD6pGYBTbiWZy1W9fUwJjR7ymchOyLpOlzCuc=
=Erj1
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to