Skip to content

Fix #9079 (make checkcfg crashes on Linux)#1769

Merged
versat merged 1 commit intodanmar:masterfrom
versat:fix_9079
Mar 30, 2019
Merged

Fix #9079 (make checkcfg crashes on Linux)#1769
versat merged 1 commit intodanmar:masterfrom
versat:fix_9079

Conversation

@versat
Copy link
Copy Markdown
Collaborator

@versat versat commented Mar 29, 2019

temp.bufferSizeArg2 was not initialized when only bufferSizeArg1
was specified or the value was out of range. But in valueflow.cpp in
valueFlowDynamicBufferSize() it was used as if it is always initialized
and has a sane value (greater than 0).

temp.bufferSizeArg2 was not initialized when only bufferSizeArg1
was specified or the value was out of range. But in valueflow.cpp in
valueFlowDynamicBufferSize() it was used as if it is always initialized
and has a sane value (greater than 0).
Copy link
Copy Markdown
Owner

@danmar danmar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@versat versat merged commit d233b56 into danmar:master Mar 30, 2019
@versat versat deleted the fix_9079 branch March 30, 2019 04:58
@danmar
Copy link
Copy Markdown
Owner

danmar commented Apr 1, 2019

Did this solve ticket 9079? Feel free to close that ticket then.

@versat
Copy link
Copy Markdown
Collaborator Author

versat commented Apr 1, 2019

Yes, thanks. I closed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants