wireshark/epan/wslua
Guy Harris c7970d9356 Add, and use, "fetch signed value" for lengths < 40 bits.
Add 8-bit, 16-bit, 24-bit, and 32-bit "fetch signed value" routines, and
use them rather than casting the result of the 8/16/24/32-bit "fetch
unsigned value" routines to a signed type (which, BTW, isn't sufficient
for 24-bit values, so this appears to fix a bug
in epan/dissectors/packet-zbee-zcl.c).

Use numbers rather than sizeof()s in various tvb_get_ routines.

Change-Id: I0e48a57fac9f70fe42de815c3fa915f1592548bd
Reviewed-on: https://code.wireshark.org/review/26844
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-04-10 14:55:45 +00:00
..
.editorconfig
CMakeLists.txt spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
Makefile.am autotools: Library build products don't need explicit cleaning 2017-11-18 22:29:41 +00:00
console.lua epan: more SPDX convertions. 2018-02-09 14:41:31 +00:00
dtd_gen.lua epan: more SPDX convertions. 2018-02-09 14:41:31 +00:00
init_wslua.c replace SPDX identifier GPL-2.0+ with GPL-2.0-or-later. 2018-02-08 14:57:36 +00:00
init_wslua.h replace SPDX identifier GPL-2.0+ with GPL-2.0-or-later. 2018-02-08 14:57:36 +00:00
lrexlib.c spdx: more licenses converted. 2018-03-09 04:50:23 +00:00
lrexlib.h spdx: more licenses converted. 2018-03-09 04:50:23 +00:00
lrexlib_algo.h spdx: more licenses converted. 2018-03-09 04:50:23 +00:00
lrexlib_glib.c spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
lrexlib_glib_f.c spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
lua_bitop.c spdx: more licenses converted. 2018-03-09 04:50:23 +00:00
lua_bitop.h spdx: more licenses converted. 2018-03-09 04:50:23 +00:00
make-init-lua.pl spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
make-reg.pl spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
make-taps.pl spdx: more licenses converted. 2018-03-07 15:56:44 +00:00
taps More licenses converted to SPDX. 2018-03-07 13:35:49 +00:00
template-init.lua epan: more SPDX convertions. 2018-02-09 14:41:31 +00:00
wslua.h wslua: Convert more comment markup to Asciidoctor. 2018-02-11 17:12:52 +00:00
wslua_address.c wslua: use SPDX identifiers. 2018-02-09 12:31:21 +00:00
wslua_byte_array.c wslua: use SPDX identifiers. 2018-02-09 12:31:21 +00:00
wslua_capture_info.c wslua: Convert more comment markup to Asciidoctor. 2018-02-11 17:12:52 +00:00
wslua_column.c wslua: use SPDX identifiers. 2018-02-09 12:31:21 +00:00
wslua_dir.c wslua: Convert more comment markup to Asciidoctor. 2018-02-11 17:12:52 +00:00
wslua_dissector.c wslua: Convert more comment markup to Asciidoctor. 2018-02-11 17:12:52 +00:00
wslua_dumper.c wslua: use SPDX identifiers. 2018-02-09 12:31:21 +00:00
wslua_field.c wslua: Convert more comment markup to Asciidoctor. 2018-02-11 17:12:52 +00:00
wslua_file.c wslua: Convert more comment markup to Asciidoctor. 2018-02-11 17:12:52 +00:00
wslua_file_common.c wslua: use SPDX identifiers. 2018-02-09 12:31:21 +00:00
wslua_file_common.h wslua: use SPDX identifiers. 2018-02-09 12:31:21 +00:00
wslua_file_handler.c wslua: use Filehandler.extensions for controlling output files 2018-03-15 20:04:20 +00:00
wslua_frame_info.c wslua: Convert more comment markup to Asciidoctor. 2018-02-11 17:12:52 +00:00
wslua_gui.c wslua: use SPDX identifiers. 2018-02-09 12:31:21 +00:00
wslua_int64.c spdx: more licenses converted. 2018-03-09 04:50:23 +00:00
wslua_internals.c wslua: Convert more comment markup to Asciidoctor. 2018-02-11 17:12:52 +00:00
wslua_listener.c wslua: Convert more comment markup to Asciidoctor. 2018-02-11 17:12:52 +00:00
wslua_nstime.c wslua: Convert more comment markup to Asciidoctor. 2018-02-11 17:12:52 +00:00
wslua_pinfo.c wslua: use SPDX identifiers. 2018-02-09 12:31:21 +00:00
wslua_pinfo_common.h wslua: use SPDX identifiers. 2018-02-09 12:31:21 +00:00
wslua_pref.c wslua: use SPDX identifiers. 2018-02-09 12:31:21 +00:00
wslua_proto.c wslua: Convert more comment markup to Asciidoctor. 2018-02-11 17:12:52 +00:00
wslua_proto_expert.c wslua: use SPDX identifiers. 2018-02-09 12:31:21 +00:00
wslua_proto_field.c Squelch some casting-away-constness warnings. 2018-03-08 04:10:04 +00:00
wslua_struct.c spdx: more licenses converted. 2018-03-09 04:50:23 +00:00
wslua_tree.c wslua: Convert more comment markup to Asciidoctor. 2018-02-11 17:12:52 +00:00
wslua_tvb.c Add, and use, "fetch signed value" for lengths < 40 bits. 2018-04-10 14:55:45 +00:00
wslua_util.c wslua: Fix logging 2018-03-24 07:17:03 +00:00