Package: tclcurl Version: 7.22.0+hg20160822-3+b1 Severity: important Tags: upstream
Dear Maintainer, tclcurl fails with a segmentation fault when option -writeproc is given a not trivial name or a wrong procedure name. Even though the reason of the segmentation fault (which prevents ordinary error handling) lies deeper in the Tcl library nonetheless TclCurl segfalts also when attempting to use valid object methods as callbacks. Interally the tclcurl treats them as single words that are non existing commands, which eventually brings about the segfault Notice that the function implementing the -readproc option is similarly structured and probably would fail likewise under the same conditions. I can provide a reimplementation of function curlWriteProcInvoke that seems to fix the problem -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.9.9-amd64 (SMP w/1 CPU thread; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages tclcurl depends on: ii libc6 2.39-4 ii libcurl3t64-gnutls 8.8.0-4 ii tcl 8.6.14 tclcurl recommends no packages. Versions of packages tclcurl suggests: pn libcurl4-gnutls-dev <none> -- no debconf information