[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] linux-user: correct semctl() and shmctl()
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] linux-user: correct semctl() and shmctl() |
Date: |
Sun, 20 Jan 2013 21:45:25 +0000 |
On 20 January 2013 21:12, Laurent Vivier <address@hidden> wrote:
> case GETALL:
> case SETALL:
> - err = target_to_host_semarray(semid, &array, target_su.array);
> + err = target_to_host_semarray(semid, &array,
> + tswapal(target_su->array));
> if (err)
> return err;
This version is back to the same bug as before where the error
case here skips unlocking the struct.
PS: please include the version number (v2,v3,etc) in the [PATCH]
subject tag so it's easier to distinguish which is the most recent
version of a patch when you submit newer versions.
thanks
-- PMM