[@ PORT_Memcpy | EncodeDBSubjectEntry] if !entry->nickname

NEW
Unassigned

Status

NSS
Libraries
--
critical
7 years ago
7 years ago

People

(Reporter: timeless, Unassigned)

Tracking

({coverity, crash})

trunk
coverity, crash

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

(Reporter)

Description

7 years ago
2163 EncodeDBSubjectEntry(certDBEntrySubject *entry, PRArenaPool *arena,

let entry->nickname be false:
2177     if ( entry->nickname ) {
2178         nnlen = PORT_Strlen(entry->nickname) + 1;
2179     }

entry->nickname is deref'd here:
2224     PORT_Memcpy(&buf[DB_SUBJECT_ENTRY_HEADER_LEN], entry->nickname, nnlen);
Crash Signature: [@ PORT_Memcpy | EncodeDBSubjectEntry]
You need to log in before you can comment on or make changes to this bug.