Date: Mon, 8 Jun 2009 17:15:34 -0700 From: Gary Kline <kline@thought.org> To: FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG> Subject: flaw found.... Message-ID: <20090609001529.GA7166@thought.org>
next in thread | raw e-mail | index | archive | help
not surprisingly, i found a fla w in my getc(fp) program that tried to read past "<?" and "?>" ... the example i added to my test file was simply the 2 bytes "<" and "?". so if you have a stray "<?" with a matching close case, the binary hangs on a read. so, again, can anybody suggest a better example, in C, to get past two delimiters? one thought is how gcc parses the "/*" and "*/" comment delimiters. any compiler gurus out there who know where this code is? gary ? -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org For FBSD list: http://transfinite.thought.org/slicejourney.php
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090609001529.GA7166>