Ignore:
Timestamp:
Oct 8, 2013 11:13:11 AM (11 years ago)
Author:
bennylp
Message:

Re #1703 General bug fixes: fixed wrong sizeof() in call to bzero(), memset(), or memcpy()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/md5.c

    r1001 r4614  
    158158    byteReverse((unsigned char *) ctx->buf, 4); 
    159159    pj_memcpy(digest, ctx->buf, 16); 
    160     pj_bzero(ctx, sizeof(ctx)); /* In case it's sensitive */ 
     160    pj_bzero(ctx, sizeof(*ctx));        /* In case it's sensitive */ 
    161161} 
    162162 
Note: See TracChangeset for help on using the changeset viewer.