28 Jun
2018
28 Jun
'18
1:57 p.m.
Hi, On Thu, Jun 28, 2018 at 01:54:45PM +0200, Alex Henrie wrote:
- while (ifPtr && ifPtr < ifc->ifc_buf + ifc->ifc_len) { + while (ifPtr && (char *)ifPtr < ifc->ifc_buf + ifc->ifc_len) {
Quick question: what if ifc->ifc_len == 1 ? In this case, can I read the length field of the record, or would that bring me out of bounds here? Simon