-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix calling destructor on uninitialized dynamic library crash.
A test case was also created for this situation to prevent the problem occuring again. A similar problem was also fixed for the symbol method. There was some minor code cleanup.
- Loading branch information
1 parent
82b2455
commit 2047026
Showing
1 changed file
with
70 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2047026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from graydon
at mstewartgallus@2047026
2047026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging sstewartgallus/rust/fix_dynamic_lib = 2047026 into auto
2047026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sstewartgallus/rust/fix_dynamic_lib = 2047026 merged ok, testing candidate = 800dbff
2047026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/712
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/715
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt/builds/716
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt-vg/builds/709
success: http://buildbot.rust-lang.org/builders/auto-mac-all-opt/builds/712
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/730
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt/builds/732
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/730
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt/builds/734
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt-vg/builds/739
success: http://buildbot.rust-lang.org/builders/auto-linux-all-opt/builds/732
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/715
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt/builds/729
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/503
2047026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 800dbff