[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #19213 [Core Tor/Tor]: Build failure



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs