Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0000588 [1003.1(2008)/Issue 7] System Interfaces Objection Omission 2012-06-25 16:00 2019-06-10 08:55
Reporter geoffclare View Status public  
Assigned To ajosey
Priority normal Resolution Accepted  
Status Closed  
Name Geoff Clare
Organization The Open Group
User Reference
Section open_memstream
Page Number 1388
Line Number 45564
Interp Status ---
Final Accepted Text
Summary 0000588: Use of free() on buffer allocated by open_[w]memstream()
Description The APPLICATION USAGE section on the open_memstream() page says:

    The buffer created by these functions should be freed by the
    application after closing the stream, by means of a call to free().

However, there is nothing in normative text which requires
implementations to allow this buffer to be passed to free().
Desired Action Add a new paragraph to the end of the DESCRIPTION:

    After a successful fclose(), the pointer referenced by bufp can be
    passed to free().
Tags tc2-2008
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2012-06-25 16:00 geoffclare New Issue
2012-06-25 16:00 geoffclare Status New => Under Review
2012-06-25 16:00 geoffclare Assigned To => ajosey
2012-06-25 16:00 geoffclare Name => Geoff Clare
2012-06-25 16:00 geoffclare Organization => The Open Group
2012-06-25 16:00 geoffclare Section => open_memstream
2012-06-25 16:00 geoffclare Page Number => 1388
2012-06-25 16:00 geoffclare Line Number => 45564
2012-06-25 16:00 geoffclare Interp Status => ---
2012-06-28 16:28 Don Cragun Status Under Review => Resolved
2012-06-28 16:28 Don Cragun Resolution Open => Accepted
2012-06-28 16:28 Don Cragun Tag Attached: tc2-2008
2019-06-10 08:55 agadmin Status Resolved => Closed


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker