https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5699
Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |darkjames-ws@xxxxxxxxxxxx
--- Comment #2 from Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> 2012-09-07 04:30:26 PDT ---
(In reply to comment #1)
> Hi, guys.
> 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.
Good point! It could also fix bug #5979
--
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.