-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Follow up to #190 for render_list
#417
Conversation
|
||
{"help", no_argument, 0, 'h'}, | ||
{"version", no_argument, 0, 'V'}, | ||
{0, 0, 0, 0} | ||
}; | ||
|
||
int c = getopt_long(argc, argv, "ac:fm:l:X:Y:Z:x:y:z:n:s:t:vhVdA:B:C:D:", long_options, &option_index); | ||
int c = getopt_long(argc, argv, "ac:fm:G:l:W:X:Y:Z:g:w:x:y:z:n:s:t:vhV", long_options, &option_index); |
Check warning
Code scanning / Flawfinder
Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Warning
@@ -287,6 +284,10 @@ | |||
fprintf(stderr, "\n"); | |||
fprintf(stderr, "If you are using --all, you can restrict the tile range by adding these options:\n"); | |||
fprintf(stderr, "(please note that tile coordinates must be positive integers and are not latitude and longitude values)\n"); | |||
fprintf(stderr, " -G, --max-lat=LATITUDE maximum latitude\n"); |
Check notice
Code scanning / Flawfinder
If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note
@@ -287,6 +284,10 @@ | |||
fprintf(stderr, "\n"); | |||
fprintf(stderr, "If you are using --all, you can restrict the tile range by adding these options:\n"); | |||
fprintf(stderr, "(please note that tile coordinates must be positive integers and are not latitude and longitude values)\n"); | |||
fprintf(stderr, " -G, --max-lat=LATITUDE maximum latitude\n"); | |||
fprintf(stderr, " -g, --min-lat=LATITUDE minimum latitude\n"); |
Check notice
Code scanning / Flawfinder
If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note
@@ -287,6 +284,10 @@ | |||
fprintf(stderr, "\n"); | |||
fprintf(stderr, "If you are using --all, you can restrict the tile range by adding these options:\n"); | |||
fprintf(stderr, "(please note that tile coordinates must be positive integers and are not latitude and longitude values)\n"); | |||
fprintf(stderr, " -G, --max-lat=LATITUDE maximum latitude\n"); | |||
fprintf(stderr, " -g, --min-lat=LATITUDE minimum latitude\n"); | |||
fprintf(stderr, " -W, --max-lon=LONGITUDE maximum longitude\n"); |
Check notice
Code scanning / Flawfinder
If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note
fprintf(stderr, " -G, --max-lat=LATITUDE maximum latitude\n"); | ||
fprintf(stderr, " -g, --min-lat=LATITUDE minimum latitude\n"); | ||
fprintf(stderr, " -W, --max-lon=LONGITUDE maximum longitude\n"); | ||
fprintf(stderr, " -w, --min-lon=LONGITUDE minimum longitude\n"); |
Check notice
Code scanning / Flawfinder
If format strings can be influenced by an attacker, they can be exploited (CWE-134). Note
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #417 +/- ##
===========================================
- Coverage 79.44% 64.66% -14.78%
===========================================
Files 24 24
Lines 5848 4367 -1481
===========================================
- Hits 4646 2824 -1822
- Misses 1202 1543 +341 ☔ View full report in Codecov by Sentry. |
render_list
build needslibm
--dont-render
option