[Bug 724517] Re: isql segfaults in batch mode

2011-11-17 Thread Kyle Strickland
I don't know why I didn't see this before, but the bug seems to come
from an extra variable declaration in an inner scope.  Removing that
declaration fixed the problem.

** Patch added: "Patch to remove errant variable declarations"
   
https://bugs.launchpad.net/ubuntu/+source/unixodbc/+bug/724517/+attachment/2599627/+files/fix-scope-bug.diff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to unixodbc in Ubuntu.
https://bugs.launchpad.net/bugs/724517

Title:
  isql segfaults in batch mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unixodbc/+bug/724517/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 724517] [NEW] isql segfaults in batch mode

2011-02-24 Thread Kyle Strickland
Public bug reported:

Binary package hint: unixodbc

Ubuntu 10.10, unixodbc_2.2.14p2-1ubuntu1

Steps to reproduce:
* run "isql -b MyDSN MyUID MyPWD"
* enter any SQL statement on one line, or nothing at all
* press Ctrl-D (EOF)
"Segmentation fault"

I had this occur both with FreeTDS and with IBM iSeries ODBC driver.
Crash occurs at line 264 of isql.c, apparently due to a null pointer
dereference.

Thanks!

** Affects: unixodbc (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to unixodbc in ubuntu.
https://bugs.launchpad.net/bugs/724517

Title:
  isql segfaults in batch mode

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 724517] Re: isql segfaults in batch mode

2011-03-01 Thread Kyle Strickland
** Attachment added: "Shows isql crashing in batch mode, with no commands 
having been entered, as soon as ctrl-d is pressed."
   
https://bugs.launchpad.net/ubuntu/+source/unixodbc/+bug/724517/+attachment/1878692/+files/gdb-isql.txt

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to unixodbc in ubuntu.
https://bugs.launchpad.net/bugs/724517

Title:
  isql segfaults in batch mode

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs