On Fri, May 16, 2014 at 20:01, Otto Moerbeek wrote:
> On Wed, May 14, 2014 at 03:28:02PM -0400, Ted Unangst wrote:
>
>> As I learned the hard way not long ago, free() doesn't detect all
>> errors because of the delay mechanism. We can make two improvements.
>>
>> 1. Perform the sanity checking fr
On Wed, May 14, 2014 at 03:28:02PM -0400, Ted Unangst wrote:
> As I learned the hard way not long ago, free() doesn't detect all
> errors because of the delay mechanism. We can make two improvements.
>
> 1. Perform the sanity checking from free_bytes before we insert
> something into the delay ar
On Wed, May 14, 2014 at 03:28:02PM -0400, Ted Unangst wrote:
> As I learned the hard way not long ago, free() doesn't detect all
> errors because of the delay mechanism. We can make two improvements.
>
> 1. Perform the sanity checking from free_bytes before we insert
> something into the delay ar
As I learned the hard way not long ago, free() doesn't detect all
errors because of the delay mechanism. We can make two improvements.
1. Perform the sanity checking from free_bytes before we insert
something into the delay array. This detects many kinds of badness
much sooner.
2. Check that the