Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 206563 Details for
Bug 288348
[PATCH] Ettercap segmentation fault 64bit CPU systems
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch which fixes 64bit segmentation fault
casting.patch (text/plain), 591 bytes, created by
Markos Chandras (RETIRED)
on 2009-10-09 17:59:59 UTC
(
hide
)
Description:
patch which fixes 64bit segmentation fault
Filename:
MIME Type:
Creator:
Markos Chandras (RETIRED)
Created:
2009-10-09 17:59:59 UTC
Size:
591 bytes
patch
obsolete
>commit 8cdf08d401d368d5678f9d9c2cf36ddbdef03aec >Author: Timothy Redaelli <timothy@redaelli.eu> >Date: Tue Jun 23 09:16:27 2009 +0000 > > Fix a crash in 64 bit CPUs > >diff --git a/src/protocols/ec_tcp.c b/src/protocols/ec_tcp.c >index ea0c997..be8f3e0 100644 >--- a/src/protocols/ec_tcp.c >+++ b/src/protocols/ec_tcp.c >@@ -116,7 +116,7 @@ FUNC_DECODER(decode_tcp) > tcp = (struct tcp_header *)DECODE_DATA; > > opt_start = (u_char *)(tcp + 1); >- opt_end = (u_char *)((int)tcp + tcp->off * 4); >+ opt_end = (u_char *)(tcp + tcp->off * 4); > > DECODED_LEN = (u_int32)(tcp->off * 4); >
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 288348
: 206563