aboutsummaryrefslogtreecommitdiff
path: root/all
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-06-09 16:12:01 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-06-09 16:12:01 -0300
commit364e569945c044fd18c70ee1bc851364534aef97 (patch)
treead461207558d0452455a8180cf5d8b1e6e37d0be /all
parent63295f1f7fa052fabcb4d69d49203cf33a7deef0 (diff)
downloadlua-364e569945c044fd18c70ee1bc851364534aef97.tar.gz
lua-364e569945c044fd18c70ee1bc851364534aef97.tar.bz2
lua-364e569945c044fd18c70ee1bc851364534aef97.zip
Avoid calling 'fprintf' with NULL
Avoid undefined behavior in calls like «fprintf("%s", NULL)». ('lua_writestringerror' is implemented as 'fprintf', and 'lua_tostring' can return NULL if object is not a string.)
Diffstat (limited to 'all')
0 files changed, 0 insertions, 0 deletions