<i>A regular expression with > 32k "colors" causes a segfault</i>.
by
.
D 2013-04-04T16:50:39
J assignee pvgoran
J cmimetype text/plain
J comment If\sa\sregular\sexpression\sis\sparsed\sinto\smore\sthan\s32k\scolors,\syou\sget\sa\scrash.\sI\sinitially\sspotted\sthis\sin\sPostgreSQL\s(http://www.postgresql.org/message-id/[email protected]),\sbut\sTCL\sshares\sthe\ssame\scode\sand\sthus\shas\sthe\ssame\sbug.\s\n\nAttached\sis\sa\sTCL\stest\sscript\sto\sreproduce\sthis.\n\nHere's\sa\slink\sto\sthe\sPostgreSQL\scommit\sthat\sfixed\sthis:\shttp://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=bf2b0a147857f63daa2e5c17eed0169861371af8.\sIt\sshould\sapply\sto\sTCL\ssources\swith\sminimal\schanges.
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter hlinnaka
J subsystem 43.\sRegexp
J title A\sregular\sexpression\swith\s>\s32k\s"colors"\scauses\sa\ssegfault
J type Bug
K 3610026fffffffffffffffffffffffffffffffff
U hlinnaka
Z fcf0d2049760ebe381b36a0949bc756a