Closed Bug 1227491 Opened 9 years ago Closed 4 years ago

[Static Analysis][Result of operation is garbage or undefined] Function pkix_pl_Object_ToString_Default from lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c can cause a variable to have garbage value

Categories

(NSS :: Libraries, defect, P3)

defect

Tracking

(firefox45 affected)

RESOLVED INVALID
Tracking Status
firefox45 --- affected

People

(Reporter: andi, Assigned: andi)

References

(Blocks 1 open bug)

Details

(Keywords: clang-analyzer, good-first-bug)

Attachments

(1 file)

The Static Analysis tool Scan-Build added a warning that variable objType can have a garbage value if function PKIX_PL_Object_GetType
Attached patch Bug 1227491.diffSplinter Review
Component: Security → Libraries
Product: Core → NSS
Version: Trunk → trunk
Keywords: good-first-bug
Priority: -- → P3
Summary: [Static Analysis][Result of operation is garbage or undefined] Function pkix_pl_Object_ToString_Default from security/nss/lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c can cause a variable to have garbage value → [Static Analysis][Result of operation is garbage or undefined] Function pkix_pl_Object_ToString_Default from lib/libpkix/pkix_pl_nss/system/pkix_pl_object.c can cause a variable to have garbage value

Closing as this as been fixed a long time ago.

Status: NEW → RESOLVED
Closed: 4 years ago
QA Contact: jjones
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: