[gdal-dev] INST_DATA and 1.5.2

Andrea Battisti battisti at actgate.com
Thu May 22 08:26:25 EDT 2008


[...]
>
> Also, I am interested in issuing a 1.5.2 GDAL release this week or early
> next.  I would like to prepare a release candidate tomorrow.  Is 
> anyone aware
> of critical fixes that should be done before a 1.5.2 release?
>
>

I noticed the following glitch (using the 1.5 branch):

OGRDataSource *poDS;

[...]

OGRLayer *rs = poDS->ExecuteSQL( sql_query, NULL, "" );

Ends up in a crash if the first argument is an empty string, i.e. 
strlen( sql_query ) == 0


The problem seems to show up in:
file: ogr/swq.c
function: swq_select_preparse() (maybe the current token could become 
NULL if the select_statement is empty ?)

I haven't filed filing a ticket because I'm not sure this is confirmed.


Thanks in advance,

-- 
Andrea Battisti
Applied Coherent Technology Corp.



More information about the gdal-dev mailing list