mirror of
https://github.com/google/pebble.git
synced 2025-08-13 09:58:10 -04:00
Import of the watch repository from Pebble
This commit is contained in:
commit
3b92768480
10334 changed files with 2564465 additions and 0 deletions
13
third_party/nanopb/tests/regression/GHSA-gcx3-7m76-287p/SConscript
vendored
Normal file
13
third_party/nanopb/tests/regression/GHSA-gcx3-7m76-287p/SConscript
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Regression test for security issue GHSA-gcx3-7m76-287p
|
||||
# "Out-of-memory condition on repeated field can result in invalid free()"
|
||||
|
||||
Import("malloc_env")
|
||||
|
||||
malloc_env.NanopbProto("test")
|
||||
|
||||
test = malloc_env.Program(["test.c", "test.pb.c",
|
||||
"$COMMON/pb_decode_with_malloc.o",
|
||||
"$COMMON/pb_common_with_malloc.o",
|
||||
"$COMMON/malloc_wrappers.o"])
|
||||
|
||||
malloc_env.RunTest([test, 'test_input.pb'])
|
Loading…
Add table
Add a link
Reference in a new issue