circuitpython/shared-bindings
Jeff Epler 176b337611 rgbmatrix: validate width= constructor parameter
In #3482, @cwalther noted that, hypothetically, a zero byte allocation
could be made in the RGBMatrix constructor.  Ensure that width is positive.
Height was already checked against the number of RGB pins if it was specified,
so zero is ruled out there as well.
2020-09-29 19:44:25 -05:00
..
2020-09-13 11:56:34 -05:00
2020-08-07 01:01:28 +09:00
2020-08-07 01:01:28 +09:00
2020-08-10 18:42:05 -04:00
2020-08-07 01:01:28 +09:00
2020-08-21 19:08:25 -05:00
2020-08-07 01:01:28 +09:00
2020-07-27 18:05:13 +09:00
2020-08-07 01:01:28 +09:00
2020-08-07 01:01:28 +09:00
2020-08-07 01:01:28 +09:00
2020-08-07 01:01:28 +09:00
2020-08-07 01:01:28 +09:00
2020-08-07 01:01:28 +09:00
2020-08-07 01:01:28 +09:00
2020-07-02 14:14:05 -04:00
2020-09-25 11:07:22 -07:00
2020-07-27 18:05:13 +09:00
2020-07-27 18:05:13 +09:00
2020-09-02 11:26:37 -05:00
2020-08-07 01:01:28 +09:00
2020-08-07 01:01:28 +09:00
2020-07-27 18:05:13 +09:00
2020-07-24 18:20:03 +09:00
2020-08-21 19:08:25 -05:00
2020-08-21 19:08:25 -05:00
2020-09-03 16:32:12 -07:00
2020-07-24 18:20:03 +09:00
2020-08-21 19:08:25 -05:00
2020-08-07 01:01:28 +09:00
2020-08-07 01:01:28 +09:00
2020-08-07 01:01:28 +09:00
2020-08-07 01:01:28 +09:00
2020-08-07 01:01:28 +09:00
2020-08-04 18:42:09 -05:00
2020-08-21 11:36:50 -07:00
2020-08-18 13:08:33 -07:00
2020-07-24 18:20:03 +09:00
2020-08-07 01:01:28 +09:00
2020-07-27 18:05:13 +09:00
2020-08-21 19:08:25 -05:00
2020-08-21 19:10:13 -05:00
2020-08-07 01:01:28 +09:00
2020-09-03 16:32:12 -07:00
2020-08-07 01:01:28 +09:00
2020-08-07 01:01:28 +09:00
2020-08-07 01:01:28 +09:00
2020-07-27 18:05:13 +09:00
2020-07-24 18:20:03 +09:00
2020-07-03 15:52:53 -04:00
2020-08-07 01:01:28 +09:00
2020-09-16 16:25:17 -07:00
2020-08-07 01:01:28 +09:00