zephyr/drivers/modem
Keith Packard 87367afa80 drivers/modem: Increase sprintk buffers to hold parameter types
These drivers use stack buffers to hold AT command strings which are
generated at runtime using sprintk. The buffers are only sized for the
expected range of values, not the full possible range given the datatypes
involved. Values outside this expected range could cause a buffer overflow.

To mitigate this, increase the size of each buffef to hold the full range
of each parameter type.

Signed-off-by: Keith Packard <keithp@keithp.com>
2022-06-09 11:33:09 +02:00
..
CMakeLists.txt modem: remove 'modem_pin' abstraction 2022-06-06 17:58:52 +02:00
gsm_ppp.c drivers: gsm_ppp: Fix null pointer dereference in log message 2022-06-07 19:04:48 +02:00
hl7800.c drivers/modem: Increase sprintk buffers to hold parameter types 2022-06-09 11:33:09 +02:00
Kconfig modem: modem_iface_uart_async: added 2022-05-10 10:44:04 +02:00
Kconfig.gsm drivers: modem: gsm: wait for cellular registration 2022-03-16 10:23:32 +01:00
Kconfig.hl7800 modem: hl7800: add API to set bands 2022-03-30 11:39:06 +02:00
Kconfig.quectel-bg9x kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.simcom-sim7080 everywhere: fix typos 2022-03-14 20:22:24 -04:00
Kconfig.ublox-sara-r4 kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.wncm14a2a kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
modem_cmd_handler.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
modem_cmd_handler.h drivers/modem: add user_data to modem_cmd_handler_data 2022-06-06 17:59:35 +02:00
modem_context.c modem: remove 'modem_pin' abstraction 2022-06-06 17:58:52 +02:00
modem_context.h modem: remove 'modem_pin' abstraction 2022-06-06 17:58:52 +02:00
modem_iface_uart.h modem: modem_iface_uart_async: added 2022-05-10 10:44:04 +02:00
modem_iface_uart_async.c modem: modem_iface_uart_async: added 2022-05-10 10:44:04 +02:00
modem_iface_uart_interrupt.c modem: choice symbol for UART backend 2022-05-10 10:44:04 +02:00
modem_receiver.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
modem_receiver.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
modem_shell.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
modem_socket.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
modem_socket.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
quectel-bg9x.c drivers/modem: Increase sprintk buffers to hold parameter types 2022-06-09 11:33:09 +02:00
quectel-bg9x.h modem: quectel-bg9x: use 'gpio_dt_spec' instead of 'modem_pin' 2022-06-06 17:58:52 +02:00
simcom-sim7080.c modem: simcom-sim7080: do not send fragmented data as multiple datagrams 2022-06-06 10:26:53 -07:00
simcom-sim7080.h modem: simcom-sim7080: use 'gpio_dt_spec' instead of 'modem_pin' 2022-06-06 17:58:52 +02:00
ublox-sara-r4.c drivers/modem: Increase sprintk buffers to hold parameter types 2022-06-09 11:33:09 +02:00
wncm14a2a.c drivers/modem: Increase sprintk buffers to hold parameter types 2022-06-09 11:33:09 +02:00