-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize all members of Terminal (#14345)
The following members were not initialized during construction: * `CursorType _defaultCursorShape` * `bool _suppressApplicationTitle` * `bool _bracketedPasteMode` * `size_t _hyperlinkPatternId` * `SelectionExpansion _multiClickSelectionMode` * `til::CoordType _scrollbackLines` Unlike gcc and clang, MSVC is fairly tame when it comes to removing code tainted by undefined behavior, so the most likely affect this had is that we were reading uninitialized memory. Related to #14129. (cherry picked from commit a798a60) Service-Card-Id: 86603221 Service-Version: 1.16
- Loading branch information
Showing
2 changed files
with
22 additions
and
43 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