mirror of
https://github.com/apache/nuttx.git
synced 2026-08-07 05:27:17 +00:00
Check the provided length before reading the current lowoutstream byte. This avoids reading past zero-length or fully consumed buffers before the loop condition stops. Generated-by: OpenAI Codex Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| lib_base64outstream.c | ||
| lib_blkoutstream.c | ||
| lib_bufferedoutstream.c | ||
| lib_dtoa_data.c | ||
| lib_dtoa_engine.c | ||
| lib_dtoa_engine.h | ||
| lib_fileinstream.c | ||
| lib_fileoutstream.c | ||
| lib_hexdumpstream.c | ||
| lib_libbsprintf.c | ||
| lib_libnoflush.c | ||
| lib_libsnoflush.c | ||
| lib_libvscanf.c | ||
| lib_libvsprintf.c | ||
| lib_lowoutstream.c | ||
| lib_lzfcompress.c | ||
| lib_meminstream.c | ||
| lib_memoutstream.c | ||
| lib_memsistream.c | ||
| lib_memsostream.c | ||
| lib_mtdoutstream.c | ||
| lib_mtdsostream.c | ||
| lib_nullinstream.c | ||
| lib_nulloutstream.c | ||
| lib_rawinstream.c | ||
| lib_rawoutstream.c | ||
| lib_rawsistream.c | ||
| lib_rawsostream.c | ||
| lib_stdinstream.c | ||
| lib_stdoutstream.c | ||
| lib_stdsistream.c | ||
| lib_stdsostream.c | ||
| lib_syslograwstream.c | ||
| lib_syslogstream.c | ||
| lib_ultoa_invert.c | ||
| lib_ultoa_invert.h | ||
| lib_zeroinstream.c | ||
| Make.defs | ||