Please sync myodbc (3.51.19r646-1) from Debian unstable

Bug #320501 reported by robiwan
4
Affects Status Importance Assigned to Milestone
myodbc (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: libmyodbc

Version currently (intrepid/jaunty) is 3.51.15r409-2 which seems to have issues with mysql_odbc_escape_string() function (which from 3.51.17 is removed) causing crashes when using SQL parameters (see below). Please update to latest libmyodbc driver.

*** glibc detected *** ./built_components/dtl_test: realloc():
invalid next size: 0x00000000007240a0 ***
======= Backtrace: =========
/lib/libc.so.6[0x7fad9fdcee02]
/lib/libc.so.6(realloc+0x130)[0x7fad9fdd0ea0]
/usr/lib/libmysqlclient_r.so.15(my_realloc+0x30)[0x7fad9e717550]
/usr/lib/libmysqlclient_r.so.15(net_realloc+0x62)[0x7fad9e740c32]
/usr/lib/odbc/libmyodbc.so(extend_buffer+0x41)[0x7fad9eadacd1]
/usr/lib/odbc/libmyodbc.so[0x7fad9eadad1c]
/usr/lib/libmysqlclient_r.so.15(mysql_odbc_escape_string+0x173)
[0x7fad9e710493]
/usr/lib/odbc/libmyodbc.so(insert_param+0x478)[0x7fad9eadb218]
/usr/lib/odbc/libmyodbc.so(insert_params+0x82)[0x7fad9eadb502]
/usr/lib/odbc/libmyodbc.so(my_SQLExecute+0x185)[0x7fad9eadbc05]
/usr/lib/odbc/libmyodbc.so(SQLExecDirect+0x19)[0x7fad9eadbc79]
/usr/lib/libodbc.so.1(SQLExecDirect+0xef)[0x7fada0a758af]
./built_components/dtl_test(_ZN3dtl6DBStmt7ExecuteEv+0x140)[0x48e2fe]

Revision history for this message
Julien Lavergne (gilir) wrote :

Please sync myodbc (3.51.19r646-1) from Debian unstable, all changes was merged on Debian.

It build fine with a karmic pbuilder.

Last Debian changelog entries:

myodbc (3.51.19r646-1) unstable; urgency=low

  * New upstream release
    - fix build failure with current libmysqlclient. Closes: #521185.
  * Fix lintian warnings about ignoring errors in postinst, config scripts.

 -- Steve Langasek <email address hidden> Sun, 10 May 2009 03:07:47 -0700

Last Ubuntu changelog entries:

myodbc (3.51.15r409-4ubuntu1) intrepid; urgency=low

  * driver/execute.c: backport a fix from new upstream version to allow
    compilation against new MySQL (LP: #270687).

 -- Luca Falavigna <email address hidden> Sat, 11 Oct 2008 12:08:12 +0200

summary: - libmyodbc should be updated
+ Please sync myodbc (3.51.19r646-1) from Debian unstable
Changed in myodbc (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Sync request ACKed.

Changed in myodbc (Ubuntu):
status: New → Confirmed
Revision history for this message
Steve Langasek (vorlon) wrote :

[Updating] myodbc (3.51.15r409-4ubuntu1 [Ubuntu] < 3.51.19r646-1 [Debian])
 * Trying to add myodbc...
  - <myodbc_3.51.19r646-1.diff.gz: downloading from http://ftp.debian.org/debian/>
  - <myodbc_3.51.19r646.orig.tar.gz: downloading from http://ftp.debian.org/debian/>
  - <myodbc_3.51.19r646-1.dsc: downloading from http://ftp.debian.org/debian/>
I: myodbc [universe] -> libmyodbc_3.51.15r409-4ubuntu1 [universe].

Changed in myodbc (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.