BR 2817225: don't overrun a permts buffer with a maximum label
BR 2817225: don't overrun a permts buffer with a maximum label

BR 677841 was fixed backwards, with a reverse condition.  Correct the
direction of the fix, and add an assert for the overflow condition.

Note: the bug was non-manifest in previous build, so this is not a
security issue.

Signed-off-by: H. Peter Anvin <8a453bad9912ffe59bc0f0b8abe03df9be19379e@zytor.com>

turingstudio/nasm,letolabs/nasm,Distrotech/nasm,letolabs/nasm,turingstudio/nasm,Distrotech/nasm,techkey/nasm,turingstudio/nasm,Distrotech/nasm,projedi/nasm,projedi/nasm,turingstudio/nasm,techkey/nasm,techkey/nasm,Distrotech/nasm,projedi/nasm,techkey/nasm,projedi/nasm,techkey/nasm,letolabs/nasm,projedi/nasm