[tor-bugs] #26093 [Core Tor/Tor]: memalign() may fail
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun May 13 10:08:18 UTC 2018
#26093: memalign() may fail
--------------------------+---------------------------
Reporter: Dhiraj | Owner: (none)
Type: defect | Status: closed
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution: not a bug
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+---------------------------
Changes (by rl1987):
* status: new => closed
* resolution: => not a bug
Comment:
But that's dead code...
{{{
$ ag memalign
src/ext/OpenBSD_malloc_Linux.c
295:void *memalign(size_t boundary, size_t size);
1992:int posix_memalign(void **memptr, size_t alignment, size_t size)
2015:void *memalign(size_t boundary, size_t size)
2018: posix_memalign(&r, boundary, size);
2025: posix_memalign(&r, malloc_pagesize, size);
}}}
`memalign()` in OpenBSD_malloc_Linux.c is not used anywhere and not even
compiled in by default.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26093#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list