|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Slawa Olhovchenkov 2:5030/500 27 Aug 2004 01:37:24 To : All Subject : fix build w/o -O --------------------------------------------------------------------------------
Кажется свершилось:
obrien 2004-08-25 18:28:15 UTC
FreeBSD src repository
Modified files:
sys/i386/include in_cksum.h
Log:
Fix a bug in in_cksum_hdr w/o -O.
The C code assumes that the carry bit is always kept from the previous
operation. However, the pointer indexing requires another add operation.
Thus, the carry bit from the first operation is tromped over by the
"addl" operation that ends up following it, so the "adcl" that follows
that has no effect because the carry bit is cleared before it.
The result is checksum failure on received packets.
... Tы у меня смотри, я где нормален, а где беспощаден.
--- GoldED+/BSD 1.1.5
* Origin: (2:5030/500)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/2221412e584f.html, оценка из 5, голосов 10
|