id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,lang,patch,platform
1257,src/io/utf8.c:  Does the amount read in Parrot_io_read_utf8() need to be checked?,jkeenan,jkeenan,"This ticket moves into Trac discussion of an issue originally tracked in RT at [http://rt.perl.org/rt3/Ticket/Display.html?id=46413 RT #46413].

In that RT, Paul Cochrane cited lines in the file now known as ''src/io/utf8.c'':
{{{
 46 size_t
 47 Parrot_io_read_utf8(PARROT_INTERP, ARGMOD(PMC *filehandle),
 48         ARGMOD(STRING **buf))
 49 {
...
 83                 /* RT#46413 need to check the amount read here? */
 84                 read         = Parrot_io_read_buffer(interp, filehandle, &s2    );          
 85                 UNUSED(read);
}}}
Paul commented, ''""At present this variable is marked UNUSED(read). However, it might be a good idea to actually check the amount read in this function call. After which the UNUSED() needs to disappear.""''

Can someone follow up?",todo,closed,normal,,core,1.7.0,medium,fixed,,allison,,,
