Opened 13 years ago
Last modified 13 years ago
#3989 new defect
ioGetStdoutBufferString() not binary-enabled
Reported by: | jfgigand | Owned by: | aboudreault |
---|---|---|---|
Priority: | normal | Milestone: | 6.0.2 release |
Component: | MapScript-PHP | Version: | 6.0 |
Severity: | normal | Keywords: | |
Cc: | dmorissette, sdlime |
Description
The ioGetStdoutBufferString() PHP/MapScript function does not work with binary data, since RETURN_STRING() assumes a \0 byte for the end.
Attached is a patch replacing it with RETURN_STRINGL() which takes a length argument instead of relying on strlen() (tested successfully on a private project).
Attachments (1)
Change History (3)
by , 13 years ago
Attachment: | mapserver_fix_php_ms_ioGetStdoutBufferString.diff added |
---|
comment:1 by , 13 years ago
Cc: | added |
---|---|
Owner: | changed from | to
comment:2 by , 13 years ago
Component: | MapServer C Library → MapScript-PHP |
---|
Note:
See TracTickets
for help on using tickets.