Comment 6 for bug 1273196

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

I added abort() in error handling path of xb_crypt_read_chunk.

Here is the backtrace:

Thread 1 (Thread 0x7f88c4bdf740 (LWP 19526)):
#0 0x00007f88c3370369 in raise () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x00007f88c3371768 in abort () from /usr/lib/libc.so.6
No symbol table info available.
#2 0x00000000004040fc in xb_crypt_read_chunk (crypt=crypt@entry=0x2511ab0, buf=buf@entry=0x7fff43c7e800, olen=olen@entry=0x7fff43c7e820, elen=elen@entry=0x7fff43c7e810, iv=iv@entry=0x7fff43c7e830,
    ivlen=ivlen@entry=0x7fff43c7e840) at xbcrypt_read.c:244
        tmpbuf = "\020\000CRYP02\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\001\000\000\000\000\000\361\343\200\002"
        ptr = <optimized out>
        tmp = <optimized out>
        checksum = <optimized out>
        checksum_exp = <optimized out>
        version = <optimized out>
        bytesread = <optimized out>
        result = <optimized out>
        __FUNCTION__ = "xb_crypt_read_chunk"
#3 0x0000000000402f57 in mode_decrypt (fileout=1, filein=0) at xbcrypt.c:346
        xbcrypt_file = 0x2511ab0
        ivbuf = 0x0
        ivsize = 0
        cipher_handle = 0x25114b0
        chunkbuf = 0x0
        chunksize = 0
        originalsize = 0
        decryptbuf = 0x2521b20
        decryptbufsize = 65536
        ttlbytesread = 32441550
        ttlchunksread = 525
        result = <optimized out>
        gcry_error = <optimized out>
#4 main (argc=0, argv=0x7fff43c7ea00) at xbcrypt.c:248
        gcry_error = <optimized out>
        filein = 0
        fileout = 1