wireshark/asn1/ess
Guy Harris b849726351 Fix some cases where we're shifting a signed 1 left.
Shift 1U instead, to make sure it's unsigned; the result of, for
example, the result of shifting a signed value left is undefined if the
value times 2^{shift count} doesn't fit in the *signed* type of the
shifted value.  That means, in particular, that the result of shifting 1
left by {number of bits in an int - 1} is undefined.  (In *practice*,
it'll probably be -2^32, with the bit you want set, but that's not
guaranteed, and GCC 5.1 seems not to like it.)

Make some other left-hand operands of <<, and some variables holding
results from shifts of that sort, unsigned, while we're at it.

Change-Id: Ie72a9d0d518f59b35948267d10c80735d162e8bb
Reviewed-on: https://code.wireshark.org/review/8264
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-05-01 06:50:36 +00:00
..
CMakeLists.txt Remove $Id$ from the ASN.1 dissectors and regenerate them. 2014-02-18 03:05:28 +00:00
ExtendedSecurityServices.asn Update to RFC5035. 2010-01-12 14:31:08 +00:00
Makefile.am Remove $Id$ from the ASN.1 dissectors and regenerate them. 2014-02-18 03:05:28 +00:00
Makefile.common Add some files under asn1 to the distribution. 2014-07-30 23:42:55 +00:00
Makefile.nmake Remove $Id$ from the ASN.1 dissectors and regenerate them. 2014-02-18 03:05:28 +00:00
ess.cnf ASN1: Register PDU-dissectors as NEW 2014-10-13 11:24:07 +00:00
packet-ess-template.c Fix some cases where we're shifting a signed 1 left. 2015-05-01 06:50:36 +00:00
packet-ess-template.h Remove $Id$ from the ASN.1 dissectors and regenerate them. 2014-02-18 03:05:28 +00:00