This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit ff45ed4
committed
[[ Bug 22085 ]] Fix use after release of dashes struct lengths field
This patch fixes an issue that arises when using the dashes offset
opcode of the drawing library - the dashes struct's lengths field
is meant to be re-used for the new dashes with offset, but it is
actually released first, causing the passed-in lengths pointer to be
invalid.1 parent 830d558 commit ff45ed4
2 files changed
+26
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1694 | 1694 | | |
1695 | 1695 | | |
1696 | 1696 | | |
1697 | | - | |
1698 | | - | |
1699 | | - | |
1700 | | - | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
1701 | 1708 | | |
1702 | 1709 | | |
1703 | 1710 | | |
| |||
1706 | 1713 | | |
1707 | 1714 | | |
1708 | 1715 | | |
1709 | | - | |
| 1716 | + | |
1710 | 1717 | | |
1711 | 1718 | | |
1712 | | - | |
1713 | | - | |
1714 | | - | |
1715 | | - | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
1716 | 1723 | | |
1717 | 1724 | | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
1718 | 1730 | | |
1719 | | - | |
1720 | | - | |
1721 | | - | |
1722 | | - | |
1723 | | - | |
1724 | | - | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
1725 | 1735 | | |
1726 | 1736 | | |
1727 | 1737 | | |
| |||
0 commit comments