: Add propagating "hidden". Edit check-in comment.
by
.
D 2020-03-27T15:52:43.577
T *hidden 2eca3128d3e92f93bb6e8811bc82fbc33662a60adc5d2f56bf26e6dd223aa5d7
T +comment 2eca3128d3e92f93bb6e8811bc82fbc33662a60adc5d2f56bf26e6dd223aa5d7 Since\swe\sallocate\san\sextra\sbyte\s(for\sterminating\sNUL),\soverflow\sprotection\r\nhas\sto\skeep\sthe\sneeded\sstring\slength\sstrictly\sless\sthan\sINT_MAX.\r\n\r\nEDIT:\sSorry,\sthat\swas\swrong,\sfor\sa\sslightly\stricky\sreason.\sThe\sobjPtr->length\r\nfield\sis\stype\sint,\sso\smust\sbe\slimited\sto\sINT_MAX.\sThat's\sthe\slimit\sto\sprotect.\r\nThe\smemory\sallocation\sroutines\saccept\s(unsigned\sint)\sargument\sas\sthe\snumber\r\nof\sbytes\sto\sallocate,\sso\sthey\scan\saccept\sa\srequest\sfor\sINT_MAX\s+\s1.\r\n
U dgp
Z e304bd1a14ca9d0c7da58ce2ab7848a0