-
Bug
-
Resolution: Not a Bug
-
Major
-
rhel-8.2.0
-
None
-
Important
-
2
-
rhel-sst-pt-libraries
-
ssg_platform_tools
-
5
-
False
-
-
Yes
-
SST PT Libraries Sprint 10, SST PT Libraries Sprint 11
-
None
-
None
-
Bug Fix
-
-
Proposed
-
-
All
-
None
Current output:
"""
Running test: fopen()
position after fwrite: 24
position after SEEK_END: 24
Running test: fmemopen()
position after fwrite: 24
position after SEEK_END: 24
Running test: open_memstream()
position after fwrite: 24
position after SEEK_END: 4
open_memstream() final buffer size: 4
"""
Expected ouput:
"""
Running test: fopen()
position after fwrite: 24
position after SEEK_END: 24
Running test: fmemopen()
position after fwrite: 24
position after SEEK_END: 24
Running test: open_memstream()
position after fwrite: 24
position after SEEK_END: 24
open_memstream() final buffer size: 24
"""
The seek to the start of the buffer, and write data smaller than
the stream length truncates the memory stream.
- is triggering
-
RHEL-61087 Document behavior of open_memstream wrt SEEK_END [rhel-9]
- Planning
-
RHEL-65838 Document behavior of open_memstream wrt SEEK_END [rhel-10]
- Planning
- external trackers