eclair: use snprintf instead of sprintf to prevent buffer-overrun

Change-Id: I2a27cffe303201e1738f115258f6e02058dbc63d
Refs: #1356
Fujitsu: POSTK_DEBUG_ARCH_DEP_38
This commit is contained in:
Ken Sato
2019-09-09 15:09:10 +09:00
committed by Masamichi Takagi
parent beac6c3e80
commit a4b83dc6d4
5 changed files with 267 additions and 8 deletions

11
test/issues/1356/Makefile Normal file
View File

@ -0,0 +1,11 @@
CFLAGS=-g
LDFLAGS=
TARGET=
all: $(TARGET)
test: all
./C1356.sh
clean:
rm -f $(TARGET) *.o *.txt