Package: tclcurl
Version: 7.19.6-1
Severity: normal
If a curl handle is configured with the -writeheader option, and then
later configured using the -headervar option, a segmentation fault
occurs. This is somewhat similar to bug 680662, in the sense that one
option breaks when combined with another. Here is a small script to
demonstrate the problem:
#!/usr/bin/tclsh8.5
package require TclCurl
set curlHandle [::curl::init]
$curlHandle configure -verbose 1\
-failonerror 1\
-url http://bugs.debian.org\
-writeheader /tmp/header.txt\
-file /tmp/hm_page.html
$curlHandle perform
$curlHandle configure -url http://bugs.debian.org\
-headervar headers\
-post 1\
-postfields {blahblah}
$curlHandle perform
$curlHandle cleanup
-- System Information:
Debian Release: 6.0.7
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages tclcurl depends on:
ii libc6 2.11.3-4 Embedded GNU C Library: Shared lib
ii libcurl3-gnutls 7.21.0-2.1+squeeze3 Multi-protocol file transfer libra
ii tcl 8.4.16-2 The Tool Command Language (default
ii tcl8.4 [tclsh] 8.4.19-4 Tcl (the Tool Command Language) v8
ii tcl8.5 [tclsh] 8.5.8-2 Tcl (the Tool Command Language) v8
tclcurl recommends no packages.
Versions of packages tclcurl suggests:
pn libcurl4-gnutls-dev <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]