]> source.dussan.org Git - tigervnc.git/commit
Protect key variables from setjmp()
authorPierre Ossman <ossman@cendio.se>
Wed, 4 Jan 2023 15:29:38 +0000 (16:29 +0100)
committerPierre Ossman <ossman@cendio.se>
Thu, 5 Jan 2023 15:43:34 +0000 (16:43 +0100)
commitcdec36858eb0373fb2438f357411615c41de1125
tree92a242a77a3ea8b4cb247104ab7c82bb4ec25d1a
parente75051a62ab8347cc5ff8cde3cb3ea6edf15e2ad
Protect key variables from setjmp()

If we don't mark these as volatile then they might get reset on
longjmp() and the code will misbehave.
common/rfb/JpegCompressor.cxx
common/rfb/JpegDecompressor.cxx