Add additional sanity checks to osl_get_rank().
authorAndre Noll <maan@systemlinux.org>
Sun, 18 Nov 2007 19:49:56 +0000 (20:49 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 18 Nov 2007 19:49:56 +0000 (20:49 +0100)
commitc47aa3e188e0e51b4dfdf957a140177bfc03a8da
tree0a8df28eb1ede78cf8f660ef8f994db33e4257c9
parentf3a22620ec1091b6a56152eacd9fcf5560b7bf1d
Add additional sanity checks to osl_get_rank().

Check whether the riven rank is greater than zero and not greater than
the number of rows in the table.
osl.c