Open Bug 1075161 Opened 10 years ago Updated 2 years ago

Set outLen to zero if PK11_Encrypt or PK11_PubEncrypt fails

Categories

(NSS :: Libraries, defect)

x86
macOS
defect

Tracking

(Not tracked)

People

(Reporter: rbarnes, Unassigned)

Details

Currently, if a call to PK11_Encrypt or PK11_PubEncrypt fails, then the outLen parameter is unchanged from its input value. It should be initialized to zero, since no output has been produced. (And to avoid errors such as in Bug 1064320.)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.