summaryrefslogtreecommitdiff
path: root/help/kn/[email protected]:mate-desktop/mate-calc.git
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2024-09-03 16:32:35 +0200
committerLuke from DC <[email protected]>2024-09-03 23:51:29 +0000
commit7ef327f6f269c7a49357e001cd41d7aaf5807749 (patch)
tree98df9ae16ca338f365e12e0d47cc62d8383ec61a /help/kn/[email protected]:mate-desktop/mate-calc.git
parentfe495df3ec39c155eacecbfbfbdd3d6ad45c46ec (diff)
downloadmate-calc-master.tar.bz2
mate-calc-master.tar.xz
Fix invalid memory access with invalid powersHEADmaster
The ParseNode's value must be valid to pass to `free()`, as it's done unconditionally if the expression is invalid. However, for some functions a shortuct was taken avoiding duplicating memory. This was OK in case the expression is valid because the evaluation function would convert it and set the pointer back to NULL; but it's not OK if the expression is invalid as the evaluation doesn't happen and the pointer is not reset before being freed. Fixes #226.
Diffstat (limited to 'help/kn/[email protected]:mate-desktop/mate-calc.git')
0 files changed, 0 insertions, 0 deletions