Skip to content

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

Merged
versat merged 1 commit into
cppcheck-opensource:masterfrom
versat:fix_9079
Mar 30, 2019
Merged

Fix #9079 (make checkcfg crashes on Linux)#1769
versat merged 1 commit into
cppcheck-opensource:masterfrom
versat:fix_9079

Conversation

@versat

@versat versat commented Mar 29, 2019

Copy link
Copy Markdown
Collaborator

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).

@danmar danmar left a comment

Copy link
Copy Markdown
Contributor

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 cppcheck-opensource:master Mar 30, 2019
@versat
versat deleted the fix_9079 branch March 30, 2019 04:58
@danmar

danmar commented Apr 1, 2019

Copy link
Copy Markdown
Contributor

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

@versat

versat commented Apr 1, 2019

Copy link
Copy Markdown
Collaborator Author

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