|
@@ -2074,7 +2074,7 @@ static int binder_thread_write(struct binder_proc *proc,
|
|
if (get_user(cookie, (binder_uintptr_t __user *)ptr))
|
|
if (get_user(cookie, (binder_uintptr_t __user *)ptr))
|
|
return -EFAULT;
|
|
return -EFAULT;
|
|
|
|
|
|
- ptr += sizeof(void *);
|
|
|
|
|
|
+ ptr += sizeof(cookie);
|
|
list_for_each_entry(w, &proc->delivered_death, entry) {
|
|
list_for_each_entry(w, &proc->delivered_death, entry) {
|
|
struct binder_ref_death *tmp_death = container_of(w, struct binder_ref_death, work);
|
|
struct binder_ref_death *tmp_death = container_of(w, struct binder_ref_death, work);
|
|
|
|
|