[tor-bugs] #22803 [Core Tor/Tor]: Memory leak in link-handshake/certs_ok_ed25519

2017-07-03 Thread Tor Bug Tracker & Wiki
#22803: Memory leak in link-handshake/certs_ok_ed25519
--+
 Reporter:  nickm |  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:  Tor: 0.3.2.x-final
Component:  Core Tor/Tor  |Version:
 Severity:  Normal|   Keywords:  ???-backport
Actual Points:|  Parent ID:
   Points:|   Reviewer:
  Sponsor:|
--+
 =
 ==24816==ERROR: LeakSanitizer: detected memory leaks

 Direct leak of 160 byte(s) in 1 object(s) allocated from:
 #0 0x7fe721373e60 in malloc (/lib64/libasan.so.3+0xc6e60)
 #1 0x5582ccbf96ea in tor_malloc_ src/common/util.c:150
 #2 0x5582ccbf9791 in tor_malloc_zero_ src/common/util.c:178
 #3 0x5582ccb7d8ae in tor_x509_cert_new__real src/common/tortls.c:677
 #4 0x5582cc61f504 in test_link_handshake_certs_ok
 src/test/test_link_handshake.c:232
 #5 0x5582cc783a78 in testcase_run_bare_ src/ext/tinytest.c:106
 #6 0x5582cc783f76 in testcase_run_forked_ src/ext/tinytest.c:190
 #7 0x5582cc783f76 in testcase_run_one src/ext/tinytest.c:248
 #8 0x5582cc785465 in tinytest_main src/ext/tinytest.c:435
 #9 0x5582cc3d7846 in main src/test/testing_common.c:319
 #10 0x7fe71e6c4400 in __libc_start_main (/lib64/libc.so.6+0x20400)

 Indirect leak of 3050 byte(s) in 58 object(s) allocated from:
 #0 0x7fe721373e60 in malloc (/lib64/libasan.so.3+0xc6e60)
 #1 0x7fe7204e03e7 in CRYPTO_malloc (/lib64/libcrypto.so.10+0x6e3e7)

 Indirect leak of 579 byte(s) in 1 object(s) allocated from:
 #0 0x7fe721373e60 in malloc (/lib64/libasan.so.3+0xc6e60)
 #1 0x5582ccbf96ea in tor_malloc_ src/common/util.c:150
 #2 0x5582ccb7d904 in tor_x509_cert_new__real src/common/tortls.c:687
 #3 0x5582cc61f504 in test_link_handshake_certs_ok
 src/test/test_link_handshake.c:232
 #4 0x5582cc783a78 in testcase_run_bare_ src/ext/tinytest.c:106
 #5 0x5582cc783f76 in testcase_run_forked_ src/ext/tinytest.c:190
 #6 0x5582cc783f76 in testcase_run_one src/ext/tinytest.c:248
 #7 0x5582cc785465 in tinytest_main src/ext/tinytest.c:435
 #8 0x5582cc3d7846 in main src/test/testing_common.c:319
 #9 0x7fe71e6c4400 in __libc_start_main (/lib64/libc.so.6+0x20400)

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22803 [Core Tor/Tor]: Memory leak in link-handshake/certs_ok_ed25519

2017-07-05 Thread Tor Bug Tracker & Wiki
#22803: Memory leak in link-handshake/certs_ok_ed25519
-+-
 Reporter:  nickm|  Owner:  nickm
 Type:  defect   | Status:
 |  accepted
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  029-backport 030-backport|  Actual Points:
  031-backport   |
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+-
Changes (by nickm):

 * owner:   => nickm
 * status:  new => accepted
 * keywords:  ???-backport => 029-backport 030-backport 031-backport


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22803 [Core Tor/Tor]: Memory leak in link-handshake/certs_ok_ed25519

2017-07-05 Thread Tor Bug Tracker & Wiki
#22803: Memory leak in link-handshake/certs_ok_ed25519
-+-
 Reporter:  nickm|  Owner:  nickm
 Type:  defect   | Status:
 |  needs_review
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Minor| Resolution:
 Keywords:  030-backport 031-backport tor-tests  |  Actual Points:  .1
  memory-leak|
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+-
Changes (by nickm):

 * status:  accepted => needs_review
 * keywords:  029-backport 030-backport 031-backport => 030-backport
 031-backport tor-tests memory-leak
 * severity:  Normal => Minor
 * actualpoints:   => .1


Comment:

 See branch `bug22803_030`, for backport to 0.3.0 and 0.3.1

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22803 [Core Tor/Tor]: Memory leak in link-handshake/certs_ok_ed25519

2017-07-13 Thread Tor Bug Tracker & Wiki
#22803: Memory leak in link-handshake/certs_ok_ed25519
-+-
 Reporter:  nickm|  Owner:  nickm
 Type:  defect   | Status:
 |  needs_review
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Minor| Resolution:
 Keywords:  030-backport 031-backport tor-tests  |  Actual Points:  .1
  memory-leak|
Parent ID:   | Points:
 Reviewer:  asn  |Sponsor:
-+-
Changes (by asn):

 * reviewer:   => asn


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22803 [Core Tor/Tor]: Memory leak in link-handshake/certs_ok_ed25519

2017-07-14 Thread Tor Bug Tracker & Wiki
#22803: Memory leak in link-handshake/certs_ok_ed25519
-+-
 Reporter:  nickm|  Owner:  nickm
 Type:  defect   | Status:
 |  merge_ready
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Minor| Resolution:
 Keywords:  030-backport 031-backport tor-tests  |  Actual Points:  .1
  memory-leak|
Parent ID:   | Points:
 Reviewer:  asn  |Sponsor:
-+-
Changes (by asn):

 * status:  needs_review => merge_ready


Comment:

 Looks good to me and seems to fix the leak!

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #22803 [Core Tor/Tor]: Memory leak in link-handshake/certs_ok_ed25519

2017-07-14 Thread Tor Bug Tracker & Wiki
#22803: Memory leak in link-handshake/certs_ok_ed25519
-+-
 Reporter:  nickm|  Owner:  nickm
 Type:  defect   | Status:  closed
 Priority:  Medium   |  Milestone:  Tor:
 |  0.3.2.x-final
Component:  Core Tor/Tor |Version:
 Severity:  Minor| Resolution:  fixed
 Keywords:  030-backport 031-backport tor-tests  |  Actual Points:  .1
  memory-leak|
Parent ID:   | Points:
 Reviewer:  asn  |Sponsor:
-+-
Changes (by nickm):

 * status:  merge_ready => closed
 * resolution:   => fixed


Comment:

 Thanks! Merged to 0.3.0 and forward!

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs