Hello Andrew,
given a SQL table with a text column. When reading a text of 0 length
with ODBC, SQLFetch returns output length -1. This leads to a
segmentation fault in glpsql.c in statement
strncpy(buf, (const char *) sql->data[i], len);
Please, apply the following patch
http://glpk.dyndns.org/viewvc/svn/glpk/glpk/branches/glpk-4.31-segmentation_fault/src/glpsql.c?view=diff&r1=288&r2=286&diff_format=h
Best regards
Xypron
_______________________________________________
Bug-glpk mailing list
Bug-glpk@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-glpk