-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
null return from allocation being dereferenced in memcpy #46
Comments
Thank Colin. taking this into our internal team, will include the fix in the next release. |
fionatrahe
added a commit
that referenced
this issue
Sep 8, 2023
Add errata to the Resolved Issues section of the README.md for these issues raised on the public qatlib repo: #38 (QATE-90845) #46 (QATE-93278) Also remove an unnecessary blank line in first row of Revision history table. Signed-off-by: Fiona Trahe <[email protected]>
fionatrahe
added a commit
that referenced
this issue
Sep 8, 2023
Add errata to the Resolved Issues section of the README.md for these issues raised on the public qatlib repo: #38 (QATE-90845) #46 (QATE-93278) Also remove an unnecessary blank line in first row of Revision history table. Signed-off-by: Fiona Trahe <[email protected]>
gcabiddu
pushed a commit
that referenced
this issue
Sep 8, 2023
Add errata to the Resolved Issues section of the README.md for these issues raised on the public qatlib repo: #38 (QATE-90845) #46 (QATE-93278) Also remove an unnecessary blank line in first row of Revision history table. Signed-off-by: Fiona Trahe <[email protected]>
https://github.com/intel/qatlib#qate-93278 Fixed in qatlib 23.08 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
source: ./quickassist/lookaside/access_layer/src/sample_code/functional/dc/stateless_multi_op_checksum_sample/cpa_dc_stateless_multi_op_checksum_sample.c - function compPerformOp:
lines: 296..311:
bufferListSrcArray[bufferNum].pBuffers may be null if the call to OS_MALLOC fails, so the deference via &bufferListDstArray[bufferNum].pBuffers->pData in the PHYS_CONTIG_ALLOC() call will cause a segmentation fault.
The memcpy call accesses bufferListSrcArray[bufferNum].pBuffers->pData that may be null if the call to PHYS_CONTIG_ALLOC fails, also causing a segmentation fault.
The text was updated successfully, but these errors were encountered: