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. Samuel