Project

General

Profile

Actions

Bug #445

open

OFSTRINGSTREAM_GETSTR() can't handle embeded NULL bytes correctly

Added by Uli Schlachter almost 13 years ago. Updated over 5 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Library and Apps
Target version:
-
Start date:
2012-09-19
Due date:
% Done:

0%

Estimated time:
Module:
all
Operating System:
Compiler:

Description

This is not really a bug, but "lots of possible bugs".

For an example on how this can go wrong:
http://git.dcmtk.org/web?p=dcmtk.git;a=commit;h=eaf92ddd89ffdba7a245e7f691e81e83e6f943f6

Suggested solution: Get rid of OFSTRINGSTREAM_GETSTR() and use OFSTRINGSTREAM_GETOFSTRING() everywhere instead. Which sounds like lots of work.

Actions

Also available in: Atom PDF