Closed AnatoliChe closed 4 years ago
This looks fine. Please merge it.
I received a segfault at this function at random intervals once a day on a bad channel. After applying this patch, it has been working fine for six months. Sorry, I have no reliable way to reproduce this error, it was half a year ago.
But if I enable debug log I can see there messages like: "do_aes: enc key is NULL."
Thank you for the commit @AnatoliChe I have cherry-picked the fix to 2.6.52dev branch
If key is null it will be a segfault.