diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-04-22 18:18:37 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-04-22 18:18:37 +0100 |
commit | 1eb71ef1c24f8b6a3bb8a66d341c583a1552a764 (patch) | |
tree | 700f343d0b440c192bf93981fd4af4c1bce9611a /gdk-pixbuf/gdiplus.def | |
parent | 0cc1b8b936269c4e8935ae1a7536da8aad3e3a74 (diff) | |
download | gdk-pixbuf-ebassi/issue-143.tar.gz |
jpeg: Do not rely on UB around setjmp/longjmpebassi/issue-143
We are reading and writing a structure before and after a
sigsetjmp/longjmp pair without declaring it volatile. This is undefined
behaviour, and even if most compilers and toolchains won't have any
issue with that, it's better to avoid it if at all possible.
The simplest fix is to declare the variable in a separate function, and
then pass it by reference.
Fixes: #143
Diffstat (limited to 'gdk-pixbuf/gdiplus.def')
0 files changed, 0 insertions, 0 deletions