hello,

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

> Hello,
> 
> gfle...@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