Bug 1806876
| Summary: | oc adm prune groups --sync-config=sync.yaml gives ERROR: " panic: runtime error: slice bounds out of range " | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Sayali Bhavsar <sbhavsar> |
| Component: | oc | Assignee: | Maciej Szulik <maszulik> |
| Status: | CLOSED ERRATA | QA Contact: | pmali |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.11.0 | CC: | agawand, aos-bugs, erich, jokerman, maszulik, mfojtik, pmali, sbhavsar |
| Target Milestone: | --- | Flags: | maszulik:
needinfo-
|
| Target Release: | 4.5.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
Format result function had a hard coded size.
Consequence:
Panic occurred when the array was filled with less than hard coded limit.
Fix:
Limit number of ldap entries based on actual array capacity.
Result:
Function works correctly formatting results.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-07-13 17:20:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Sayali Bhavsar
2020-02-25 09:04:52 UTC
We still need oc to pick the change. This will land with https://github.com/openshift/oc/pull/351 The aforementioned PR already landed, moving to qa. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2409 |