I get this compilation warning from an included ETA header file. Can it be fixed ?
In file included from ../../../libs/upa/include/rtr/rsslRDMMsg.h:12,
from ../../../libs/upa/include/rtr/rsslReactor.h:12,
from ../sslsrc.h:76,
from ../mocks/sslsrc_mocks.h:19,
from ../upa/test_upa.c:14:
../../../libs/upa/include/rtr/rsslRDMLoginMsg.h: In function ‘rsslInitDefaultRDMLoginRequest’:
../../../libs/upa/include/rtr/rsslRDMLoginMsg.h:227:77: warning: ‘/net’ directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=]
snprintf(pRequest->defaultPosition, sizeof(pRequest->defaultPosition), "%s/net", tmpHostNameBlock);
^~~~
../../../libs/upa/include/rtr/rsslRDMLoginMsg.h:227:3: note: ‘snprintf’ output between 5 and 260 bytes into a destination of size 256
snprintf(pRequest->defaultPosition, sizeof(pRequest->defaultPosition), "%s/net", tmpHostNameBlock);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~