mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-22 18:20:09 +01:00
24 lines
337 B
C
24 lines
337 B
C
/* This is simply a process that segfaults */
|
|
#include <config.h>
|
|
#include <stdlib.h>
|
|
#ifdef HAVE_SIGNAL_H
|
|
#include <signal.h>
|
|
#endif
|
|
|
|
#include "dbus/dbus-sysdeps.h"
|
|
|
|
int
|
|
main (int argc, char **argv)
|
|
{
|
|
char *p;
|
|
|
|
_dbus_disable_crash_handling ();
|
|
|
|
#ifdef HAVE_RAISE
|
|
raise (SIGSEGV);
|
|
#endif
|
|
p = NULL;
|
|
*p = 'a';
|
|
|
|
return 0;
|
|
}
|