<i>Segmentation fault due to int overflow in GrowEvaluationStack</i> status still Open with 4 other changes
by
.
D 2017-05-29T13:59:29.760
J foundin >=\s8.5
J icomment Thx\sfor\sreporting!\r\n\r\nIt\sshould\sbe\sindeed\srewritten\susing\sptrdiff_t\sresp.\soffset_t\s(no\sidea\swhich\sof\sboth\swill\sbe\ssupported\sby\sall\splatforms/compilers).\r\nsize_t\swould\sbe\salso\sa\svariant\sif\s"growth"\sused\sonly\sto\senlarge\sthe\sstack\s(to\sbe\sverified).\r\n\r\nBut\sI\sdid\snot\syet\sunderstand\swhat\ssome\slarge\slist\shas\sconcertedly\swith\sthe\sevaluation\sstack...\r\nShould\sthe\s"names"\sbe\sjust\snot\sa\svariable\sname\sin\ssuch\scase?\r\nAccording\sto:\r\n<code><pre>\r\n%\stcl::unsupported::disassemble\sscript\s{lsort\s-unique\s$names}\r\nByteCode\s0x004E7F90,\srefCt\s1,\sepoch\s16,\sinterp\s0x004CAF58\s(epoch\s16)\r\n\s\sSource\s"lsort\s-unique\s$names"\r\n\s\sCmds\s1,\ssrc\s20,\sinst\s10,\slitObjs\s3,\saux\s0,\sstkDepth\s3,\scode/src\s0.00\r\n\s\sCommands\s1:\r\n\s\s\s\s\s\s1:\spc\s0-8,\ssrc\s0-19\r\n\s\sCommand\s1:\s"lsort\s-unique\s$names"\r\n\s\s\s\s(0)\spush1\s0\s\s\s\s\s\s\s\s\s#\s"lsort"\r\n\s\s\s\s(2)\spush1\s1\s\s\s\s\s\s\s\s\s#\s"-unique"\r\n\s\s\s\s(4)\spush1\s2\s\s\s\s\s\s\s\s\s#\s"names"\r\n\s\s\s\s(6)\sloadStk\r\n\s\s\s\s(7)\sinvokeStk1\s3\r\n\s\s\s\s(9)\sdone\r\n</pre></code>\r\nit\sdoes\sat\sall\sno\smatter\show\slarge\sthe\slist\sis.
J login sebres
J mimetype text/x-fossil-wiki
K a3fb3356b76ec4a853d1b86aadc08675f8bef359
U sebres
Z 26b42b3bc79163f37abbff5d4d955cec