Wireshark-bugs: [Wireshark-bugs] [Bug 5699] assertion when using tshark/wireshark on large captu
Date: Fri, 7 Sep 2012 02:49:39 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5699

Anatoly <aries.nah@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aries.nah@xxxxxxxxx

--- Comment #1 from Anatoly <aries.nah@xxxxxxxxx> 2012-09-07 02:49:38 PDT ---
Hi, guys.
As far as I see such issue is still not fixed. I reproduced it in 1.8.3.
Seems a fix is a quite easy:

prot1 = (char *) ((((int) npc->buf + pagesize - 1) / pagesize) * pagesize);
prot2 = (char *) ((((int) buf_end - (1 * pagesize)) / pagesize) * pagesize);

here it's incorrect to use casting to (int) type since in LLP64 "int" is 32bit
signed value.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.