sprintf warnings in fantom
Steffen Grunewald notes these warnings when building fantom
/build/cds-crtools-3.1.0/src/dtt/fantom/larsio.cc: In member function 'bool fantom::lars_support::open()':
/build/cds-crtools-3.1.0/src/dtt/fantom/larsio.cc:826:26: warning: '/.ldaspw' directive writing 8 bytes into a region of size between 1 and 256 [-Wformat-overflow=]
sprintf( filename, "%s/.ldaspw", homedir );
^~~~~~~~~~~~
/build/cds-crtools-3.1.0/src/dtt/fantom/larsio.cc:826:14: note: 'sprintf' output between 9 and 264 bytes into a destination of size 256
sprintf( filename, "%s/.ldaspw", homedir );
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Edited by Erik von Reis