-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Bug
Copy link
Labels
CoverityA Coverity detected issue or its fixA Coverity detected issue or its fixbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug
Description
Static code scan issues found in file:
Category: Memory - corruptions
Function: cbvprintf
Component: Other
CID: 215712
Details:
1605 }
1606
1607 if (value->sint < 0) {
1608 sign = '-';
1609 value->uint = (uint_value_type)-value->sint;
1610 } else {
>>> CID 215712: Memory - corruptions (OVERLAPPING_COPY)
>>> Assigning "value->sint" to "value->uint", which have overlapping memory locations and different types.
1611 value->uint = (uint_value_type)value->sint;
1612 }
1613
1614 __fallthrough;
1615 case 'o':
1616 case 'u':
Please fix or provide comments in coverity using the link:
https://scan9.coverity.com/reports.htm#v32951/p12996.
Note: This issue was created automatically. Priority was set based on classification
of the file affected and the impact field in coverity. Assignees were set using the CODEOWNERS file.
Metadata
Metadata
Assignees
Labels
CoverityA Coverity detected issue or its fixA Coverity detected issue or its fixbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug