Ken wrote:
[Ralph wrote:]
1 memmove(0x13e61a0, "\n\nab\n", 5) = 0x13e61a0
That looks like it happens in sbr/m_getfld.c:read_more().
I think that first character is missed here:
2 memcpy(0x13ec980, "b\n", 2) = 0x13ec980
That's this line (738) in m_getfld():
memcpy( buf, bp, c );
with bp off by one, I think due to this increment in Getc():
if (read_more (s) == 0) {
/* Pretend that we read a character. That's what stdio does. */
++s->readpos;
return EOF;
}
In spite of the comment, I don't know why readpos needs to be incremented.
Also, I noticed:
<ethel-the-aardvark-goes-quantity-surveying@will-anyone-notice>
David
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers