Open
Bug 863905
Opened 12 years ago
Updated 2 years ago
Verify correctness of blapitest.c function get_binary()
Categories
(NSS :: Tools, defect, P5)
Tracking
(Not tracked)
NEW
People
(Reporter: KaiE, Unassigned)
References
Details
Function get_binary() in file blapitest.c
calls SECITEM_ReallocItem.
If a reallocation of the buffer happens in that function, the function will still return the old buffer size.
TODO:
Verify if the above is intended or a bug.
If it turns out to be a bug, the function should:
- either update binary->len to the updated buffer size
- or call SECITEM_ReallocUpdateItem instead
Comment 1•12 years ago
|
||
The SECITEM_ReallocUpdateItem function has been renamed SECITEM_ReallocItemV2.
Updated•3 years ago
|
Severity: normal → S3
Updated•2 years ago
|
Severity: S3 → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•