Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 210101 Details for
Bug 93675
cpm-0.13_beta.ebuild (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fixed open() O_CREAT error
cpm-0.23_beta-ocreat.patch (text/plain), 813 bytes, created by
netzmb
on 2009-11-13 03:14:51 UTC
(
hide
)
Description:
fixed open() O_CREAT error
Filename:
MIME Type:
Creator:
netzmb
Created:
2009-11-13 03:14:51 UTC
Size:
813 bytes
patch
obsolete
>diff -rc cpm-0.23beta/security.c cpm-0.23beta-patched/security.c >*** cpm-0.23beta/security.c 2009-11-13 02:51:04.000000000 +0200 >--- cpm-0.23beta-patched/security.c 2009-11-11 13:08:48.000000000 +0200 >*************** >*** 495,501 **** > /* check that stderr, stdin and stdout are opened */ > /* NOTE: no file must be opened before this test! */ > /* Flawfinder: ignore */ >! canary = open("/dev/null", O_CREAT); > if ((canary >= 0) && (canary <= 2)) > { > fprintf(stderr, "%s\n", >--- 495,501 ---- > /* check that stderr, stdin and stdout are opened */ > /* NOTE: no file must be opened before this test! */ > /* Flawfinder: ignore */ >! canary = open("/dev/null", O_CREAT, 0777); > if ((canary >= 0) && (canary <= 2)) > { > fprintf(stderr, "%s\n",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 93675
:
59625
|
62660
|
73442
|
93638
|
142429
|
207169
|
210099
| 210101