Source: srtp
Version: 1.4.4~dfsg-7
Justification: fails to build from source
Severity: serious

'make runtests' fails with a bus error at running

  ./crypto/tests/cipher_driver -v

The null cipher works fine. aes_icm causes the bus error.

Same error seems to be present in all past versions:
https://buildd.debian.org/status/logs.php?pkg=srtp&arch=sparc

This can be reproduced by running it from the build tree.

Backtrace:

(gdb bt
#0  aes_encrypt (plaintext=0x3204c, exp_key=0x3205c)
    at crypto/cipher/aes.c:1916
#1  0x000162c4 in aes_icm_advance_ismacryp (c=0x3202c,
    buf=<value optimized out>, enc_len=0xffffd4c0, forIsmacryp=0)
    at crypto/cipher/aes_icm.c:290
#2  aes_icm_encrypt_ismacryp (c=0x3202c, buf=<value optimized out>,
    enc_len=0xffffd4c0, forIsmacryp=0) at crypto/cipher/aes_icm.c:372
#3  0x000147b8 in cipher_type_self_test (ct=0x301c8)
    at crypto/cipher/cipher.c:148
#4  0x000137b4 in cipher_driver_self_test (argc=2, argv=0xffffd824)
    at crypto/test/cipher_driver.c:243
#5  main (argc=2, argv=0xffffd824) at crypto/test/cipher_driver.c:178


(gdb) bt full
#0  aes_encrypt (plaintext=0x3204c, exp_key=0x3205c)
    at crypto/cipher/aes.c:1916
No locals.
#1  0x000162c4 in aes_icm_advance_ismacryp (c=0x3202c,
    buf=<value optimized out>, enc_len=0xffffd4c0, forIsmacryp=0)
    at crypto/cipher/aes_icm.c:290
No locals.
#2  aes_icm_encrypt_ismacryp (c=0x3202c, buf=<value optimized out>,
    enc_len=0xffffd4c0, forIsmacryp=0) at crypto/cipher/aes_icm.c:372
        bytes_to_encr = 32
        i = 0
#3  0x000147b8 in cipher_type_self_test (ct=0x301c8)
    at crypto/cipher/cipher.c:148
        test_case = 0x301a8
        c = 0x32020
        status = err_status_ok
        buffer = '\000' <repeats 32 times>, 
"(\353\325\376\354\371\232\253\fܹ\222\003<\371\070S\240\222`\030\261\326=k\250\355q\247\230@d",
'\000' <repeats 20 times>"\367, 
\372p\000\000\000\000\002\377\377\330$\000\001\313\b", '\000' <repeats 12 
times>"\377, \377\325\350\367\356\373\274\000\000\000\000\000\000\000"
        buffer2 = 
"ā\342\372!\362\034\362\306{\206\234\356u\363\027\237\005\023\321)\204\\\234\374\376\006ڿ\n\024Y(\353\325\376\354\371\232\253\fܹ\222\003<\371\070S\240\222`\030\261\326=k\250\355q\247\230@",
 '\000' <repeats 13 times>"\367, 
\372p\000\000\000\000\002\377\377\330$\000\001\313\b", '\000' <repeats 12 
times>"\367, \350ր\367\372\215 
\377\377\325@\377\377פ\367\374\200\000\000\000\000"
        len = 32
        i = <value optimized out>
        case_num = 0
#4  0x000137b4 in cipher_driver_self_test (argc=2, argv=0xffffd824)
    at crypto/test/cipher_driver.c:243
        status = <value optimized out>
#5  main (argc=2, argv=0xffffd824) at crypto/test/cipher_driver.c:178
        c = 0x0
        status = <value optimized out>
        test_key = 
"\000\001\002\003\004\005\006\a\b\t\n\v\f\r\016\017\020\021\022\023"
        q = <value optimized out>
        do_timing_test = 0
        do_validation = 1
        do_array_timing_test = <value optimized out>

-- 
Tzafrir Cohen         | tzaf...@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzaf...@cohens.org.il |                    |  best
tzaf...@debian.org    |                    | friend



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to