D 2026-07-28T12:03:20.236
J comment When\sreading\sfiles\s>=\s4\sGB,\sTcl\s9\spanics\swith\sthe\serror\s"Buffer\sUnderflow,\sBUFFER_PADDING\snot\senough".\r\n\r\nI\screated\sa\s4\sGB\sfile\son\sWindows\swith\sthe\scommand:\r\n\r\n\s\s\s\sfsutil\sfile\screatenew\s4294967296.txt\s4294967296\r\n\r\nThe\sfollowing\sscript\scrashes\son\sWindows\sand\sLinux:\r\n\r\n\s\s\s\sset\sfilename\s4294967296.txt\r\n\s\s\s\sset\schan\s[open\s$filename\sr]\r\n\s\s\s\sread\s$chan\s[file\ssize\s$filename]\r\n\s\s\s\sclose\s$chan\r\n\r\nA\sfilesize\sof\s4294967295\sworks.\r\n\r\nTcl\s8\sthrows\sthe\sfollowing\serror:\r\n\r\n\s\s\s\sexpected\snon-negative\sinteger\sbut\sgot\s"4294967296"\r\n\s\s\s\s\s\s\s\swhile\sexecuting\r\n\s\s\s\s"read\s$chan\s[file\ssize\s$filename]"
J login tomkiti
J mimetype text/plain
J title Panic\s"Buffer\sUnderflow,\sBUFFER_PADDING\snot\senough"\swhen\sreading\sfiles\s>=\s4\sGB
K 6e82720e146403fadc88117c0e4fe1a7deff0fe6
U tomkiti
Z 2547aa87c3236f69d8e0d3a1f476c89c