[GH-ISSUE #1330] Warning on Cygwin32 GCC 4.9.2 on branch bleeding-jumbo #836

Closed
opened 2026-10-14 03:25:36 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @shinnok on GitHub (May 18, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1330

Not sure if a false positive or not:

gcc -DAC_BUILT -march=native -mavx2 -c -g -O2 -DARCH_LITTLE_ENDIAN=1 -Wall -Wdeclaration-after-statement -fomit-frame-pointer --param allow-store-data-races=0 -Wno-deprecated-declarations -Wno-format-extra-args -std=gnu89 -D_GNU_SOURCE -fopenmp -funroll-loops DES_std.c -o DES_std.o
DES_std.c: In function ‘DES_std_set_key’:
DES_std.c:639:17: warning: array subscript is above array bounds [-Warray-bounds]
while (DES_key[i++]) k += 2;

Originally created by @shinnok on GitHub (May 18, 2015). Original GitHub issue: https://github.com/openwall/john/issues/1330 Not sure if a false positive or not: gcc -DAC_BUILT -march=native -mavx2 -c -g -O2 -DARCH_LITTLE_ENDIAN=1 -Wall -Wdeclaration-after-statement -fomit-frame-pointer --param allow-store-data-races=0 -Wno-deprecated-declarations -Wno-format-extra-args -std=gnu89 -D_GNU_SOURCE -fopenmp -funroll-loops DES_std.c -o DES_std.o DES_std.c: In function ‘DES_std_set_key’: DES_std.c:639:17: warning: array subscript is above array bounds [-Warray-bounds] while (DES_key[i++]) k += 2;
Author
Owner

@magnumripper commented on GitHub (May 18, 2015):

It's a long standing FP, see #276 (!)

<!-- gh-comment-id:103234314 --> @magnumripper commented on GitHub (May 18, 2015): It's a long standing FP, see #276 (!)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#836
No description provided.