Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 156633 Details for
Bug 237356
Move DS Admin Code into Admin Server
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
cvs commit message (adminutil -- comment #42)
adminutil.diffs (text/plain), 2.27 KB, created by
Noriko Hosoi
on 2007-06-09 00:29:00 UTC
(
hide
)
Description:
cvs commit message (adminutil -- comment #42)
Filename:
MIME Type:
Creator:
Noriko Hosoi
Created:
2007-06-09 00:29:00 UTC
Size:
2.27 KB
patch
obsolete
>Index: include/libadminutil/admutil.h >=================================================================== >RCS file: /cvs/dirsec/adminutil/include/libadminutil/admutil.h,v >retrieving revision 1.7 >diff -t -w -U4 -r1.7 admutil.h >--- include/libadminutil/admutil.h 15 May 2007 00:53:33 -0000 1.7 >+++ include/libadminutil/admutil.h 8 Jun 2007 01:16:01 -0000 >@@ -443,9 +443,9 @@ > PR_IMPLEMENT(void) get_begin(char *qs); > > /* Initialize a form "post" using the POST method. Send this fn "stdin". */ > /* form_post.c */ >-PR_IMPLEMENT(void) post_begin(FILE *in); >+PR_IMPLEMENT(int) post_begin(FILE *in); > > /* Turn a variable string into a vars vector. */ > /* form_post.c */ > PR_IMPLEMENT(char) **string_to_vec(char *in); >Index: lib/libadminutil/form_post.c >=================================================================== >RCS file: /cvs/dirsec/adminutil/lib/libadminutil/form_post.c,v >retrieving revision 1.6 >diff -t -w -U4 -r1.6 form_post.c >--- lib/libadminutil/form_post.c 15 May 2007 00:53:33 -0000 1.6 >+++ lib/libadminutil/form_post.c 8 Jun 2007 01:16:01 -0000 >@@ -175,15 +175,16 @@ > rstr[y] = '\0'; > return rstr; > } > >-PR_IMPLEMENT(void) >+PR_IMPLEMENT(int) > post_begin(FILE *in) > { > char *vars = NULL, *tmp = NULL; > int cl; > char buf1[BUFSIZ]; > char buf2[BUFSIZ]; >+ int rc = 0; > > if(!(tmp = getenv("CONTENT_LENGTH"))) { > if (admutil_i18nResource) { > rpt_err(INCORRECT_USAGE, >@@ -200,8 +201,9 @@ > "Browser Error", > "Your browser sent no content length with a POST command. Please be sure to use a fully compliant browser.", > NULL); > } >+ rc = 1; > } > > cl = atoi(tmp); > >@@ -219,8 +221,9 @@ > NULL, > "Could not allocate enough memory to read in the POST parameters.", > NULL); > } >+ rc = 1; > } > > if( !(fread(vars, 1, cl, in)) ) { > if (admutil_i18nResource) { >@@ -236,14 +239,16 @@ > NULL, > "The POST variables could not be read from stdin.", > NULL); > } >+ rc = 1; > } > > vars[cl] = '\0'; > > input = string_to_vec(vars); > PL_strfree(vars); /* string_to_vec dups it */ >+ return rc; > } > > PR_IMPLEMENT(void) > get_begin(char *qs)
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 Raw
Actions:
View
Attachments on
bug 237356
:
153230
|
153562
|
153667
|
153668
|
153674
|
153675
|
153677
|
153678
|
155103
|
155105
|
155406
|
155407
|
155408
|
155409
|
155410
|
155411
|
155412
|
155413
|
155414
|
155483
|
155484
|
155485
|
155486
|
155487
|
155488
|
155489
|
155490
|
156389
|
156510
|
156525
|
156539
|
156540
|
156541
|
156612
|
156613
|
156614
|
156626
| 156633 |
156634
|
156741
|
156829
|
156834
|
156839
|
156840
|
156895
|
157043
|
157044
|
157133
|
157159
|
157160
|
157164
|
157165
|
157167
|
157298
|
157378
|
157381
|
157388
|
157390
|
157400
|
157401
|
157407
|
157408
|
157429
|
157431
|
157469
|
157471
|
157479
|
157480
|
160762