Anonymous | Login | 2024-04-26 21:47 UTC |
Main | My View | View Issues | Change Log | Docs |
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 | |||||||
|
There are no notes attached to this issue. |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |