BAD_SIZEOF in inkscape/src/extension/internal/pdfinput/svg-builder.cpp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Jon A. Cruz |
Bug Description
BAD_SIZEOF in inkscape/
In Inkscape:
The sizeof operator was applied to an unintended variable or expression, such as a pointer variable instead of its target (CWE-467).
1766void SvgBuilder:
1767 GfxColorSpace *blending_
1768 bool isolated, bool knockout,
1769 bool for_softmask) {
1770
1771 // Push node stack
1772 pushNode("svg:g");
1773
1774 // Setup new transparency group
1775 SvgTransparency
Taking the size of pointer parameter "bbox" is suspicious.
1776 memcpy(
Related branches
Changed in inkscape: | |
status: | In Progress → Fix Committed |
Changed in inkscape: | |
milestone: | none → 0.49 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Confirmed incorrect handling of data types.