I will provide a small patch which fixes the error message described in the title of this issue.

Comments

guillaumev’s picture

Status: Active » Needs review
StatusFileSize
new783 bytes

Here is the patch.

scuba_fly’s picture

StatusFileSize
new783 bytes

Looking at the code I think the default value should be 2
which is the index of safari 4

the error occurred because index 4 was out of the scope of the array.

Included a patch:

erik frèrejean’s picture

StatusFileSize
new709 bytes

Besides updating the index value, bu_get_versions() should validate whether the requested index actually exists.

pebosi’s picture

Status: Needs review » Fixed

Fixed in latest dev. Thanks.

pebosi’s picture

Status: Fixed » Closed (fixed)

Closing.