Bug 214243
Summary: | Advanced install loops at install sample entries | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] 389 | Reporter: | Rich Megginson <rmeggins> | ||||
Component: | Install/Uninstall | Assignee: | Rich Megginson <rmeggins> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.0.2 | CC: | minfrin | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-12-07 16:42:18 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: | 152373, 213957, 240316 | ||||||
Attachments: |
|
Description
Rich Megginson
2006-11-06 19:20:43 UTC
Created attachment 140498 [details]
diffs
There were a couple of problems. The first problem is that askPopulate is not
a YesNo dialog, it is just a general Input dialog. The second problem is that
askPopulateSetup sets the input buffer size greater than the static buffer used
to hold the input in the Dialog class, which is defined as char _buf[MED_BUF].
So the solution is to set the InputLen to be MED_BUF-1, which allows for the
trailing null as well.
Looks good. *** Bug 214007 has been marked as a duplicate of this bug. *** Looks good. Reviewed by: nhosoi (Thanks!) Files: see diff Branch: HEAD Fix Description: There were a couple of problems. The first problem is that askPopulate is not a YesNo dialog, it is just a general Input dialog. The second problem is that askPopulateSetup sets the input buffer size greater than the static buffer used to hold the input in the Dialog class, which is defined as char _buf[MED_BUF]. So the solution is to set the InputLen to be MED_BUF-1, which allows for the trailing null as well. Platforms tested: FC5 Flag Day: no Doc impact: no Checking in ux-dialog.cc; /cvs/dirsec/ldapserver/ldap/cm/newinst/ux-dialog.cc,v <-- ux-dialog.cc new revision: 1.10; previous revision: 1.9 done Checking in ux-dialog.h; /cvs/dirsec/ldapserver/ldap/cm/newinst/ux-dialog.h,v <-- ux-dialog.h new revision: 1.5; previous revision: 1.4 done Tested with the following packages. Custom installation works fine. Changed status to VERIFIED. 1196462481 redhat-ds-console-8.0.0-8.el5dsrv Fri Nov 30 2007 1196462482 redhat-admin-console-8.0.0-9.el5dsrv Fri Nov 30 2007 1196462482 redhat-idm-console-1.0.0-15.el5idm Fri Nov 30 2007 |