Jean-Christophe Dubois e332340a77 Fix NULL alarm_timer pointer at exit
This fixes a SIGSEGV error on qemu exit.

Here is the valgrind output related to this error

==3648== Process terminating with default action of signal 11 (SIGSEGV)
==3648==  Access not within mapped region at address 0x8
==3648==    at 0x40636B: host_alarm_handler (vl.c:1345)
==3648==    by 0x52D807F: (within /lib/libpthread-2.9.so)
==3648==    by 0x5C0A12E: tcsetattr (in /lib/libc-2.9.so)
==3648==    by 0x4DD601: term_exit (qemu-char.c:700)
==3648==    by 0x5B636EC: exit (in /lib/libc-2.9.so)
==3648==    by 0x5B4B5AC: (below main) (in /lib/libc-2.9.so)

This simple fix check for a valid pointer as host_alarm_handler is
also called after alarm_timer is released in the exit path.

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
2009-05-20 09:12:58 -05:00
2009-05-14 17:03:50 -05:00
2009-05-20 09:12:58 -05:00
2009-02-09 23:19:44 +00:00
2009-05-19 16:17:58 +01:00
2009-05-19 16:17:58 +01:00
2009-05-19 16:17:58 +01:00
2009-05-13 20:54:26 +01:00
2009-05-19 16:17:58 +01:00
2008-12-13 09:32:43 +00:00
2009-05-13 20:54:26 +01:00
2004-08-01 21:54:53 +00:00
2009-05-08 15:24:10 -05:00
2003-04-29 20:53:42 +00:00
2009-03-07 21:48:00 +00:00
2009-01-05 18:11:53 +00:00
2009-03-07 15:46:23 +00:00
2009-03-10 21:43:35 +00:00
2009-01-14 18:39:49 +00:00
2009-04-07 17:57:09 +00:00
2009-04-07 17:57:09 +00:00
2009-05-19 16:17:58 +01:00
2009-05-10 01:44:56 +01:00
2008-10-12 17:54:42 +00:00
2009-05-19 16:17:58 +01:00
2009-05-19 16:17:58 +01:00
2009-05-19 16:17:58 +01:00
2009-05-13 20:54:26 +01:00
2008-10-27 19:49:12 +00:00
2009-02-09 19:58:22 +00:00
2009-05-07 17:14:07 +00:00
2009-03-05 23:01:23 +00:00
2009-04-07 17:57:09 +00:00
2009-05-19 16:17:58 +01:00
2009-05-03 21:58:28 +03:00
2008-11-12 17:18:41 +00:00
2009-03-08 12:41:36 +00:00
2007-09-16 20:03:23 +00:00
2008-04-12 20:14:54 +00:00
2008-04-12 20:14:54 +00:00
2008-05-31 16:21:33 +00:00
2005-04-07 22:20:31 +00:00
2008-12-14 08:50:18 +00:00
2008-11-30 16:25:37 +00:00
2009-01-05 18:11:53 +00:00
2003-08-10 22:14:22 +00:00
2008-08-25 22:26:03 +00:00
2009-05-19 16:17:58 +01:00
2009-05-19 20:57:02 +04:00
2009-05-19 16:17:58 +01:00
2007-05-05 19:24:38 +00:00
2007-05-05 19:24:38 +00:00
2009-05-08 13:24:12 +01:00
2009-04-05 18:03:31 +00:00
2009-05-14 22:35:07 +01:00
2009-05-13 22:21:47 +01:00
2009-05-08 15:51:19 -05:00
2009-05-14 22:35:09 +01:00
2009-05-09 23:22:35 +01:00
2009-01-14 18:39:49 +00:00
2009-05-19 22:29:20 +04:00
2009-05-08 16:11:49 -05:00
2007-11-17 17:14:51 +00:00
2009-03-05 23:01:23 +00:00
2008-12-14 08:50:18 +00:00
2009-05-14 17:03:49 -05:00
2008-12-13 09:32:43 +00:00
2009-04-07 21:47:27 +00:00
2007-10-06 11:28:21 +00:00
2008-12-14 08:53:17 +00:00
2009-05-19 16:17:58 +01:00
2009-05-19 16:17:58 +01:00
2008-02-04 14:47:49 +00:00
2008-12-04 11:29:42 +00:00
2009-05-13 22:21:47 +01:00
2009-03-05 23:01:23 +00:00
2009-03-05 23:01:23 +00:00
2008-09-06 16:31:30 +00:00
2009-05-20 09:12:58 -05:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00
2009-03-06 23:44:29 +00:00
2005-01-06 20:50:00 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 569 MiB
Languages
C 83%
C++ 6.3%
Python 3.2%
Dylan 2.9%
Shell 1.6%
Other 2.8%