<i>signed integer overflow in ExprRandFunc()</i> status still Pending with 3 other changes
by
.
D 2021-12-15T22:59:36.422
J icomment Multiplying\sby\s4093\sdoes\spreserve\smore\suseful\sbits,\sbut\sit\sis\sdone\safter\sthe\sresult\sof\s<tt>Tcl_GetCurrentThread()</tt>\sis\stemporarily\snarrowed\sto\san\s<tt>unsigned\sint</tt>.\sWould\sit\sbe\suseful\sto\sintroduce\sa\s<tt>PTR2ULONG()</tt>\smacro,\sso\sthat\sthe\sresult\sof\s<tt>Tcl_GetCurrentThread</tt>\sisn’t\snarrowed\swhen\s<tt>sizeof(Tcl_ThreadId)\s==\ssizeof(unsigned\slong)\s>\ssizeof(unsigned\sint)</tt>?
J login chrstphrchvz
J mimetype text/x-fossil-wiki
K 90612089d8423b75a50197df1cdd29d5aef2f062
U chrstphrchvz
Z 9e1ad6e8dc59be5e0df9e58114c5cdd1