Last Comment Bug 103977 - JSS calls non-portable snprintf
: JSS calls non-portable snprintf
Status: RESOLVED FIXED
:
Product: JSS
Classification: Components
Component: Library (show other bugs)
: 3.1
: DEC OSF/1
: -- critical (vote)
: 3.1.1
Assigned To: Jamie Nicolson
: somni
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2001-10-09 18:26 PDT by Jamie Nicolson
Modified: 2001-10-09 18:36 PDT (History)
0 users
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---


Attachments
change snprintf to PR_snprintf (752 bytes, patch)
2001-10-09 18:27 PDT, Jamie Nicolson
no flags Details | Diff | Splinter Review

Description Jamie Nicolson 2001-10-09 18:26:22 PDT
snprintf() is called twice in JSS. This function is not portable. Should call
PR_snprintf() instead.
Comment 1 Jamie Nicolson 2001-10-09 18:27:38 PDT
Created attachment 52846 [details] [diff] [review]
change snprintf to PR_snprintf
Comment 2 Jamie Nicolson 2001-10-09 18:36:29 PDT
r=wtc@netscape.com

Checked in on JSS_3_1_BRANCH and trunk.

/cvsroot/mozilla/security/jss/org/mozilla/jss/ssl/SSLSocket.c,v  <--  SSLSocket.c
new revision: 1.7.4.4; previous revision: 1.7.4.3

/cvsroot/mozilla/security/jss/org/mozilla/jss/util/jssutil.c,v  <--  jssutil.c
new revision: 1.5.2.3; previous revision: 1.5.2.2

/cvsroot/mozilla/security/jss/org/mozilla/jss/util/jssutil.h,v  <--  jssutil.h
new revision: 1.3.8.3; previous revision: 1.3.8.2

/cvsroot/mozilla/security/jss/org/mozilla/jss/ssl/SSLSocket.c,v  <--  SSLSocket.c
new revision: 1.11; previous revision: 1.10

/cvsroot/mozilla/security/jss/org/mozilla/jss/util/jssutil.c,v  <--  jssutil.c
new revision: 1.8; previous revision: 1.7

/cvsroot/mozilla/security/jss/org/mozilla/jss/util/jssutil.h,v  <--  jssutil.h
new revision: 1.6; previous revision: 1.5

Note You need to log in before you can comment on or make changes to this bug.