]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Fix uninitialized `err' in handle_extension()
authorAndreas Arnez <arnez@linux.ibm.com>
Wed, 15 May 2024 12:32:42 +0000 (14:32 +0200)
committerAndreas Arnez <arnez@linux.ibm.com>
Wed, 15 May 2024 12:32:42 +0000 (14:32 +0200)
commit94c2e5c6be23c6323f24deacdad5f98fb9f0b1c2
tree854b821befdbc73054b147614b6a92d25b4741ab
parent92b6fa13d4ecf075c434d0316d493383edf7aa6d
Fix uninitialized `err' in handle_extension()

In handle_extension(), in the case of a second return from SCHEDSETJMP the
variable `err' would be used uninitialized.  Fix this by avoiding any
access to `err' in this case.
coregrind/m_scheduler/scheduler.c