mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-05 00:13:19 +00:00
bas_token.l: In function 'yylex':
Error: bas_token.l:1210:31: error: 'strcpy' writing 1 or more bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
1210 | }
| ^
In file included from bas_auto.h:77,
from bas_token.l:16:
bas_token.h:103:8: note: at offset 2 into destination object 'name' of size 2
103 | char name[2/* ... */];
| ^~~~
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| bas.c | ||
| bas.h | ||
| bas_auto.c | ||
| bas_auto.h | ||
| bas_autotypes.h | ||
| bas_error.h | ||
| bas_fs.c | ||
| bas_fs.h | ||
| bas_global.c | ||
| bas_global.h | ||
| bas_main.c | ||
| bas_program.c | ||
| bas_program.h | ||
| bas_programtypes.h | ||
| bas_statement.c | ||
| bas_statement.h | ||
| bas_str.c | ||
| bas_str.h | ||
| bas_token.c | ||
| bas_token.h | ||
| bas_token.l | ||
| bas_value.c | ||
| bas_value.h | ||
| bas_var.c | ||
| bas_var.h | ||
| bas_vt100.c | ||
| bas_vt100.h | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||