summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2018-11-14 23:09:30 -0800
committerThomas Lively <7121787+tlively@users.noreply.github.com>2018-11-15 10:02:17 -0800
commit892d2d747883aca132d2eb4e3ba5a6b261f944af (patch)
tree9a8e1c55d6c989fb11404942a6e15e44278286d1 /src/wasm-binary.h
parentc1e75fe5c79a5e47c0c861fe19f78d8aa700bd16 (diff)
downloadbinaryen-892d2d747883aca132d2eb4e3ba5a6b261f944af.tar.gz
binaryen-892d2d747883aca132d2eb4e3ba5a6b261f944af.tar.bz2
binaryen-892d2d747883aca132d2eb4e3ba5a6b261f944af.zip
Avoid segfault when printing null name
`strpbrk` segfaults when `name.str` is nullptr, so check first.
Diffstat (limited to 'src/wasm-binary.h')
0 files changed, 0 insertions, 0 deletions