Commit 490f8979 authored by Matthias Clasen's avatar Matthias Clasen

bidi: Be safer against bad input

Don't run off the end of an array that we
allocated to certain length.

Closes: #342
parent fc5dc3e3
Pipeline #94359 passed with stage
in 2 minutes and 21 seconds