Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HHVM Debugger: Fix segfault from conditional breakpoint
Summary: BreakpointManager was implicitly invoking the copy constructor on Breakpoint and allocating temporaries that when destructed were calling clearCachedConditionUnit and delete'ing the HPHP::Unit cached for the breakpoint condition. This resulted in a double-free of the unit. Reviewed By: velocityboy Differential Revision: D10351891 fbshipit-source-id: 447d4047c37ffc98e9a659711d45217683985668
- Loading branch information
1 parent
2bcbe26
commit f371503
Showing
2 changed files
with
46 additions
and
28 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
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