Re: [PATCH] xen/pvcalls: fix null pointer dereference on map->sock

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

 



On 22/02/18 18:22, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 
> Currently if map is null then a potential null pointer deference
> occurs when calling sock_release on map->sock.  I believe the
> actual intention was to call sock_release on sock instead. Fix
> this.
> 
> Fixes: 5db4d286a8ef ("xen/pvcalls: implement connect command")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Hmm, yes, kind of obvious. :-)

Reviewed-by: Juergen Gross <jgross@xxxxxxxx>


Juergen

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



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux