Please sign in to comment.
crypto: algif_hash - Only export and import on sockets with data
The hash_accept call fails to work on sockets that have not received any data. For some algorithm implementations it may cause crashes. This patch fixes this by ensuring that we only export and import on sockets that have received data. Cc: firstname.lastname@example.org Reported-by: Harsh Jain <email@example.com> Signed-off-by: Herbert Xu <firstname.lastname@example.org> Tested-by: Stephan Mueller <email@example.com>
- Loading branch information...