[redland-dev] [Rasqal RDF Query Library 0000494]: Temp buffer to small.

Mantis Bug Tracker mantis-bug-sender at librdf.org
Sat Feb 18 22:55:50 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=494 
====================================================================== 
Reported By:                dbrnz
Assigned To:                
====================================================================== 
Project:                    Rasqal RDF Query Library
Issue ID:                   494
Category:                   query engine
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Query Language:              
====================================================================== 
Date Submitted:             2012-02-19 03:55
Last Modified:              2012-02-19 03:55
====================================================================== 
Summary:                    Temp buffer to small.
Description: 
In rasqal_datetime.c on line 954 (of current git HEAD) is the comment:

    /* Max len 9 "SS.UUUUUU\0" */

followed by:

    char str[9];

I count 10 characters if the terminating NUL is included! (And yes, stack
allocators will word align, and there is nothing following on the stack,
but..!).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-02-19 03:55 dbrnz          New Issue                                    
======================================================================



More information about the redland-dev mailing list