mirror of
https://github.com/google/pebble.git
synced 2025-06-03 16:53:11 +00:00
Import of the watch repository from Pebble
This commit is contained in:
commit
3b92768480
10334 changed files with 2564465 additions and 0 deletions
14
third_party/nanopb/tests/regression/issue_205/SConscript
vendored
Normal file
14
third_party/nanopb/tests/regression/issue_205/SConscript
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Check that pb_release() correctly handles corrupted size fields of
|
||||
# static arrays.
|
||||
|
||||
Import('env', 'malloc_env')
|
||||
|
||||
env.NanopbProto('size_corruption')
|
||||
|
||||
p = malloc_env.Program(["size_corruption.c",
|
||||
"size_corruption.pb.c",
|
||||
"$COMMON/pb_decode_with_malloc.o",
|
||||
"$COMMON/pb_common_with_malloc.o",
|
||||
"$COMMON/malloc_wrappers.o"])
|
||||
env.RunTest(p)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue