[prev in list] [next in list] [prev in thread] [next in thread]
List: mutt-dev
Subject: Re: why casting pointer in mutt_mem_free
From: "Kevin J. McCarthy" <kevin () 8t8 ! us>
Date: 2018-03-28 17:16:57
Message-ID: 20180328171657.GD3054 () zaogao ! lan
[Download RAW message or body]
On Tue, Mar 27, 2018 at 12:30:13PM -0500, Derek Martin wrote:
> This does not exist in the Mutt source. It probably shouldn't...
> The implementation is arguably bad and using it potentially invites
> bugs.
I agree with your points, but just wanted to point out that Mutt has
FREE()/safe_free() which this is based on. To counter the problem you
pointed out, we have the check_sec.sh script which scans for incorrect
usage.
--=20
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic