qcacmn: Add debug log to trap unsuccessful dbr vaddr lookup
In direct buf rx, if physical address is not intact or is corrupt, the dbr lookup for vaddr will fail and result in vaddr being NULL. There is no validation for this vaddr in the caller and hence results in NULL access in the callstack. Add debug log and return error status when dbr vaddr lookup fails, which indicates that there is corruption in paddr received and avoid NULL access. Change-Id: I76ee300ce3e686765dd5c4ee73fa71d1735c163a CRs-Fixed: 2748529
Loading
Please register or sign in to comment