Package: tdbcmysql / 1.0.4-4

Metadata

Package Version Patches format
tdbcmysql 1.0.4-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix unbound array index | (download)

generic/mysqlStubInit.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix upstream bug with array index
 A wrong index coding selects the wrong array element and potentially causes also
 unbound memory access
addlibmysqlclient20 | (download)

generic/mysqlStubInit.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 support for libmysqlclient20
 Debian Mysql 5.7 is still in experimental, but Ubuntu Xenial is already shipping it.
 We have to provide support for the libmysqlclient library shipped by this version
 of Mysql, still retaining the ability to load libmysqlclient18 or earlier versions
 if we are running Debian jessie or stretch
numeric expression expected | (download)

doc/tdbc_mysql.n | 14 7 + 7 - 0 !
1 file changed, 7 insertions(+), 7 deletions(-)

 list macro .ip confused by missing argument delimiters
safe_int_to_ptr | (download)

generic/tdbcmysql.c | 28 20 + 8 - 0 !
1 file changed, 20 insertions(+), 8 deletions(-)

 potentially unsafe pointer to int assignments
 pointer values are repeatedly assigned to int variables causing
 a potential loss of information and making GCC complain about it.
 We coped with the problem using intptr_t which is guaranteed to be
 the same size of a pointer (defined in <stdint.h>). 
 We check for HAVE_STDINT_H to define a TDBC_INTPTR_T data type
 and in case the test fails we revert to the original int definition