summary refs log tree commit diff stats
path: root/plugins/lua/meson.build
diff options
context:
space:
mode:
authorJoseph Bisch <joseph.bisch@gmail.com>2017-09-19 14:31:48 -0400
committerTingPing <tingping@tingping.se>2017-09-19 14:31:48 -0400
commit4a09ce6fc3687616d6861ec9f016c4d3e41aba2e (patch)
tree6778d99b9878ef72b8624363adb3b134102601b8 /plugins/lua/meson.build
parentf4a592c4f0364d35068bca9f2634946750340356 (diff)
Fix rfc_{n,}casecmp functions (#2058)
rfc_casecmp was broken because reaching terminator for str1 was used as
a terminal condition and str2 may be shorter than str1, resulting in an
oob read condition for str2.

rfc_ncasecmp was broken because it checked if n characters were checked
or if BOTH pointers reached their terminator, however the strings may
be different lengths and also less than n characters in length, meaning
that they don't both reach their terminators at the same time,
resulting in an oob read condition.
Diffstat (limited to 'plugins/lua/meson.build')
0 files changed, 0 insertions, 0 deletions