LDB/DPB do not check for negative indexes.
authorStas Boukarev <stassats@gmail.com>
Sat, 7 Sep 2013 19:01:37 +0000 (23:01 +0400)
committerStas Boukarev <stassats@gmail.com>
Sat, 7 Sep 2013 19:01:37 +0000 (23:01 +0400)
commit6e8fe793a4f3e8a3c8b67755101ee15df85d73c4
treebec9ef4cdb98a458fe1438c5502d8216fe8c4bc2
parent9c510b74eca61bbcc2014dc2b1d02049dff50508
LDB/DPB do not check for negative indexes.

Calling (lambda (x y) (ldb (byte x y) 100)) with -1 -2 didn't raise an
error.

Reported by Bart Botta.
src/code/numbers.lisp
tests/arith.pure.lisp