[Top][All Lists]

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

Re: PATCH: Small fix in gnumach

From: gfleury
Subject: Re: PATCH: Small fix in gnumach
Date: Sat, 14 Mar 2020 08:11:33 +0000


14 mars 2020 00:46 "Samuel Thibault" <samuel.thibault@gnu.org> a écrit:

> Hello,
> gfleury@disroot.org, le ven. 13 mars 2020 20:55:29 +0000, a ecrit:
>> if the previous call vm_object_enter return VM_OBJECT_NULL in new_object
>> the new_object->shadow dereference of NULL will cause a bug.
>> attached file fix this. Fix the indentation if it is not correct.
> In the case of failure, you also need to release the new_memory_object
> allocated above. I guess that the src_object->ref_count taken above
> needs to be released as well.
see update patch does make sense. 
> Samuel

Attachment: 0001-fix-possible-dereference-of-NULL.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]