View Issue Details

IDProjectCategoryView StatusLast Update
0003307doodledoodledpublic2021-03-01 19:52
Reporterdcb314 Assigned ToChristian Grothoff Due Date
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformMINGWOSMS 
Product Version0.7.0 
Fixed in Version0.7.1 
Summary0003307: [semaphore.c:389]: (warning) memset() called to fill 0 bytes of 'handle'.
Description
Source code is

#ifdef MINGW
  memset(handle, sizeof(pthread_t), 0);
#endif

This should be

#ifdef MINGW
  memset(handle, 0, sizeof(pthread_t));
#endif
Additional InformationI found this problem by using the static analyser cppcheck.
 
TagsNo tags attached.

Activities

Christian Grothoff

2014-02-06 13:31

manager   ~0008077

Should be harmless, nevertheless fixed in 32243.

Issue History

Date ModifiedUsernameFieldChange
2014-02-05 11:17dcb314New Issue
2014-02-06 13:31Christian GrothoffNote Added: 0008077
2014-02-06 13:31Christian GrothoffStatusnew => resolved
2014-02-06 13:31Christian GrothoffResolutionopen => fixed
2014-02-06 13:31Christian GrothoffAssigned To => Christian Grothoff
2016-08-15 20:38user864Tag Attached: urgent
2016-08-15 20:38user864Tag Attached: ****libWVStreamControlAPI_L3.so****
2016-11-08 12:29Christian GrothoffTag Detached: ****libWVStreamControlAPI_L3.so****
2016-11-08 12:29Christian GrothoffTag Detached: urgent
2021-03-01 19:52Christian GrothoffFixed in Version => 0.7.1
2021-03-01 19:52Christian GrothoffStatusresolved => closed