aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2015-11-01 09:11:19 +0000
committerHerbert Xu <[email protected]>2015-11-02 09:48:30 +0000
commit4afa5f9617927453ac04b24b584f6c718dfb4f45 (patch)
treec2304ce35cb7d2bec45f3f257c4194ab2278b3a9 /drivers/fpga/fpga-mgr.c
parentcrypto: asymmetric_keys - Fix unaligned access in x509_get_sig_params() (diff)
downloadkernel-4afa5f9617927453ac04b24b584f6c718dfb4f45.tar.gz
kernel-4afa5f9617927453ac04b24b584f6c718dfb4f45.zip
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: [email protected] Reported-by: Harsh Jain <[email protected]> Signed-off-by: Herbert Xu <[email protected]> Tested-by: Stephan Mueller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions