Ticket #2132 (closed defect: fixed)
Invalid pointer access in msGetEncodedString()
| Reported by: | dmorissette | Owned by: | dmorissette |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | MapServer C Library | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | sdlime |
Description
Using valgrind I found that msGetEncodedString() will sometimes allocate a 0-size buffer for the output strng if the input string len is 0. This can lead to invalid memory writes.
Change History
Note: See
TracTickets for help on using
tickets.
