Bugzilla – Attachment 22209 Details for
Bug 57486
VUL-0: CVE-2004-0689: KDE: problems with filename
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
arts patch
arts_geteuid.patch (text/x-diff), 923 bytes, created by
Waldo Bastian
on 2004-07-15 19:38:18 UTC
(
hide
)
Description:
arts patch
Filename:
MIME Type:
Creator:
Waldo Bastian
Created:
2004-07-15 19:38:18 UTC
Size:
923 bytes
patch
obsolete
>? cvs.blame >Index: mcoputils.cc >=================================================================== >RCS file: /home/kde/arts/mcop/mcoputils.cc,v >retrieving revision 1.22 >diff -u -p -r1.22 mcoputils.cc >--- mcoputils.cc 22 Jun 2003 21:48:26 -0000 1.22 >+++ mcoputils.cc 15 Jul 2004 11:36:11 -0000 >@@ -80,7 +80,8 @@ string MCOPUtils::createFilePath(string > // S. Voitzsch Sebastian.Voitzsch@web.de > // 2002-12-03 > struct passwd *pwd = NULL; >- pwd = getpwuid(geteuid()); >+ int uid = geteuid(); >+ pwd = getpwuid(uid); > if (pwd == NULL) > arts_fatal("could not get user name from user id"); > >@@ -95,7 +96,7 @@ string MCOPUtils::createFilePath(string > if(lstat(tmpdir.c_str(),&st) != 0) > arts_fatal("can't stat %s (%s)", tmpdir.c_str(),strerror(errno)); > >- if (st.st_uid != getuid ()) >+ if (st.st_uid != uid) > arts_fatal("%s is not owned by user", tmpdir.c_str()); > > if(st.st_mode & 0077)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 57486
:
21703
|
22205
|
22206
|
22209
|
22219
|
22317
|
22360
|
22361
|
22362
|
22363
|
22566
|
22567
|
22575
|
22576