Attention is currently required from: pespin, daniel.
osmith has posted comments on this change. (
https://gerrit.osmocom.org/c/libasn1c/+/31995
)
Change subject: INTEGER: ignore invalid -Warray-bounds from GCC-10
......................................................................
Patch Set 1: Code-Review+2
(1 comment)
Patchset:
PS1:
Did you try moving that += before the loop and see if
it improves?
Same behavior:
```
INTEGER.c: In function ‘asn_int642INTEGER’:
INTEGER.c:1341:8: error: array subscript 0 is outside array bounds of ‘int64_t[1]’ {aka
‘long int[1]’} [-Werror=array-bounds]
1341 | pend1 += add;
| ~~~~~~^~~~~~
INTEGER.c:1296:42: note: while referencing ‘value’
1296 | asn_int642INTEGER(INTEGER_t *st, int64_t value) {
| ~~~~~~~~^~~~~
```
--
To view, visit
https://gerrit.osmocom.org/c/libasn1c/+/31995
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libasn1c
Gerrit-Branch: master
Gerrit-Change-Id: Ic10407e6d484ae29dc39edbdc6fcd0145e17e773
Gerrit-Change-Number: 31995
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 21 Mar 2023 15:24:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment