mirror of
https://github.com/nmap/nmap.git
synced 2026-01-05 22:19:03 +00:00
Fix crashes when assigning timeouts as floats. New NSE utility function nseU_checkinteger
This commit is contained in:
@@ -8,6 +8,12 @@ class Target;
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
/* int nseU_checkinteger (lua_State *L, int arg)
|
||||
*
|
||||
* Replacement for luaL_checkinteger that does a floor operation first
|
||||
*/
|
||||
int nseU_checkinteger (lua_State *L, int arg);
|
||||
|
||||
/* int nseU_traceback (lua_State *L)
|
||||
*
|
||||
* Traceback C Lua function.
|
||||
|
||||
Reference in New Issue
Block a user