diff --git a/api/x_opengl.C b/api/x_opengl.C index 7548d9b129..9a66070a93 100644 --- a/api/x_opengl.C +++ b/api/x_opengl.C @@ -593,7 +593,7 @@ void xwin_graphics_event_loop() { if (debug) fprintf(stderr, "Direct call to xwin_graphics_event_loop()\n"); - struct sigaction sa; + struct sigaction sa = {0}; memset(&sa, 0, sizeof(sa)); sa.sa_handler = restart_sig; sa.sa_flags = SA_RESTART; diff --git a/checkin_notes b/checkin_notes index 99698a1a5f..af41cbc6d1 100755 --- a/checkin_notes +++ b/checkin_notes @@ -8383,3 +8383,11 @@ David 11 Sept 2007 html/ops/ user_graph.php + +Reinhard 11 Sept 2007 + - initialize local 'struct sigaction' variable to zero in xwin_graphics_event_loop() + + api/ + x_opengl.C + + \ No newline at end of file