[valgrind-variant] r119 committed - Fix uninitialized read in the scheduler (RaceWatcher-related)....

1 view
Skip to first unread message

valgrind...@googlecode.com

unread,
Nov 2, 2011, 5:33:27 AM11/2/11
to valgrind-var...@googlegroups.com
Revision: 119
Author: eug...@google.com
Date: Wed Nov 2 02:32:38 2011
Log: Fix uninitialized read in the scheduler (RaceWatcher-related).

BUG=http://code.google.com/p/valgrind-variant/issues/detail?id=1

http://code.google.com/p/valgrind-variant/source/detail?r=119

Modified:
/trunk/valgrind/coregrind/m_scheduler/scheduler.c

=======================================
--- /trunk/valgrind/coregrind/m_scheduler/scheduler.c Tue Oct 25 09:11:36
2011
+++ /trunk/valgrind/coregrind/m_scheduler/scheduler.c Wed Nov 2 02:32:38
2011
@@ -992,7 +992,7 @@
*/
VgSchedReturnCode VG_(scheduler) ( ThreadId tid )
{
- UInt trc;
+ UInt trc = VG_TRC_BORING;
ThreadState *tst = VG_(get_ThreadState)(tid);
static Bool vgdb_startup_action_done = False;

Reply all
Reply to author
Forward
0 new messages