libasn1c/src
Oliver Smith adaa1c62e1 INTEGER: ignore invalid -Warray-bounds from GCC-10
GCC 10.2.1 20210110 from Debian 11 generates an invalid Warray-bounds
error. It was fixed in future GCC versions, I verified it with GCC
11.3.0. Ignore the warning, so we can build on Debian 11 with -Werror.

Fix for:
  INTEGER.c: In function ‘asn_int642INTEGER’:
  INTEGER.c:1340:34: error: array subscript 0 is outside array bounds of ‘int64_t[1]’ {aka ‘long int[1]’} [-Werror=array-bounds]
   1340 |  for(pstart = p, bp = buf, pend1 += add; p != pend1; p += add)
        |                            ~~~~~~^~~~~~
  INTEGER.c:1296:42: note: while referencing ‘value’
   1296 | asn_int642INTEGER(INTEGER_t *st, int64_t value) {
        |                                  ~~~~~~~~^~~~~

Related: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582
Change-Id: Ic10407e6d484ae29dc39edbdc6fcd0145e17e773
2023-03-21 15:24:37 +00:00
..
ANY.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
BIT_STRING.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
BMPString.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
BOOLEAN.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
ENUMERATED.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
GeneralString.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
GeneralizedTime.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
GraphicString.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
IA5String.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
INTEGER.c INTEGER: ignore invalid -Warray-bounds from GCC-10 2023-03-21 15:24:37 +00:00
ISO646String.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
Makefile.am src/Makefile.am: libraries shall not be in LDFLAGS but in LIBADD 2023-03-13 04:35:16 +07:00
NULL.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
NativeEnumerated.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
NativeInteger.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
NativeReal.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
NumericString.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
OBJECT_IDENTIFIER.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
OCTET_STRING.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
ObjectDescriptor.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
PrintableString.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
REAL.c Fix compiler warning 2017-10-27 22:05:31 +02:00
RELATIVE-OID.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
T61String.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
TeletexString.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
UTCTime.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
UTF8String.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
UniversalString.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
VideotexString.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
VisibleString.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
asn1helpers.c fix compiler warning: drop dead code from BIT_STRING_fromBuf() 2017-10-28 15:09:05 +00:00
asn_SEQUENCE_OF.c initial import of /usr/share/asn1c/*.[ch] skeleton files 2010-06-12 18:59:38 +02:00
asn_SET_OF.c initial import of /usr/share/asn1c/*.[ch] skeleton files 2010-06-12 18:59:38 +02:00
asn_codecs_prim.c add '--enable-debug' configure option to build with EMIT_ASN_DEBUG 2015-12-18 15:38:42 +01:00
ber_decoder.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
ber_tlv_length.c initial import of /usr/share/asn1c/*.[ch] skeleton files 2010-06-12 18:59:38 +02:00
ber_tlv_tag.c initial import of /usr/share/asn1c/*.[ch] skeleton files 2010-06-12 18:59:38 +02:00
constr_CHOICE.c fix 3 indents to avoid build failure with -Werror 2022-07-19 14:04:21 +02:00
constr_SEQUENCE.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
constr_SEQUENCE_OF.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
constr_SET.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
constr_SET_OF.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
constr_TYPE.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
constraints.c initial import of /usr/share/asn1c/*.[ch] skeleton files 2010-06-12 18:59:38 +02:00
der_encoder.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
per_decoder.c fix 3 indents to avoid build failure with -Werror 2022-07-19 14:04:21 +02:00
per_encoder.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
per_opentype.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
per_support.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
xer_decoder.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00
xer_encoder.c initial import of /usr/share/asn1c/*.[ch] skeleton files 2010-06-12 18:59:38 +02:00
xer_support.c update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541be 2015-08-31 09:35:13 +02:00