summaryrefslogtreecommitdiff
path: root/src/ast_utils.h
diff options
context:
space:
mode:
authorJF Bastien <github@jfbastien.com>2016-05-03 13:22:07 -0700
committerJF Bastien <github@jfbastien.com>2016-05-03 13:22:07 -0700
commit09153904803c628393a8ff65c1791d3bc57c756b (patch)
tree2c9a47f951ea029162b026fbc1095308b52c07e9 /src/ast_utils.h
parent13c428a6850afb00937732eac227979cf0604e8f (diff)
downloadbinaryen-09153904803c628393a8ff65c1791d3bc57c756b.tar.gz
binaryen-09153904803c628393a8ff65c1791d3bc57c756b.tar.bz2
binaryen-09153904803c628393a8ff65c1791d3bc57c756b.zip
Fix null UB (#428)
As a continuation to #404, fix a dereference of a std::vector's zeroth element when the size of the vector is zero. Symptom: stl_vector.h:866:9: runtime error: reference binding to null pointer of type 'char'
Diffstat (limited to 'src/ast_utils.h')
0 files changed, 0 insertions, 0 deletions