[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-glpk] Segmentation fault in table IN with if output length is zero
From: |
Xypron |
Subject: |
[Bug-glpk] Segmentation fault in table IN with if output length is zero |
Date: |
Sun, 28 Sep 2008 20:09:03 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.17) Gecko/20080829 SeaMonkey/1.1.12 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-glpk] Segmentation fault in table IN with if output length is zero,
Xypron <=