You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/travis/build/dansarie/SoCracked/sboxgates/state.c: In function ‘save_state’:
/home/travis/build/dansarie/SoCracked/sboxgates/state.c:99:38: warning: ‘.state’ directive writing 6 bytes into a region of size between 0 and 20 [-Wformat-overflow=]
99 | sprintf(name, "%d-%03d-%04d-%s-%08x.state", num_outputs, st.num_gates - 8, st.sat_metric, out,
| ^~~~~~
In file included from /usr/include/stdio.h:867,
from /usr/include/msgpack/object.h:14,
from /usr/include/msgpack.h:17,
from /home/travis/build/dansarie/SoCracked/sboxgates/state.c:24:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 27 and 53 bytes into a destination of size 40
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: