[redland-dev] [Redland librdf RDF API 0000603]: rasqal_ntriples.c:806: bad call to memset ?

Mantis Bug Tracker mantis-bug-sender at librdf.org
Sun Sep 20 08:35:01 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=603 
====================================================================== 
Reported By:                dcb314
Assigned To:                
====================================================================== 
Project:                    Redland librdf RDF API
Issue ID:                   603
Category:                   utilities
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-09-20 05:35
Last Modified:              2015-09-20 05:35
====================================================================== 
Summary:                    rasqal_ntriples.c:806: bad call to memset ?
Description: 
[rasqal_ntriples.c:806]: (warning) memset
() called to fill 0 bytes of '&'.

Source code is

  memset(&locator, sizeof(locator), '\0');

Maybe better code

  memset(&locator, '\0', sizeof(locator));

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-09-20 05:35 dcb314         New Issue                                    
======================================================================



More information about the redland-dev mailing list