<i>Transchan loses input data when written to</i> status still Open with 3 other changes
by
.
D 2016-01-28T06:08:10.927
J icomment Alexandre,\scan\syou\stell\sme\smore\sabout\sthe\s"Additional\scandy:\stransformChannelType->seekProc\scalls\sparentSeekProc\swithout\seven\schecking\sfor\snullity\s(it\sdoes\sfor\swideSeek,\sbut\snot\sfor\sseek).\sNo\sidea\show\sto\sexpose\sthis\sat\sscript\slevel\sor\sif\sit\sis\seven\spossible,\sbut\sa\ssegfault\smight\sbe\sreachable\sthere."\s?\r\n\r\nI\sjust\slooked\sinto\sthe\stclIORTrans.c\son\sthe\strunk\shead\sand\swhat\sI\ssee\sis\sthis:\r\n\r\n(1)\sReflectSeek\r\n\s\s\s-\sredirects\sto\sReflectSeekWide\s(line\s1425)\r\n(2)\sReflectSeekWide\r\n\s\s\s\s-\schecks\sseekProc\sand\sbails\sout\sif\smissing.\s(line\s1341)\r\n\s\s\s\s-\sLater\schecks\salso\swideSeekProc\s(line\s1390),\sand\r\n\s\s\s\s\s\sfalls\sback\sto\sseekProc\s(line\s1398)\sif\swide\sis\smissing\sor\snot\ssupported\sper\sdriver\sversion.\r\n\r\nFurther\snotes:\sThe\sdriver\sstructure\sis\sused\sstatically.\sThis\sis\sin\scontrast\sto\stclIORChan\sfor\sbase-drivers,\swhich\sallocates\sand\smodifies\sit\sto\ssuit\sthe\sknown\smethods\sof\sthe\sscript-level\simplementation.\r\n\r\nAs\ssuch\sI\sdo\snot\ssee\sit\sable\sto\sderef\sa\sNULL\spointer.\r\n\r\nAt\sthe\smoment\sit\slooks\slike\sI\s"only"\shave\sto\smodify\sthe\stransform\screation\sto\sallocate\sthe\sdriver\sstructure\sas\sneeded\sfor\smodifications\s(no\sseeking),\sand\sdestruction\sto\srelease\ssuch\sallocated\sstructure.
J login aku
J mimetype text/plain
K 6141c1518631072728c55b18a6ae4ebbf1a0a3a2
U aku
Z 7dddade1c0c27639b7e43e7ed5e391ba