[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6982) libutil md5 incorrect sizeof



Full_Name: Quanah Gibson-Mount
Version: 2.4.25
OS: NA
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (75.111.45.108)


Line 188 in liblutil/md5.c is wrong.  It has:

memset(ctx, '\0', sizeof(ctx)); /* In case it's sensitive */

It should be:

memset(ctx, '\0', sizeof(*ctx)); /* In case it's sensitive */