[openssl-dev] Seg fault during make test

Viktor Dukhovni openssl-users at dukhovni.org
Mon May 4 16:06:48 UTC 2015


On Mon, May 04, 2015 at 02:37:54PM +0000, Salz, Rich wrote:

> >     printf("%d %d\n", sizeof(first), sizeof(second)); }
> 
> But the code does sizeof *first and sizeof *second

THe problem is a cut/paste error:

        memset(param, 0, sizeof *paramid);
        memset(paramid, 0, sizeof *paramid);

The first of these should be param, not paramid.

-- 
	Viktor.


More information about the openssl-dev mailing list