Re: [PATCH] 0.91 segfault in SQLTables
"James K. Lowden" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2 Aug 2012 10:23:19 +0200 Lionel Elie Mamane <[email protected]> wrote: > Attached is the patch I apply to my local copy of FreeTDS. It solves a > segfault when connecting to MS SQL Server or Sybase SQL Anywhere from > LibreOffice, when LibreOffice calls SQLTables(). Applied with modification to master branch. A quick search for param_qualifier in that function shows it's initialized to -1 and used in that loop before being set. An index of -1 is rarely a good idea. ;-) Thanks for the patch! --jkl