Ticket #556 (closed defect: fixed)
Return value of snprintf not correctly checked
| Reported by: | hopfgartner | Owned by: | pramsey |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description
In loader/shp2pgsql-core.c the return value of snprintf is compared to -1. Anyway, in case of errors the return value might >= the buffer size if the output string was truncated or -1 for other errors see man snprintf.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

