[postgis-users] pgsql2shp bug

strk at refractions.net strk at refractions.net
Tue Jul 12 09:21:02 PDT 2005


On Tue, Jul 12, 2005 at 05:13:36PM +0100, Andrew Seales wrote:
...
> Line 3106 currently reads
> 	query = malloc(sizeof(table)+sizeof(usrquery)+256);
> 
> and I think it should be
> 
> 	query = malloc(strlen(table)+strlen(usrquery)+25);
> 
> (25 being the size of the string from the next line)

Fixed, thanks.
--strk;



More information about the postgis-users mailing list