Closed Bug 1247681 Opened 10 years ago Closed 10 years ago

[Coverity 1352115] Incorrect expression (SIZEOF_MISMATCH) in tls13_DestroyKeyShareEntry()

Categories

(mozilla.org :: Security Assurance: Applications, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ttaubert, Assigned: ttaubert)

References

(Blocks 1 open bug)

Details

*** CID 1352115: Incorrect expression (SIZEOF_MISMATCH) /security/nss/lib/ssl/tls13con.c: 1230 in tls13_DestroyKeyShareEntry() 1224 } 1225 1226 void 1227 tls13_DestroyKeyShareEntry(TLS13KeyShareEntry *offer) 1228 { 1229 SECITEM_ZfreeItem(&offer->key_exchange, PR_FALSE); >>> CID 1352115: Incorrect expression (SIZEOF_MISMATCH) >>> Passing argument "offer" of type "TLS13KeyShareEntry *" and argument "8UL /* sizeof (offer) */" to function "PORT_ZFree_Util" is suspicious. 1230 PORT_ZFree(offer, sizeof(offer)); 1231 } 1232 1233 void 1234 tls13_DestroyKeyShares(PRCList *list) 1235 {
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.