Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] lua_bitop.c: MSVC2013 Code Analysis Warning

From: Hadriel Kaplan <hadrielk@xxxxxxxxx>
Date: Sat, 7 Feb 2015 22:56:51 -0500
I'll take a look.
-hadriel


On Feb 7, 2015, at 4:54 PM, Bill Meier <wmeier@xxxxxxxxxxx> wrote:

> Hadriel:
> 
> MSVC2013 Code Analysis is giving the following warning:
> 
> 
> ...\ws-git\epan\wslua\lua_bitop.c(116) : warning C6297: Arithmetic overflow:  32-bit value is shifted, then cast to 64-bit value.  Results might not be an expected value.
> 
> After quick look at the code, my reaction:
>  Uh Oh... Twisty maze of passages
> 
> So I'm going to punt.
> 
> Can you take a look (or redirect upstream) or whatever ?
> 
> Thanks
> 
> Bill