#596 closed defect (fixed)
psVectorCopy returns invalid error statement for NULL input
| Reported by: | eugene | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | mathtypes | Version: | 0.8.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
this function returns an error about psVectorSort rather than the correct error
message:
psVector.c:193-
psVector* psVectorCopy(psVector* output,
const psVector* input,
psElemType type)
{
if (input == NULL) {
psError(PS_ERR_BAD_PARAMETER_NULL, true,
PS_ERRORTEXT_psVector_SORT_NULL);
psFree(output);
return NULL;
}
Note:
See TracTickets
for help on using tickets.

fixed in CVS.