Bug 580226
| Summary: | passing proxy=http://url to kernel causes SIGSEGV in loader | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Brian Lane <bcl> | ||||
| Component: | anaconda | Assignee: | Chris Lumens <clumens> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 13 | CC: | anaconda-maint-list, awilliam, jlaska, jonathan, marcus.moeller, vanmeeuwen+fedora | ||||
| Target Milestone: | --- | Keywords: | Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | anaconda-13.38-1 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 580683 (view as bug list) | Environment: | |||||
| Last Closed: | 2010-05-17 14:36:15 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 507681, 580683 | ||||||
| Attachments: |
|
||||||
|
Description
Brian Lane
2010-04-07 18:59:45 UTC
0x40b90e - /usr/src/debug/anaconda-13.37.2/loader/loader.c:2317 Could it be as simple as:
diff --git a/loader/loader.c b/loader/loader.c
index a9514d1..b96923b 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -2332,14 +2332,14 @@ int main(int argc, char ** argv) {
*argptr++ = strdup(loaderData.proxy);
- if (strcmp(loaderData.proxyUser, "")) {
+ if (loaderData.proxyUser && strcmp(loaderData.proxyUser, "")) {
int fd, ret;
fd = open("/tmp/proxy", O_CREAT|O_TRUNC|O_RDWR, 0600);
ret = write(fd, loaderData.proxyUser, strlen(loaderData.proxyUser));
ret = write(fd, "\r\n", 2);
- if (loaderData.proxyPassword) {
+ if (loaderData.proxyPassword && strcmp(loaderData.proxyPassword, "")) {
ret = write(fd, loaderData.proxyPassword, strlen(loaderData.proxyPassword));
ret = write(fd, "\r\n", 2);
}
This patches fixes the problem. And reveals bug 580756 Brian confirms the fix, so let's just close this. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers While trying to install F13 RC3 through a http proxy, kickstart file is still not retreived. Not causing SIGSEGV anymore, btw. Best Regards Marcus (In reply to comment #5) > While trying to install F13 RC3 through a http proxy, kickstart file is still > not retreived. > > Not causing SIGSEGV anymore, btw. Can we file a new bug for this please? Sounds like the reported SIGSEGV is no longer occurring. Bug: 592985 opened |