Wireshark mailing list archives

Re: lua_bitop.c: MSVC2013 Code Analysis Warning


From: Hadriel Kaplan <hadrielk () yahoo com>
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 () newsguy com> 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

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: