Just curious - will this ever be fixed? From today’s head of master:

In file included from info.c:46:0:
info.c: In function 'opal_info_dup_mode':
../../opal/util/info.h:112:31: warning: '%s' directive output may be truncated 
writing up to 36 bytes into a region of size 27 [-Wformat-truncation=]
info.c:212:22: note: in expansion of macro 'OPAL_INFO_SAVE_PREFIX'
                      OPAL_INFO_SAVE_PREFIX "%s", iterator->ie_key);
info.c:212:45: note: format string is defined here
                      OPAL_INFO_SAVE_PREFIX "%s", iterator->ie_key);
info.c:211:18: note: 'snprintf' output between 10 and 46 bytes into a 
destination of size 36
                  snprintf(savedkey, OPAL_MAX_INFO_KEY,
                      OPAL_INFO_SAVE_PREFIX "%s", iterator->ie_key);

devel mailing list

Reply via email to