core: fix uninitialized value in functions secure_{encrypt|decrypt}_data (in case of insufficient memory)
trigger: fix potential uninitialized pointer in signal hook callback