commit | 0839152f8c1efc1cc2d515d1ff1e253ca9402ad3 | [log] [tgz] |
---|---|---|
author | Ofir Bitton <obitton@habana.ai> | Tue Aug 11 08:57:45 2020 +0300 |
committer | Oded Gabbay <oded.gabbay@gmail.com> | Sat Aug 22 12:47:58 2020 +0300 |
tree | 5f9289b6926b13486ef957581741f134a4753f72 | |
parent | bce382a8bb080ed5f2f3a06754526dc58b91cca2 [diff] |
habanalabs: check correct vmalloc return code vmalloc can return different return code than NULL and a valid pointer. We must validate it in order to dereference a non valid pointer. Signed-off-by: Ofir Bitton <obitton@habana.ai> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>