Closed sider-bughunter closed 2 years ago
Hello, yes you are correct. I have submitted a patch here https://review.mlplatform.org/c/ml/armnn/+/7527. Thank you for reporting this. Cathal.
https://review.mlplatform.org/c/ml/armnn/+/7527 has been merged, thanks for the report @sider-bughunter !
I have noticed that the
m_ProjectionWeights
variable is used to check if the pointer is valid in this code block. To be consistent with other usages such as this code and this, it should be replaced withm_ProjectionBias
. Otherwise, this could be a potential cause of segmentation fault at the subsequence linestd::make_shared<ScopedTensorHandle>(*(params.m_ProjectionBias));
(correct me if I am wrong)