Re: [PATCH] android/ipc: Fix crash when sending file descriptor

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

 



Hi Andrei,

On Thu, Nov 07, 2013, Andrei Emeltchenko wrote:
> Since CMSG_FIRSTHDR is defined as shown below:
> 
>   ((size_t) (mhdr)->msg_controllen >= sizeof (struct cmsghdr) \
>    ? (struct cmsghdr *) (mhdr)->msg_control : (struct cmsghdr *) 0)
> 
> it return NULL if msg_controllen is not defined. Accessing
> that pointer result in daemon crash.
> ---
>  android/ipc.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

This one needs to be rebased. It doesn't apply.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux