Bug#1053484: tclodbc: Off-by-one error in SQLDescribeParam() call

2023-10-04 Thread Christian Werner
Package: tclodbc
Version: any
Severity: important
X-Debbugs-Cc: christian.wer...@t-online.de

Dear Maintainer,

according to its description, the SQLDescribeParam() ODBC API counts
the parameter numbers starting with 1. However, in the statemnt.cxx
a loop over the parameters of a query is run starting with 0 as
parameter number. In consequence, data type mapping of the client
parameters to the query might become wrong heavily depending on the
actual query itself. Problem can be easily resolved by changing

 SQLDescribeParam(..., i, ...);

to

 SQLDescribeParam(..., i+1, ...);

BR,
Christian

-- System Information:
Debian Release: 11.7
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500,
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-25-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tclodbc depends on:
ii  libc62.31-13+deb11u6
ii  libgcc-s1 [libgcc1]  10.2.1-6
ii  libgcc1  1:8.3.0-6
ii  libodbc1 2.3.6-0.1+b1
ii  libstdc++6   10.2.1-6
ii  odbcinst1debian2 2.3.6-0.1+b1
ii  tcl  8.6.11+1

tclodbc recommends no packages.



Bug#719441: tclcurl: Segmentation Fault when writeheader and headervar are used

2015-10-17 Thread Christian Werner

The following patch from www.androwish.org should fix this issue

   
https://www.androwish.org/index.html/vpatch?from=e4864fde820aac71&to=ce9a5b5886ac7381

Regards,
Christian Werner



Bug#801734: tclcurl: file output lost if -file option is used

2015-10-17 Thread Christian Werner

The following patch from www.androwish.org should fix this issue

   
https://www.androwish.org/index.html/vpatch?from=9afc8918cdeec6d7&to=e4864fde820aac71

Hopefully tclcurl will remain in Debian.

Regards,
Christian Werner



Bug#771669: segfaults with trivial usage

2014-12-29 Thread Christian Werner

On 12/01/2014 02:38 PM, Lionel Elie Mamane wrote:

Hi Christian,

May I draw your attention on Debian bug number 771669, which I quote
below and which can be read in full at http://bugs.debian.org/771669 ?

It was reported against 0.992, but I have reproduced it with 0.999
(which I'm shortly going to upload to Debian).
...


Hey Lionel,

should be fixed with version 0.9991, please update.

Best regards,
Christian


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org