Closed Bug 1223723 Opened 9 years ago Closed 9 years ago

[CID 749618][CID 748893] Sizeof not portable (SIZEOF_MISMATCH)

Categories

(NSS :: Libraries, defect)

defect
Not set
normal

Tracking

(firefox45 affected)

RESOLVED FIXED
Tracking Status
firefox45 --- affected

People

(Reporter: franziskus, Assigned: franziskus)

References

(Blocks 1 open bug)

Details

(Keywords: coverity)

Attachments

(1 file)

In nssutil_ReadSecmodDB (in utilmod.c) PORT_ZFree and PORT_ZAlloc is used on sizeof(char**) instead of sizeof(char*).
using char* instead of char** in sizeof
Attachment #8685933 - Flags: review?(martin.thomson)
Comment on attachment 8685933 [details] [diff] [review]
using correct size in sizeof

Review of attachment 8685933 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM. Landed as:
https://hg.mozilla.org/projects/nss/rev/1eee92aed818
Attachment #8685933 - Flags: review?(martin.thomson) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: