NetBSD/src 2EakNcB — sbin/fdisk fdisk.c
In validate_bootsel, the code assumed that arr[j][i] can be accessed with something like arr[0][j*ARRAYWIDTH+i]. gcc no longer allows such hacks and discards the code silently because of undefined behaviour.
Version | Delta | File | |
---|---|---|---|
1.156 | +6 | -5 | sbin/fdisk/fdisk.c |
+6 | -5 | 1 files |