Open Bug 268974 Opened 20 years ago Updated 2 years ago

PKCS11 handling -- token slot name strings empty

Categories

(Core :: Security, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: dougt, Unassigned)

Details

If your slot name or token name has any "garbage" chars returned to Mozilla,
Mozilla will render your name as an empty string.

For example, PCS11 asks that your slotDescription be space padded out to 64
bytes.  If you only padded 32 bytes, and left the remaining empty, Mozilla will
treat your slotDescription as the empty string. ""

The reason behind this is that these names are converted from UTF8 to Unicode. 
In many critical places, if this conversation fails the string will be null.
mass reassigning to nobody.
Assignee: dougt → nobody
QA Contact: toolkit
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.