[tor-bugs] #19213 [Core Tor/Tor]: Build failure
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Jun 1 11:37:58 UTC 2016
#19213: Build failure
--------------------------+------------------------------
Reporter: bc348 | Owner:
Type: defect | Status: needs_review
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------
Comment (by cypherpunks):
Another instance
{{{
diff --git a/src/test/test_crypto.c b/src/test/test_crypto.c
index e6b250a..c128333 100644
--- a/src/test/test_crypto.c
+++ b/src/test/test_crypto.c
@@ -162,7 +162,7 @@ test_crypto_openssl_version(void *arg)
tt_assert(!strcmpstart(version, h_version)); /* "-fips" suffix, etc */
tt_assert(!strstr(version, "OpenSSL"));
int a=-1,b=-1,c=-1;
- sscanf(version, "%d.%d.%d", &a,&b,&c);
+ tor_sscanf(version, "%d.%d.%d", &a,&b,&c);
tt_int_op(a, OP_GE, 0);
tt_int_op(b, OP_GE, 0);
tt_int_op(c, OP_GE, 0);
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19213#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list