mirror of https://github.com/BOINC/boinc.git
Merge pull request #1403 from serval2412/master
cppcheck: fix 2 reports
This commit is contained in:
commit
5a799d297e
|
@ -372,7 +372,7 @@ static int find_site_cookie_mozilla_v3(
|
|||
|
||||
sscanf( argv[0], "%255s", host );
|
||||
sscanf( argv[1], "%255s", cookie_name );
|
||||
sscanf( argv[2], "%4096s", cookie_value );
|
||||
sscanf( argv[2], "%4095s", cookie_value );
|
||||
sscanf( argv[3],
|
||||
#ifdef _WIN32
|
||||
"%I64d",
|
||||
|
@ -572,7 +572,7 @@ static int find_site_cookie_chrome(
|
|||
|
||||
sscanf( argv[0], "%255s", host );
|
||||
sscanf( argv[1], "%255s", cookie_name );
|
||||
sscanf( argv[2], "%4096s", cookie_value );
|
||||
sscanf( argv[2], "%4095s", cookie_value );
|
||||
sscanf( argv[3],
|
||||
#ifdef _WIN32
|
||||
"%I64d",
|
||||
|
|
Loading…
Reference in New Issue