Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mb7k2ss.c:607:29: warning: ‘%4.4d’ directive writing between 4 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
- sprintf(output_file, "%s_%4.4d_sshi.mb71", lineroot, linenumber);
- ^~~~~
- mb7k2ss.c:607:4: note: ‘sprintf’ output between 16 and 1046 bytes into a destination of size 1024
- sprintf(output_file, "%s_%4.4d_sshi.mb71", lineroot, linenumber);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mb7k2ss.c:605:29: warning: ‘%4.4d’ directive writing between 4 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
- sprintf(output_file, "%s_%4.4d_sslo.mb71", lineroot, linenumber);
- ^~~~~
- mb7k2ss.c:605:4: note: ‘sprintf’ output between 16 and 1046 bytes into a destination of size 1024
- sprintf(output_file, "%s_%4.4d_sslo.mb71", lineroot, linenumber);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mb7k2ss.c:780:26: warning: ‘_ssswathplot.cmd’ directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(scriptfile, "%s_ssswathplot.cmd", file);
- ^~~~~~~~~~~~~~~~
- mb7k2ss.c:780:3: note: ‘sprintf’ output between 17 and 1040 bytes into a destination of size 1024
- sprintf(scriptfile, "%s_ssswathplot.cmd", file);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mb7k2ss.c:777:26: warning: ‘_ssswathplot.cmd’ directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(scriptfile, "%s_ssswathplot.cmd", read_file);
- ^~~~~~~~~~~~~~~~
- mb7k2ss.c:777:3: note: ‘sprintf’ output between 17 and 1040 bytes into a destination of size 1024
- sprintf(scriptfile, "%s_ssswathplot.cmd", read_file);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mb7k2ss.c:774:26: warning: ‘_ssswathplot.cmd’ directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
- sprintf(scriptfile, "%s_ssswathplot.cmd", lineroot);
- ^~~~~~~~~~~~~~~~
- mb7k2ss.c:774:3: note: ‘sprintf’ output between 17 and 1040 bytes into a destination of size 1024
- sprintf(scriptfile, "%s_ssswathplot.cmd", lineroot);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mb7k2ss.c:1187:32: warning: ‘%4.4d’ directive writing between 4 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
- sprintf(output_file, "%s_%4.4d_sshi.mb71", lineroot, linenumber);
- ^~~~~
- mb7k2ss.c:1187:28: note: directive argument in the range [-2147483647, 2147483647]
- sprintf(output_file, "%s_%4.4d_sshi.mb71", lineroot, linenumber);
- ^~~~~~~~~~~~~~~~~~~~
- mb7k2ss.c:1187:7: note: ‘sprintf’ output between 16 and 1046 bytes into a destination of size 1024
- sprintf(output_file, "%s_%4.4d_sshi.mb71", lineroot, linenumber);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mb7k2ss.c:1185:32: warning: ‘%4.4d’ directive writing between 4 and 11 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
- sprintf(output_file, "%s_%4.4d_sslo.mb71", lineroot, linenumber);
- ^~~~~
- mb7k2ss.c:1185:28: note: directive argument in the range [-2147483647, 2147483647]
- sprintf(output_file, "%s_%4.4d_sslo.mb71", lineroot, linenumber);
- ^~~~~~~~~~~~~~~~~~~~
- mb7k2ss.c:1185:7: note: ‘sprintf’ output between 16 and 1046 bytes into a destination of size 1024
- sprintf(output_file, "%s_%4.4d_sslo.mb71", lineroot, linenumber);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mb7k2ss.c:1997:29: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=]
- sprintf(command, "chmod +x %s", scriptfile);
- ^~ ~~~~~~~~~~
- mb7k2ss.c:1997:2: note: ‘sprintf’ output between 10 and 1033 bytes into a destination of size 1024
- sprintf(command, "chmod +x %s", scriptfile);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mb7k2ss.c:1414:20: warning: ‘ttime_min_use’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- ss_altitude = 0.5 * ssv_use * ttime_min_use;
- ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mb7k2ss.c:1172:57: warning: ‘rangelast’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- if (range < rangethreshold && (activewaypoint == 0 || range > rangelast) &&
- ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- mb7k2ss.c:1431:7: warning: ‘ss_altitude’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- mb7k2ss_get_flatbottom_table(verbose, nangle, angle_min, angle_max, navlon, navlat, ss_altitude, 0.0,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- table_angle, table_xtrack, table_ltrack, table_altitude, table_range,
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- &error);
- ~~~~~~~
- mb7k2ss.c:1181:16: warning: ‘linenumber’ may be used uninitialized in this function [-Wmaybe-uninitialized]
- linenumber++;
- ~~~~~~~~~~^~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement