circuitpython/shared-bindings/rgbmatrix
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
..
__init__.c Swap sphinx to autoapi and the inline stubs 2020-05-12 17:28:24 -07:00
RGBMatrix.c rgbmatrix: validate width= constructor parameter 2020-09-29 19:44:25 -05:00
RGBMatrix.h rgbmatrix: Move struct definition to shared-module, rename 'core' member 2020-09-02 13:34:16 -05:00