target/riscv: Add null pointer check before right shift for bscan tunneling.
commit218f6c0181633057a892a8724c506b10b9f6afaa
authoreolson <erin.olson@seagate.com>
Thu, 22 Jun 2023 18:02:21 +0000 (22 13:02 -0500)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 22 Jul 2023 20:16:11 +0000 (22 20:16 +0000)
tree53640864d55c6f161fd312c481e50ceca831f577
parentd57b2448eea7fac0d5ccf8b047adf0a57a557cb5
target/riscv: Add null pointer check before right shift for bscan tunneling.

Change-Id: I5d4764c777f33d48705b3e5273eb840c13cfbfb7
Signed-off-by: eolson <erin.olson@seagate.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7814
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
Reviewed-by: Jan Matyas <jan.matyas@codasip.com>
src/target/riscv/batch.c