RIOT-OS/RIOT — pull request #1025 by BytesGalore (2014-04-17 15:02:55+00:00)
Title: sys:posix:pthread added check to avoid array out of boud access

This PR adds checks to avoid acces to `pthread_sched_threads[]` with possibly negative values