commit | 4effc29fb1c33a87a8d386de39c20d36a6956645 | [log] [tgz] |
---|---|---|
author | Avneesh Sachdev <avneesh@opensourcerouting.org> | Sat May 05 17:42:43 2012 -0700 |
committer | David Lamparter <equinox@opensourcerouting.org> | Thu Oct 25 10:15:58 2012 -0700 |
tree | 73e57392e4227aeae3ca3ef1db54e227f46909e6 | |
parent | b4154c145a2d1d0679983130413b81d44fbb04ab [diff] |
lib: improve sanity checks in stream_set_endp() * lib/stream.c: (stream_set_endp) Add checks to make sure that the supplied 'endp' is within the 'size' of the stream, and that the current read pointer 'getp' is not beyond the specified 'endp'.