Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
flickcurl
flickcurl-wrong-memset.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File flickcurl-wrong-memset.patch of Package flickcurl
Index: flickcurl-1.21/src/common.c =================================================================== --- flickcurl-1.21.orig/src/common.c +++ flickcurl-1.21/src/common.c @@ -2291,7 +2291,7 @@ flickcurl_photos_list_params_init(flickc if(!list_params) return 1; - memset(list_params, '\0', sizeof(list_params)); + memset(list_params, '\0', sizeof(flickcurl_photos_list_params)); list_params->version = 1; list_params->extras = NULL; Index: flickcurl-1.21/src/md5.c =================================================================== --- flickcurl-1.21.orig/src/md5.c +++ flickcurl-1.21/src/md5.c @@ -221,7 +221,7 @@ static void MD5Final(struct MD5Context * MD5Transform(ctx->buf, (u32 *) ctx->in); byteReverse((unsigned char *) ctx->buf, 4); memcpy(ctx->digest, ctx->buf, 16); - memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ + memset(ctx, 0, sizeof(struct MD5Context)); /* In case it's sensitive */ }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor