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 158212 Details for
Bug 245936
Missing kickstart file dialog full of garbage
[?]
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.
[patch]
don't free the string before printing it
245936.diff (text/plain), 1.40 KB, created by
Chris Lumens
on 2007-06-29 14:41:02 UTC
(
hide
)
Description:
don't free the string before printing it
Filename:
MIME Type:
Creator:
Chris Lumens
Created:
2007-06-29 14:41:02 UTC
Size:
1.40 KB
patch
obsolete
>? .ChangeLog.swp >? loader2/.kickstart.c.swp >Index: loader2/kickstart.c >=================================================================== >RCS file: /usr/local/CVS/anaconda/loader2/kickstart.c,v >retrieving revision 1.37 >diff -u -r1.37 kickstart.c >--- loader2/kickstart.c 30 Apr 2007 16:50:27 -0000 1.37 >+++ loader2/kickstart.c 29 Jun 2007 14:31:31 -0000 >@@ -351,7 +351,7 @@ > getHostPathandLogin (ksSource, host, file, &login, &password, ip); > } > >-static char *newKickstartLocation(char *origLocation) { >+static char *newKickstartLocation(const char *origLocation) { > const char *location; > char *retval = NULL; > newtComponent f, okay, cancel, answer, locationEntry; >@@ -430,13 +430,21 @@ > } > > if (rc != 0) { >- if (loaderData->ksFile != NULL) >- free(loaderData->ksFile); >+ char *newLocation; > >- loaderData->ksFile = newKickstartLocation(c); >+ if (!strcmp(c, "ks")) >+ newLocation = newKickstartLocation(""); >+ else >+ newLocation = newKickstartLocation(c); > > if (loaderData->ksFile != NULL) >+ free(loaderData->ksFile); >+ >+ if (newLocation != NULL) { >+ loaderData->ksFile = strdup(newLocation); >+ free(newLocation); > return getKickstartFile(loaderData); >+ } > else > return; > }
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 245936
: 158212