nsLocalFile::CopyDirectoryTo uses oldPerms uninitialized

RESOLVED FIXED

Status

()

Core
XPCOM
--
minor
RESOLVED FIXED
11 years ago
11 years ago

People

(Reporter: timeless, Assigned: timeless)

Tracking

({klocwork})

Trunk
x86
SunOS
klocwork
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 obsolete attachment)

(Assignee)

Description

11 years ago
 
(Assignee)

Updated

11 years ago
Keywords: klocwork
(Assignee)

Comment 1

11 years ago
https://opensource.klocwork.com/idm/problem.html?project=firefox&pid=91785
(Assignee)

Comment 2

11 years ago
Created attachment 238451 [details] [diff] [review]
share path with directory doesn't exist

it seems the logic is always create on directory, and for the directory we create we should use our existing permissions. so that's what i'm doing here.
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #238451 - Flags: review?(dougt)

Updated

11 years ago
Attachment #238451 - Flags: review?(dougt) → review+
(Assignee)

Comment 3

11 years ago
Comment on attachment 238451 [details] [diff] [review]
share path with directory doesn't exist

mozilla/xpcom/io/nsLocalFileUnix.cpp 	1.133
Attachment #238451 - Attachment is obsolete: true
(Assignee)

Updated

11 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.