<i>Triggers FORTIFY_SOURCE buffer overflow detection</i> status still Open with 4 other changes
by
.
D 2010-12-05T15:34:51
J icomment >ideally\sthe\sstructure\swould\sdeclare\sthe\scommand[]\swith\ssome\sdefine\sfor\sthe\smaximum\slength\sof\svariable\snames\sor\scommands.\n\nTcl\sdoes\snot\shave\sa\smaximum\slength\sof\svariable\snames\sor\scommands,\sother\sthan\sthe\samount\sof\savailalble\smemory...\n\nFor\sTcl\s8.6,\sa\ssolution\swould\sbe\sto\sdefine\sbuffer\shaving\ssize\s[0],\nthat's\sthe\sstandard\sway\sof\sdoing\sthis.\sBut\sI\sdon't\sknow\sif\sall\sthe\nsupported\scompilers\shandle\sthat.\sSo\sfor\sTcl\s8.4/8.5\nmaybe\sthe\sbest\sis\scompile\severything\swith\n-U_FORTIFY_SOURCE\s(Tcl8.5\sthis\scode\smoved\sto\stclTrace.c).\n\njust\smy\s2c\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 3127687fffffffffffffffffffffffffffffffff
U nijtmans
Z d912b5c8f4afd88670058f82fe3db61e