FreeBSD Bugzilla – Attachment 5605 Details for
Bug 13292
Ping -s <odd_size> does not work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 523 bytes, created by
thomma
on 1999-08-21 17:00:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
thomma
Created:
1999-08-21 17:00:01 UTC
Size:
523 bytes
patch
obsolete
>Index: ping.c >=================================================================== >RCS file: /usr/home/ncvs/src/sbin/ping/ping.c,v >retrieving revision 1.44 >diff -c -r1.44 ping.c >*** ping.c 1999/05/07 14:38:48 1.44 >--- ping.c 1999/08/21 15:55:39 >*************** >*** 944,949 **** >--- 944,950 ---- > /* mop up an odd byte, if necessary */ > if (nleft == 1) { > *(u_char *)(&answer) = *(u_char *)w ; >+ *((u_char *)(&answer) + 1) = 0; > sum += answer; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 13292
: 5605