[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qemu-devel
Subject:    Re: [Qemu-devel] [PATCH 05/17] Fix and cleanup IPCOP_shm* ipc calls
From:       Paul Brook <paul () codesourcery ! com>
Date:       2009-03-31 22:08:52
Message-ID: 200903312308.53162.paul () codesourcery ! com
[Download RAW message or body]

On Tuesday 31 March 2009, riku.voipio@iki.fi wrote:
> +    *raddr = (unsigned long) shmat(shmid, g2h(shmaddr), shmflg);

This is wrong. You need to handle NULL properly.

Paul



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic