- Memleaks in xpath parse error

- Static linkage cli fix (worked in 5.3.0 but restructuring broke it)
- Renamed all cligen_ph_active_get to cligen_pt_active_get
- Added AFL deferred init
- test_install.sh for static .a suffix
This commit is contained in:
Olof hagsand 2021-10-03 18:33:06 +02:00
parent d175720b7e
commit 42e61f461c
11 changed files with 59 additions and 41 deletions

View file

@ -575,6 +575,10 @@ main(int argc,
argc -= optind;
argv += optind;
#ifdef __AFL_HAVE_MANUAL_CONTROL
__AFL_INIT();
#endif
/* Access the remaining argv/argc options (after --) w clicon-argv_get() */
clicon_argv_set(h, argv0, argc, argv);
@ -754,8 +758,9 @@ main(int argc,
}
/* Go into event-loop unless -1 command-line */
if (!once)
if (!once){
retval = cli_interactive(h);
}
else
retval = 0;
done: