mirror of
https://github.com/nmap/nmap.git
synced 2026-01-02 04:49:02 +00:00
Since r20267 (NSE Nsock maintenance), failures in raw IP sends from NSE cause
scripts to bail. (This is why Ron saw a backtrace when path-mtu elicited an EMSGSIZE [a separate issue I'm still working on] instead of path-mtu recognizing the failure and resending with a smaller MTU like it would do before.) I'm changing this back to the original design of returning false to scripts (just like connect-mode send failures). I've changed safe_error() in nse_utility.cc to support varargs.
This commit is contained in:
@@ -8,7 +8,7 @@ void setbfield (lua_State *, int, const char *, int);
|
||||
void weak_table (lua_State *, int, int, const char *);
|
||||
|
||||
int success (lua_State *);
|
||||
int safe_error (lua_State *, const char *);
|
||||
int safe_error (lua_State *, const char *, ...);
|
||||
|
||||
void check_target (lua_State *, int, const char **, const char **);
|
||||
unsigned short check_port (lua_State *, int, const char **);
|
||||
|
||||
Reference in New Issue
Block a user