Skip to content
Tcl Source Code Artifact [f9c4a3b417]
Login

Artifact [f9c4a3b417]

Artifact f9c4a3b417fdb496f14b60dc46f9b9d15ab09acf:

Ticket change [f9c4a3b417] - New ticket [1888596fffffffff|1888596fff] <i>Segfault with tclhttpd and TLS</i>. by eriklns on 2008-02-07 08:57:04.
D 2008-02-07T08:57:04
J assignee nobody
J cmimetype text/plain
J comment I\sexperienced\sa\ssegfault\swith\sTcl8.4.17,\swhen\srunning\stclhttpd\s(under\sLinux;\sI'm\sunsure\swhether\sthe\sOS\smatters).\n\nReproducing\sthe\ssegfault\sinvolves\stclhttpd\s(3.5.1)\sand\sprobably\stls1.5\sas\sfollows:\n\n-\sLaunch\stclhttpd\sand\smake\sit\slisten\sat\sa\shttps\sport,\susing\sTLS.\sI'm\susing\slibtls1.5.so,\sand\sconfigured\stclhttpd\sto\suse\sTLSv1\sonly,\susing\sthe\sstandard\sconfiguration\sfile\ssettings.\sAlthough\slibtls1.5.so\sdoesn't\sshow\sup\sin\sthe\sbacktrace\sbelow,\sI\scan't\sget\sthe\s\ssegfault\sto\soccur\swhen\susing\sregular\s(non-TLS)\schannels.\n\n-\sFrom\sa\shttp\sclient,\ssend\sa\srequest\swith\sa\smalformed\sheader.\sReceiving\sthe\smalformed\sheader\sis\swhat\striggers\sthe\sserver.\sI'm\susing\sthe\sTcl\shttp\sclient\spackage,\slike\sthis:\n\n\s\s\s\shttp::register\shttps\s$httpsPort\s[list\s::tls::socket\s\\\n\s\s\s\s\s\s\s\s-request\s1\s-require\s1\s-ssl2\s0\s-ssl3\s0\s-tls1\s1\s\\\n\s\s\s\s\s\s\s\s-cafile\s[file\sjoin\s$Dir(cert)\scacert.pem]]\n\s\s\s\shttp::geturl\shttps://$host:$port\s-headers\s[list\s{garbage\s1}]\n\n\s\s(You\smay\sneed\sto\sretry\ssubmitting\sseveral\stimes\sbefore\sthe\sserver\scrashes)\n\nA\sfull\sbacktrace\sfrom\sthe\score\sdump\shas\sbeen\sattached.\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter eriklns
J subsystem None
J title Segfault\swith\stclhttpd\sand\sTLS
J type Bug
K 1888596fffffffffffffffffffffffffffffffff
U eriklns
Z bc8e21aaa0715ba4a1c2fc27fcb817d2