Skip to content
/ server Public

ma_loghandler:translog_flush_buffers last_buffer_no uninitialized#420

Closed
grooverdan wants to merge 1 commit intoMariaDB:5.5from
grooverdan:5.5-coverity-972479
Closed

ma_loghandler:translog_flush_buffers last_buffer_no uninitialized#420
grooverdan wants to merge 1 commit intoMariaDB:5.5from
grooverdan:5.5-coverity-972479

Conversation

@grooverdan
Copy link
Member

As last_buffer_no i used in the next if block it need to be initialized.

Found by Coverity (id 972479).

I submit this under the MCA.

As last_buffer_no i used in the next if block it need to be initialized.

Found by Coverity (id 972479).
@grooverdan
Copy link
Member Author

Invalid.

last_buffer_no is initialized in every branch except for ast_lsn == LSN_IMPOSSIBLE) which has an unconditional return.

@grooverdan grooverdan closed this Jul 2, 2017
@svoj svoj added this to the 5.5 milestone Jul 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants