#5931 closed enhancement (fixed)
Replace strdup() to CPLStrdup()
Reported by: | yzhong | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 2.0.0 |
Component: | default | Version: | svn-trunk |
Severity: | normal | Keywords: | strdup |
Cc: |
Description
The strdup() API is deprecated under Windows. I ma having memory heap corruption isssue under Windows 8. A while a go, I file a ticket about this. But I missed one strdup() in gdal/port/cpl_vsisimple.cpp. Apparently, it is also problematic. I have replace it with CPLStrdup() and everything works fine afterwords.
Attachments (1)
Change History (3)
by , 9 years ago
Attachment: | strdup.diff added |
---|
comment:1 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Slightly differently implemented in r28971