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
..
_bleio _bleio: fix markup typo 2020-09-13 11:56:34 -05:00
_eve Modify some Python stubs 2020-08-07 01:01:28 +09:00
_pew Modify some Python stubs 2020-08-07 01:01:28 +09:00
_pixelbuf use the stack 2020-08-10 18:42:05 -04:00
_stage Modify some Python stubs 2020-08-07 01:01:28 +09:00
_typing remove extraneous files 2020-08-21 19:08:25 -05:00
aesio Modify some Python stubs 2020-08-07 01:01:28 +09:00
analogio Fix several type hints 2020-07-27 18:05:13 +09:00
audiobusio Modify some Python stubs 2020-08-07 01:01:28 +09:00
audiocore Modify some Python stubs 2020-08-07 01:01:28 +09:00
audioio Modify some Python stubs 2020-08-07 01:01:28 +09:00
audiomixer Modify some Python stubs 2020-08-07 01:01:28 +09:00
audiomp3 Modify some Python stubs 2020-08-07 01:01:28 +09:00
audiopwmio Modify some Python stubs 2020-08-07 01:01:28 +09:00
bitbangio Modify some Python stubs 2020-08-07 01:01:28 +09:00
board Added type hints to board 2020-07-02 14:14:05 -04:00
busio Change I2C default to 100khz 2020-09-25 11:07:22 -07:00
camera camera: Pass width and height to take_picture() 2020-09-16 13:55:57 +02:00
canio canio: fix read(), iterable bindings 2020-09-22 10:28:25 -05:00
countio Fix several type hints 2020-07-27 18:05:13 +09:00
digitalio Fix several type hints 2020-07-27 18:05:13 +09:00
displayio Delete trailing whitespace 2020-09-02 11:26:37 -05:00
fontio Modify some Python stubs 2020-08-07 01:01:28 +09:00
framebufferio Modify some Python stubs 2020-08-07 01:01:28 +09:00
frequencyio Fix several type hints 2020-07-27 18:05:13 +09:00
gamepad Add and correct some type hints 2020-07-24 18:20:03 +09:00
gamepadshift Add and correct some type hints 2020-07-24 18:20:03 +09:00
gnss remove extraneous files 2020-08-21 19:08:25 -05:00
i2cperipheral remove extraneous files 2020-08-21 19:08:25 -05:00
ipaddress Changes based on Dan's feedback 2020-09-03 16:32:12 -07:00
math Add and correct some type hints 2020-07-24 18:20:03 +09:00
memorymonitor remove extraneous files 2020-08-21 19:08:25 -05:00
microcontroller Print package if it exists for pin or module only if it does not 2020-09-25 10:08:26 -07:00
multiterminal Modify some Python stubs 2020-08-07 01:01:28 +09:00
neopixel_write Modify some Python stubs 2020-08-07 01:01:28 +09:00
network Modify some Python stubs 2020-08-07 01:01:28 +09:00
nvm Modify some Python stubs 2020-08-07 01:01:28 +09:00
os Modify some Python stubs 2020-08-07 01:01:28 +09:00
ps2io "pop from empty %q" 2020-08-04 18:42:09 -05:00
pulseio Add empty lines 2020-08-21 11:36:50 -07:00
pwmio Split pulseio.PWMOut into pwmio 2020-08-18 13:08:33 -07:00
random Add and correct some type hints 2020-07-24 18:20:03 +09:00
rgbmatrix rgbmatrix: validate width= constructor parameter 2020-09-29 19:44:25 -05:00
rotaryio Modify some Python stubs 2020-08-07 01:01:28 +09:00
rtc Fix several type hints 2020-07-27 18:05:13 +09:00
sdcardio remove extraneous files 2020-08-21 19:08:25 -05:00
sdioio remove other extraneous files 2020-08-21 19:10:13 -05:00
sharpdisplay sharpmemory: Implement support for Sharp Memory Displays in framebufferio 2020-08-12 07:32:18 -05:00
socket Modify some Python stubs 2020-08-07 01:01:28 +09:00
socketpool Fix bug with socket.recv_into size == 0. 2020-09-11 16:17:20 -07:00
ssl Changes based on Dan's feedback 2020-09-03 16:32:12 -07:00
storage Modify some Python stubs 2020-08-07 01:01:28 +09:00
struct Modify some Python stubs 2020-08-07 01:01:28 +09:00
supervisor supervisor: Improve serial connection detection 2020-09-17 18:32:06 -05:00
terminalio Modify some Python stubs 2020-08-07 01:01:28 +09:00
time doc fix: remove the text about the non-existing clock specification 2020-09-12 15:25:04 -05:00
touchio Fix several type hints 2020-07-27 18:05:13 +09:00
uheap Add and correct some type hints 2020-07-24 18:20:03 +09:00
usb_hid MIssed one change for .last_received_report 2020-09-10 14:21:36 -04:00
usb_midi address review; use constructor for HCI Adapter 2020-08-30 14:06:48 -04:00
ustack Added type hints to ustack 2020-07-03 15:52:53 -04:00
vectorio Modify some Python stubs 2020-08-07 01:01:28 +09:00
watchdog Add more "extern" declarations for gcc10 compat 2020-08-21 14:39:37 -05:00
wifi connect now accepts bssid 2020-09-16 16:25:17 -07:00
wiznet Modify some Python stubs 2020-08-07 01:01:28 +09:00
help.rst Apply a Sphinx transform to make the core module docs look better 2020-08-07 00:01:31 +09:00
index.rst docs: Improve 5.0.x <-> main branch doc linkrot 2020-06-14 11:12:35 -05:00
support_matrix.rst support_matrix.rst: pre-process space chars in internal link names; would cause a no-id situation when names like 'ndGarage[n°] Bit6: FeatherSnow-v2' were parsed. 2020-08-08 11:37:49 -05:00
util.c Refactor deinit check to reduce code size. 2019-06-12 11:36:43 -07:00
util.h Refactor deinit check to reduce code size. 2019-06-12 11:36:43 -07:00