Your message dated Mon, 28 Aug 2017 12:34:28 +0000
with message-id <[email protected]>
and subject line Bug#873120: fixed in 389-ds-base 1.3.6.7-3
has caused the Debian Bug report #873120,
regarding 389-ds-base: FTBFS on various architectures: 
test_plugin_pwdstorage_pbkdf2_rounds fails
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.)


-- 
873120: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873120
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: 389-ds-base
Version: 1.3.6.7-2
Severity: serious
Tags: sid buster

Hi,

389-ds-base FTBFS on various architectures (including armel, i386 and
mips) with this error:
> [==========] Running 3 test(s).
> [ RUN      ] test_plugin_hello
> [       OK ] test_plugin_hello
> [ RUN      ] test_plugin_pwdstorage_pbkdf2_auth
> [       OK ] test_plugin_pwdstorage_pbkdf2_auth
> [ RUN      ] test_plugin_pwdstorage_pbkdf2_rounds
> [  ERROR   ] --- pbkdf2_sha256_calculate_iterations(100000000) == 20000
> [   LINE   ] --- ../test/plugins/pwdstorage/pbkdf2.c:70: error: Failure!
> [  FAILED  ] test_plugin_pwdstorage_pbkdf2_rounds
> [==========] 3 test(s) run.
> [  PASSED  ] 2 test(s).
> [  FAILED  ] 1 test(s), listed below:
> [  FAILED  ] test_plugin_pwdstorage_pbkdf2_rounds

This happens because the prototype of the
pbkdf2_sha256_calculate_iterations function:
> ldap/servers/plugins/pwdstorage/pwdstorage.h
> 95:PRUint32 pbkdf2_sha256_calculate_iterations();

does not match the type of the definition:
> ldap/servers/plugins/pwdstorage/pbkdf2_pwd.c
> 261:pbkdf2_sha256_calculate_iterations(uint64_t time_nsec)

When the test calls this function with an integer argument, the "default
integer promotions" will apply promoting it to an int. Therefore on
every architecture where int != uint64_t (pretty much everything), this
function call will invoke undefined behavior by having the wrong
argument types.

Thanks,
James

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: 389-ds-base
Source-Version: 1.3.6.7-3

We believe that the bug you reported is fixed in the latest version of
389-ds-base, 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.
Timo Aaltonen <[email protected]> (supplier of updated 389-ds-base 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, 28 Aug 2017 15:09:02 +0300
Source: 389-ds-base
Binary: 389-ds 389-ds-base-libs 389-ds-base-dev 389-ds-base
Architecture: source
Version: 1.3.6.7-3
Distribution: unstable
Urgency: medium
Maintainer: Debian 389ds Team 
<[email protected]>
Changed-By: Timo Aaltonen <[email protected]>
Description:
 389-ds     - 389 Directory Server suite - metapackage
 389-ds-base - 389 Directory Server suite - server
 389-ds-base-dev - 389 Directory Server suite - development files
 389-ds-base-libs - 389 Directory Server suite - libraries
Closes: 873120
Changes:
 389-ds-base (1.3.6.7-3) unstable; urgency=medium
 .
   * ftbfs-fix.diff: Fix build. (Closes: #873120)
Checksums-Sha1:
 641c879871670ba103ea730198326b06ad11bf5d 2563 389-ds-base_1.3.6.7-3.dsc
 f3bf3a74e84c62fe0d3d99ee6abcbbe47bf3684c 20588 
389-ds-base_1.3.6.7-3.debian.tar.xz
Checksums-Sha256:
 38040231c6837e46572b0d1c8e0532c71ecbc4ba3ea41d6a177a8b2be1e9e80d 2563 
389-ds-base_1.3.6.7-3.dsc
 14a5cc8689242e5f2548b6840bb2d85c88ebd892e4f9aaa4009568a09af3c9b4 20588 
389-ds-base_1.3.6.7-3.debian.tar.xz
Files:
 1ac33513d70c49d77b02486a520b3bdc 2563 net optional 389-ds-base_1.3.6.7-3.dsc
 67d099b14cb915e6331c49b9b2be5fa2 20588 net optional 
389-ds-base_1.3.6.7-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJZpAfxAAoJEMtwMWWoiYTcQSEP+wcwl2uQpv38jXAjBu3A8nyL
P22vVeduxYGQtUhmu7EYlDOFJTtdNtcZKg7qCP+2V6ohY2/DuBf9vV+SsVPbioGl
XTSFMott9JCOmHMzmAmw+s1WWAiWYMc3yqKyXbQ4qPjQ4xbdU0IVtOu3JQGJlQq3
eiiM2oYJzfDvsoXo+cAFZ2tjIWQ9yseQx2RB26Yp7lk/zTHdlAR1a/axlDMFP78C
Uz7kkGVRNmQkdhuFmn3VbL6fLIqz+xaRkg6kuuF7cmL/u1d1k7lkEqxpMPoxOxT+
WLCTpFuidHES+L+mKnDAm5i/vn+ZVVHcFSvbzz2QGVnewZGXJykk81jxcv4sMrSQ
YfaU0lFKegc7ffIn6T8/h5jSLimqJTj0aLceCMgk9HaNmK29j3jN2VyplDuNoLfF
FRseWqsFKdGPq856VJecmtFS4NehbvdHdX5YPkjOK8RK6zR+ggNPED0Sz+mFaXHB
HDScopwxkfIEFkLTMAqUKUPpMqmI9Tf/xQbutN+tq1/oCvUBxQJhk6+j8SpsxtaU
rTvUNllQyOUh7Vs4WijETVSLNlVgc3lLvW1YMQ2ZYkMPukIcGwMkME/JR2cLrFTl
QtfmCZdbRFEg7kskzGjd41FS1h5XG5mJ/yEzdJGrWiqn4wyyveY7Uh42wxcWOXP3
rIpuMQBTMb6D/3sJkbHt
=nQAz
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to