[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] tfork() bug.

On 05/15/12 23:26, m0n0 wrote:
> Am Di, 15.05.2012, 23:42 schrieb Alan Hourihane:
>>> Can somebody confirm this bug and that I understand it correctly?
>> A small test case would help. Can you code one up ?
> I think it is more about looking at the source, but sure - here it is. And
> as I said, the race condition is taking place first.  The PoC is attached.

Checking the return code of Mfree() shows that it returns EFAULT on
secondary invocations.

It sounds like a bug, but the kernel is guarding against any problems
with Mfree() in tfork().