[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #26093 [Core Tor/Tor]: memalign() may fail
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs