IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#671 closed defect (fixed)

psMetadataAddStr() does not handle receiving a null pointer

Reported by: jhoblitt Owned by: David.Robbins@…
Priority: high Milestone:
Component: types Version: 0.9.0
Severity: normal Keywords:
Cc:

Description

psMetadataAddStr() does not handle/check for being passed a NULL pointer and
doing so will cause a segfault. For example:

psMetadataAddStr(foo, PS_LIST_TAIL, "bar", 0, "baz", NULL);

Will cause a segfault in psStringNCopy().

Change History (4)

comment:1 by gusciora@…, 20 years ago

Owner: changed from gusciora@… to David.Robbins@…

comment:2 by David.Robbins@…, 20 years ago

Resolution: fixed
Status: newclosed

fixed psMetadataAddStr to handle NULL

comment:3 by Paul Price, 20 years ago

Keywords: VERIFIED added

Bug has been resolved.... closing.

comment:4 by Paul Price, 20 years ago

Keywords: VERIFIED removed

Bugs have been fixed... closing.

Note: See TracTickets for help on using tickets.