nuttx/drivers/serial
Huang Qi d8a61108cf drivers/ptmx: Fix a potential buffer overflow
Fix warning:
```
serial/ptmx.c:205:34: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=]
  205 |   snprintf(devname, 16, "/dev/pty%d", minor);
      |
serial/ptmx.c:205:25: note: directive argument in the range [0, 2147483647]
  205 |   snprintf(devname, 16, "/dev/pty%d", minor);
      |                         ^~~~~~~~~~~~
serial/ptmx.c:205:3: note: ‘snprintf’ output between 10 and 19 bytes into a destination of size 16
  205 |   snprintf(devname, 16, "/dev/pty%d", minor);
```

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-06-09 19:41:11 +03:00
..
Kconfig arch/arm64: merge serial_pl011.c and qemu_serial.c 2023-05-10 09:06:59 +02:00
Kconfig-16550 dma support 16550 uart 2023-05-23 01:32:03 +08:00
Kconfig-lpuart
Kconfig-pl011 arch/arm64: merge serial_pl011.c and qemu_serial.c 2023-05-10 09:06:59 +02:00
Kconfig-sci
Kconfig-uart
Kconfig-usart
Make.defs arch/arm64: merge serial_pl011.c and qemu_serial.c 2023-05-10 09:06:59 +02:00
ptmx.c drivers/ptmx: Fix a potential buffer overflow 2023-06-09 19:41:11 +03:00
pty.c drivers/serial/pty.c: Fix coverity issue 2023-05-17 07:44:26 +02:00
pty.h
serial_dma.c
serial_io.c
serial_pl011.c arch/arm64: merge serial_pl011.c and qemu_serial.c 2023-05-10 09:06:59 +02:00
serial.c drivers/serial: fix race condition in multi-thread write 2023-05-17 07:56:08 +02:00
uart_16550.c serial/16550: Include nuttx/clk/clk.h 2023-06-04 11:37:59 +03:00
uart_bth4.c
uart_rpmsg.c