[PATCH 2/3] ssl: Fix memcmp() IPv6 address size

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

 



On Sat, 2014-12-06 at 23:01 -0800, Kevin Cernekee wrote:
> clang spotted the misplaced parentheses:
> 
>     ssl.c:120:72: warning: size argument in 'memcmp' call is a
> comparison
>           [-Wmemsize-comparison]
>       ...!memcmp(&a6->sin6_addr, &b6->sin6_addr, sizeof(a6->sin6_addr)
> &&

Oops :)

Applied; thanks.

-- 
dwmw2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5745 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20141207/5efec12a/attachment.bin>


[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux