Bug 7041
Summary: | linuxconf core dumps due to long lins in /etc/hosts | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Klaus Franken <klaus.franken> |
Component: | linuxconf | Assignee: | Michael K. Johnson <johnsonm> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1 | CC: | jack, klaus.franken |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-12-15 21:01:51 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: |
Description
Klaus Franken
1999-11-16 12:56:34 UTC
Ok, I found the problem. This will be fixed in linuxconf 1.16r8.1. Note that the user interface can't handle line that long for editing. Input are especially limited (because of the web interface) to some arbitrary values. But I have tested that if you edit any other line, the file is properly written back. If you edit that specific record, it will be truncated. I don't know how to include patch in this tool (bugzilla). I can send you a patch if you need. Basically, a snprintf instead of sprintf at line 464 of the file netconf/hosts.cc. Very old code btw (1994). Have verified linuxconf-1.16r10 allows long lines in /etc/hosts. This will be relased as errata when testing is complete. 1.16r10-2 released |