Closed Bug 229193 Opened 21 years ago Closed 21 years ago

Some signed/unsigned problems in dsautil.c

Categories

(NSS :: Libraries, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wtc, Assigned: rrelyea)

Details

Attachments

(1 file)

The 'len' local variables and arguments in dsautil.c should be unsigned int rather than int. Some of these problems would have been discovered sooner if dsautil.c had included cryptohi.h, which declares the functions in question with the correct types for the 'len' arguments.
Attached patch Proposed patchSplinter Review
1. Include cryptohi.h, which declares the functions defined in dsautil.c. 2. Use the type 'unsigned int' for 'len'.
Attachment #137850 - Flags: superreview?(bugz)
Attachment #137850 - Flags: review?(rrelyea0264)
Bob, please check this patch in if you think it is correct.
Assignee: wchang0222 → rrelyea0264
Priority: -- → P2
Target Milestone: --- → 3.9
Attachment #137850 - Flags: superreview?(bugz) → superreview+
Comment on attachment 137850 [details] [diff] [review] Proposed patch yes, it looks good.
Attachment #137850 - Flags: review?(rrelyea0264) → review+
relyea(19) cvs commit cvs commit: Examining . Checking in dsautil.c; /cvsroot/mozilla/security/nss/lib/cryptohi/dsautil.c,v <-- dsautil.c new revision: 1.6; previous revision: 1.5 done
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: