Open Bug 863905 Opened 12 years ago Updated 2 years ago

Verify correctness of blapitest.c function get_binary()

Categories

(NSS :: Tools, defect, P5)

3.14.3

Tracking

(Not tracked)

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
The SECITEM_ReallocUpdateItem function has been renamed SECITEM_ReallocItemV2.
Severity: normal → S3
Severity: S3 → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.