Opened 13 years ago
Closed 13 years ago
#1540 closed defect (fixed)
[PATCH] Fix segfault in shp2pgsql-gui when no port is specified
Reported by: | rouault | Owned by: | mcayland |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.0 |
Component: | utils/loader-dumper | Version: | master |
Keywords: | Cc: |
Description
When setting up the connection parameters to the database in shp2pgsql-gui, if one doesn't specify a port, one get a segfault. Not specifing a port is perfectely valid for unix socket connections.
Attachments (1)
Change History (2)
by , 13 years ago
Attachment: | shp2pgsql-gui-noport.patch added |
---|
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Thanks for the report - yes, it was supposed to be allowed but there was an accidental NULL pointer dereference when the string was empty. Fix committed as r9032.