Closed
Bug 1874383
Opened 2 years ago
Closed 1 year ago
Remove deprecated sprintf function in dbtool.c
Categories
(NSS :: Libraries, defect, P2)
NSS
Libraries
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: noah.lokocz, Assigned: noah.lokocz)
Details
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
Details |
The deprecated function sprintf is used within dbtool.c in multiple places. It should be replaced with snprintf.
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
Since the macOS 13 SDK shipping in Xcode 14.1, the functions sprintf and vsprintf are deprecated. AFAIK this deprecation is not present on version of clang outside macOS. However, since using this function will lead to build failures on machines running macOS and snprintf is generally the better function to use, it is probably useful to reflect this in the CI as well, which does not seem to be the case currently.
Comment 3•1 year ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: noah.lokocz → nobody
Comment 4•1 year ago
|
||
Assignee: nobody → noah.lokocz
Group: crypto-core-security
Status: NEW → RESOLVED
Closed: 1 year ago
Keywords: sec-audit
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•