Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!border3.nntp.ams.giganews.com!backlog3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Tue, 22 Apr 2014 13:06:28 -0500 From: Gareth Owen Newsgroups: comp.lang.c Subject: Re: The portability sacred cow References: Date: Tue, 22 Apr 2014 19:11:59 +0100 Message-ID: <87vbu18c9c.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:hGrjYr2Ms/0Pf5sCge5kUMOjs98= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 25 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-jTX33bDbcqgpTahfgF4Bm4QPnaQxbxnH2JrHKruEtxb9OkHOslBILEA7WbMCZpfLeTEyyqmpJGV1klF!8RnSGvOK8C1VgzydyD7lwG3fei7CKY3SUjCoRR+y2frrJVQNmTFTGg/Pxcx0g4g5iBCG X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1805 Xref: csiph.com comp.lang.c:43321 Johannes Bauer writes: > On 20.04.2014 23:14, jacob navia wrote: > >> For instance, OpenBSD has a function free() that is security conscious >> and erases the freed memory before reuse. This would have stopped the >> heartbleed bug in OpenSSL but it wasn't used. > > Why do you spread such drivel? He's right. > OpenBSD's allocator is so slow No, it's not. > that OpenSSL has its own memory allocator. OpenBSD is not the reason for OpenSSL's own allocator. > OpenSSL only allocates one huge chunk of memory from the OS and then > does its own memory management. A free() that is security conscious > would have helped exactly NOTHING because of the constraints. You have spectacularly missed the point.