mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-06 17:31:01 +01:00
22 lines
358 B
C
22 lines
358 B
C
![]() |
int *ptr;
|
||
|
|
||
|
/*
|
||
|
* Copyright (C) 2002-2005 Novell/SUSE
|
||
|
*
|
||
|
* This program is free software; you can redistribute it and/or
|
||
|
* modify it under the terms of the GNU General Public License as
|
||
|
* published by the Free Software Foundation, version 2 of the
|
||
|
* License.
|
||
|
*/
|
||
|
|
||
|
main()
|
||
|
{
|
||
|
printf("This will cause a sigsegv\n");
|
||
|
|
||
|
ptr=0;
|
||
|
|
||
|
*ptr=0xdeadbeef;
|
||
|
|
||
|
return 0;
|
||
|
}
|