Projects
Multimedia
libmp3splt
libmp3splt-fix_swapped_memset_args.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libmp3splt-fix_swapped_memset_args.patch of Package libmp3splt (Revision 6)
Currently displaying revision
6
,
Show latest
--- src/tags_utils.c.orig 2011-05-11 22:41:15.000000000 +0200 +++ src/tags_utils.c 2011-05-11 22:42:00.000000000 +0200 @@ -307,7 +307,7 @@ return NULL; } - memset(tags, sizeof(splt_tags), '\0'); + memset(tags, '\0', sizeof(splt_tags)); splt_tu_reset_tags(tags); @@ -457,7 +457,7 @@ err = splt_su_append(&word_with_tags, buffer, counter, NULL); if (err != SPLT_OK) { goto error; } - memset(buffer, 256, '\0'); + memset(buffer, '\0', 256); counter = 0; ptr++; @@ -533,7 +533,7 @@ { err = splt_su_append(&word_with_tags, buffer, counter, NULL); if (err != SPLT_OK) { goto error; } - memset(buffer, 256, '\0'); + memset(buffer, '\0', 256); counter = 0; } }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.