Bumblebee-Project/bumblebeed — pull request #38 by m42a (2012-01-17 06:22:46+00:00)
Title: Loop error

You increment r and optno every loop, which leaves unitialized holes in between each argument since it's offset by 2. This patch waits until after the loop to update optno, and so leaves no holes and doesn't overflow the array bounds.