Closed Bug 1246886 Opened 4 years ago Closed 4 years ago
[Static Analysis][Uninitialized scalar field] In function Interrupt
Frame(Interrupt Frame&& a Other)
58 bytes, text/x-review-board-request
The Static Analysis tool Coverity added that member mMoved is not initialized in the move constructor. The path that the move constructor gets called is: >> if (!mThat.mCxxStackFrames.append(InterruptFrame(direction, msg))) >> MOZ_CRASH(); The aOther object will have mMoved initialized by constructor InterruptFrame(Direction direction, const Message* msg) but when calling the move constructor the value of mMoved will not be passed to the new object.
Review commit: https://reviewboard.mozilla.org/r/34143/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/34143/
Attachment #8717355 - Flags: review?(wmccloskey)
Comment on attachment 8717355 [details] MozReview Request: Bug 1246886 - initialize mMoved in move contructor. r?billm https://reviewboard.mozilla.org/r/34143/#review30859
Attachment #8717355 - Flags: review?(wmccloskey) → review+
You need to log in before you can comment on or make changes to this bug.