dotnwat / lua-rados

RADOS bindings for Lua
http://noahdesu.github.com/lua-rados/
7 stars 7 forks source link

fix buffer overflows #10

Open dotnwat opened 11 years ago

dotnwat commented 11 years ago

handler takes string buffer and length, but we don't enforce that length is >= 0 and <= size of buffer. should check and then use luaL_argerror(..).