------- Comment #2 from jvdelisle at gcc dot gnu dot org 2009-09-11 00:16 ------- yes, this is a duplicate of the other PR I am workinmg on (PR41168). The code snippet in comment #1 is the exact spot I am working on. Two problems here. We can possiblly accessing memory that has not been allocated because *(p + 1) points to 1 byte passed what we have read. Second, is the handling of the situation where the read reaches exactly between the CR and LF.
-- jvdelisle at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |jvdelisle at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2009-09-10 11:46:48 |2009-09-11 00:16:03 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41328