Bug#877720: libdbd-firebird-perl: bad conversion of numerics between -1 and 0

Damyan Ivanov dmn at debian.org
Wed Oct 4 19:54:24 UTC 2017


Package: libdbd-firebird-perl
Version: 0.50
Severity: grave
Tags: upstream patch fixed-upstream
Justification: causes non-serious data loss

When fetching numeric data bwtween -1 and 0, DBD::Firebird messes with 
the conversion from the format the firebird uses to the string that is 
passed to upper layers causing data loss.

This was fixed upstream in https://github.com/mariuz/perl-dbd-firebird/commit/b4fad5d264abafeb26e1333b74f6a5c2f75f4869

It seems to me the non-working code was first released in version 0.50 
upstream, so every Debian release is affected.

An updated test at 
https://github.com/mariuz/perl-dbd-firebird/blob/master/t/92-bigdecimal_read.t 
demonstrates the issue.

I plan to fix this in unstable by upgrading the package to the newest 
upstream release, and probably stable by backporting the fix.


Cheers,
    dam

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.13.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8), LANGUAGE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libdbd-firebird-perl depends on:
ii  libc6                         2.24-17
ii  libdbi-perl [perl-dbdabi-94]  1.637-1
ii  libfbclient2                  3.0.2.32703.ds4-11
ii  perl                          5.26.0-8
ii  perl-base [perlapi-5.26.0]    5.26.0-8

libdbd-firebird-perl recommends no packages.

libdbd-firebird-perl suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list