flawfinder warnings in embedding/components/printingui

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
16 years ago
12 years ago

People

(Reporter: morse, Assigned: rods)

Tracking

Trunk
mozilla1.3alpha
x86
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
Heikki ran flawfinder (http://www.dwheeler.com/flawfinder) on Mozilla 1.0.1 
branch.

flawfinder found 1 warnings in printingui code (1801). Go through
that list and for each warning:

* If it is false positive, comment here why it is not an issue
* If it is a real issue, make patch for it here and let's get them checked in

In addition to checking the branch, also check the trunk.

1801) embedding/components/printingui/src/win/nsPrintDialogUtil.cpp:880 [4] 
(buffer) strcpy: does not check for buffer overflows. Consider using strncpy or 
strlcpy.
(Reporter)

Updated

16 years ago
Blocks: 148251
(Reporter)

Comment 1

16 years ago
1 more flawfinder warning for printingui (4332)

4332) embedding/components/printingui/src/win/nsPrintDialogUtil.cpp:880 [4]
(buffer) strcpy: does not check for buffer overflows. Consider using strncpy or
strlcpy.

(Assignee)

Updated

16 years ago
Target Milestone: --- → mozilla1.2final
(Assignee)

Updated

16 years ago
Status: NEW → ASSIGNED
Target Milestone: mozilla1.2final → mozilla1.3alpha
Closing all open flawfinder bugs as WORKSFORME because we now have much better tools that do the same (well, better) kind of analysis (Coverity, Klocwork).
Status: ASSIGNED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.