tcp/ip win3b libnet.a bug
Ron Stanonik
stanonik at nprdc.navy.mil
Sat Sep 22 09:01:00 AEST 1990
We ran into a another bug in the tcp/ip win3b libnet.a, release 3.0.
The bcopy() merely does a forward copy; eg,
while (cnt--)
*dst++ = *src++;
This fails for overlapping copies. Overlapping copies should countdown,
not up; eg
dst += cnt;
src += cnt
while (cnt--)
*dst-- = *src--;
We ran into this bug while using the bcopy in -lnet for a port of the
4.3bsd dbm library.
Is 3.0 the latest tcp/ip win3b release for 3b2's?
Thanks,
Ron Stanonik
stanonik at nprdc.navy.mil
ucsd!nprdc!stanonik
More information about the Comp.sys.att
mailing list