Bug#595720: future unblock: libdbm-deep-perl/2.0002-1
On Mon, 2010-09-06 at 12:24 +0900, Ansgar Burchardt wrote:
> libdbm-deep-perl can corrupt the database if too many transactions are
> started[1]. This was fixed upstream in version 2.0002. There is
> another minor change in behavior in 2.0001, but this should not affect
> Debian (the only rdep, libipc-pubsub-perl, seems not to use this
> feature).
[...]
> + * Use debhelper compat level 8; no longer pass --buildsystem=perl_build in
> + debian/rules as this is now selected by default.
That's not really a great change to be making during freeze; have you
verified that the package is unaffected by all of the changes between
compat levels 7 and 8?
> lib/DBM/Deep/Engine/File.pm (.../tags/libdbm-deep-perl/2.0000-1) (revision 62350)
> +++ lib/DBM/Deep/Engine/File.pm (.../trunk/libdbm-deep-perl) (revision 62350)
[...]
> @@ -435,7 +426,7 @@
>
> my @slots = $self->read_txn_slots;
> my $found;
> - for my $i ( 0 .. $#slots ) {
> + for my $i ( 0 .. $self->num_txns-2 ) {
Should that be "$self->read_txn_slots - 2" ?
Regards,
Adam
Reply to: