libgcrypt 1.2.0 crash

low halo, Defender of Truth and Liberty lowhalo at hush.com
Sun Jul 4 04:35:22 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



A bug in my base64 functions triggered this crash.  Sorry, but
I don't have the exact input that caused it.  I hope this backtrace
helps anyway:


Program received signal SIGFPE, Arithmetic exception.
0x40058b7f in gcry_mpi_powm (res=0x805a798, base=0x805a810, expo=0x1,

    mod=0x805a860) at mpi-pow.c:73
73      mpi-pow.c: No such file or directory.
        in mpi-pow.c
(gdb) bt full
#0  0x40058b7f in gcry_mpi_powm (res=0x805a798, base=0x805a810,
expo=0x1,
    mod=0x805a860) at mpi-pow.c:73
        rp = 0x805a878
        ep = 0x0
        bp = 0x4006c570
        esize = 0
        msize = 0
        bsize = -1073747032
        rsize = 0
        msign = 0
        bsign = 1074185584
        rsign = 1077057184
        esec = 0
        msec = 0
        bsec = 0
        rsec = 0
        mod_shift_cnt = 1073868800
        negative_result = 3004
        mp_marker = 0x400147a0
        bp_marker = 0x0
        ep_marker = 0x0
        xp_marker = 0x0
        mp_nlimbs = 0
- ---Type <return> to continue, or q <return> to quit---
        bp_nlimbs = 0
        ep_nlimbs = 0
        xp_nlimbs = 0
        assign_rp = 0
        tspace = 0x0
        tsize = 0
#1  0x4004bbe9 in check_secret_key (sk=0xbfffec40) at dsa.c:280
        rc = -1073746880
        y = 0x805a798
#2  0x4004bfb1 in _gcry_dsa_check_secret_key (algo=17, skey=0x1)
at dsa.c:405
        err = GPG_ERR_NO_ERROR
        sk = {p = 0x805a860, q = 0x805a838, g = 0x805a810, y =
0x805a7e8,
  x = 0x805a7c0}
#3  0x4002c027 in pubkey_check_secret_key (algorithm=17, skey=0x1)
    at pubkey.c:506
        err = GPG_ERR_PUBKEY_ALGO
        pubkey = 0x8057178
#4  0x4002e448 in gcry_pk_testkey (s_key=0x1) at pubkey.c:1760
        module = 0x8057178
        key = (gcry_mpi_t *) 0x805a888
        rc = GPG_ERR_NO_ERROR

  - low halo

- --
low halo <lowhalo at-s1gn hacktivismo d0t c0m>
Defender of Truth and Liberty
http://ultramagnetic.sourceforge.net/
http://www.hacktivismo.com/

http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x3AFB17F6
9AB1 FF04 016F 89A3 5B4E  A585 BDBB 5FBE 3AFB 17F6


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Your Mother)

iD8DBQFA52wQvbtfvjr7F/YRAtQFAJwPOdVzPMLzGxbnqYh1xqh/qVMWbgCgg3RL
5MekGDAVBNLgoZdH2byUy9E=
=1Gsv
-----END PGP SIGNATURE-----




Concerned about your privacy? Follow this link to get
secure FREE email: http://www.hushmail.com/?l=2

Free, ultra-private instant messaging with Hush Messenger
http://www.hushmail.com/services-messenger?l=434

Promote security and make money with the Hushmail Affiliate Program: 
http://www.hushmail.com/about-affiliate?l=427



More information about the Gcrypt-devel mailing list