Opened 5 years ago

Closed 5 years ago

#17251 closed defect (fixed)

warning in test_crypto_slow.c

Reported by: nickm Owned by:
Priority: Medium Milestone: Tor: 0.2.7.x-final
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


src/test/test_crypto_slow.c: In function ‘test_libscrypt_eq_openssl’:
src/test/test_crypto_slow.c:220:28: error: integer overflow in expression [-Werror=overflow]
   maxmem = 2 * 1024 * 1024 * 1024; // 2 GB

Child Tickets

Change History (3)

comment:1 Changed 5 years ago by nickm

(Fixing; just need to re-run the tests before I commit.)

comment:2 Changed 5 years ago by nickm

f7ce93d97949fe0897bf8f1b2e95da73c620ff8a fixes this.

comment:3 Changed 5 years ago by nickm

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.