[openssl-users] Core dump on DSA_free -- libssl.so.1.0.0

Salz, Rich rsalz at akamai.com
Fri Aug 11 18:57:07 UTC 2017


> DSA *pDSA = d2i_DSA_PUBKEY(NULL, (const unsigned char **) &pKey, dwKeySize);

Where and how is pKey set?  Not that the manpage says it's incremented to point *past* the object, so you need something like
	unsigned char data = .....whatever your data source is .....
	unsigned char *pKey = data
and then use &pKey in your call



More information about the openssl-users mailing list