[Top][All Lists]

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

Re: PATCH: Small fix in gnumach

From: Samuel Thibault
Subject: Re: PATCH: Small fix in gnumach
Date: Fri, 13 Mar 2020 23:38:42 +0100
User-agent: NeoMutt/20170609 (1.8.3)


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.


reply via email to

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