[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #18716 [Tor]: MEMAREA_ALIGN_MASK is wrong for MSVC on x64
#18716: MEMAREA_ALIGN_MASK is wrong for MSVC on x64
------------------------+--------------------------------
Reporter: wbenny | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Tor | Version: Tor: 0.2.8.2-alpha
Severity: Normal | Keywords: assert msvc x64
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------+--------------------------------
#define MEMAREA_ALIGN_MASK 7lu
change to:
#define MEMAREA_ALIGN_MASK 7llu
otherwise assert is thrown here:
memarea.c:128: tor_assert(realign_pointer(res->next_mem) ==
res->next_mem);
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18716>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs