gblues 11fed40c79 Fix another crash bug in joypad_connect
== DETAILS

I fixed a similar bug in a past commit, with the same root cause: making
assumptions about the length of the array.

- Add validation to joypad_connection_init() so that if >MAX_USERS is
  requested, a warning is logged and only MAX_USERS is allocated.
- Rewrote the iteration routines so they strictly use the
  joypad_is_end_of_list() method to detect the end.
2017-12-30 16:36:54 -08:00
..
2017-12-12 00:24:18 -08:00
2017-12-12 00:24:18 -08:00
2017-12-30 04:43:38 +01:00
2017-12-12 00:24:18 -08:00
2017-12-12 00:24:18 -08:00
2017-12-26 22:02:11 -05:00
2017-12-12 00:24:18 -08:00
2017-12-17 12:36:18 +00:00
2017-09-11 22:49:39 -05:00
2017-12-12 00:24:18 -08:00
2017-12-12 00:24:18 -08:00