File: invalid_write.c

package info (click to toggle)
python-ptrace 0.9.9-0.2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 788 kB
  • sloc: python: 10,167; ansic: 263; makefile: 164
file content (13 lines) | stat: -rw-r--r-- 134 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
typedef struct
{
    int x;
    int y;
    int z;
} point_t;

int main()
{
    point_t *point = 0;
    point->z = 42;
    return 0;
}