mirror of
https://github.com/google/pebble.git
synced 2026-02-17 10:46:51 -05:00
Import of the watch repository from Pebble
This commit is contained in:
12
third_party/nanopb/tests/regression/issue_647/SConscript
vendored
Normal file
12
third_party/nanopb/tests/regression/issue_647/SConscript
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
# Regression test for #647:
|
||||
# Ill-formed oneof message leads to calling free on an arbitrary pointer
|
||||
|
||||
Import("env")
|
||||
|
||||
env.NanopbProto("repro.proto")
|
||||
|
||||
test = env.Program(["repro.c", "repro.pb.c",
|
||||
"$COMMON/pb_decode_with_malloc.o",
|
||||
"$COMMON/pb_common_with_malloc.o",
|
||||
"$COMMON/malloc_wrappers.o"])
|
||||
env.RunTest(test)
|
||||
Reference in New Issue
Block a user