Bug #242
Fix dummy use of prelude_init()
Start date:
Due date:
% Done:
0%
Resolution:
fixed
Description
In my plugin, I don't have argc and argv. So I used argc=0 and argv=NULL. It looks ok but Prelude use argvr0 to set client analyzer path:
ret = fill_client_infos(client, _prelude_internal_argvr0); if ( ret < 0 ) return handle_client_error(client, ret);
I see that fill_client_infos() accept NULL program so I wrote a small patch to fix it.
(A better solution is to call prelude_init() with the right arguments :-))
History
#1 Updated by Yoann VANDOORSELAERE almost 16 years ago
- Status changed from New to Closed
- Resolution set to fixed
(In r9671) Always re-initialize prelude_internal(argc|argv) on prelude_init().
Additionally, handle the case where argc is 0.
Fix #242.
#2 Updated by Yoann VANDOORSELAERE about 14 years ago
- Project changed from PRELUDE SIEM to Libprelude
- Category deleted (
generic) - Target version deleted (
0.9.15)