• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Check that pb_release() correctly handles corrupted size fields of
2# static arrays.
3
4Import('env', 'malloc_env')
5
6env.NanopbProto('size_corruption')
7
8p = malloc_env.Program(["size_corruption.c",
9                         "size_corruption.pb.c",
10                         "$COMMON/pb_decode_with_malloc.o",
11                         "$COMMON/pb_common_with_malloc.o",
12                         "$COMMON/malloc_wrappers.o"])
13env.RunTest(p)
14
15