Bug 1893645
Summary: | oc describe route SIGSEGV | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Felipe M <fmarting> | |
Component: | oc | Assignee: | Maciej Szulik <maszulik> | |
Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 4.6 | CC: | aos-bugs, fgrosjea, jokerman, maszulik, mfojtik | |
Target Milestone: | --- | |||
Target Release: | 4.7.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause:
Missing nil check for route condition.
Consequence:
Describing route might crash oc application under certain conditions.
Fix:
Add necessary nil checks preventing the code from failing unexpectedly.
Result:
oc describe route always works
|
Story Points: | --- | |
Clone Of: | ||||
: | 1893693 (view as bug list) | Environment: | ||
Last Closed: | 2021-02-24 15:29:19 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1893693 |
Description
Felipe M
2020-11-02 09:45:31 UTC
Checked the latest oc extracted from payload: 4.7.0-0.nightly-2020-11-03-224722, has contain the fixed pr: [root@dhcp-140-138 oc]# oc version -o yaml clientVersion: buildDate: "2020-11-02T20:31:44Z" compiler: gc gitCommit: 8150994e0392adb4aeade70d62974ca77b3740a4 gitTreeState: clean gitVersion: openshift-clients-4.6.0-202006250705.p0-208-g8150994e0 goVersion: go1.15.0 major: "" minor: "" platform: linux/amd64 openshiftVersion: 4.6.0-0.nightly-2020-11-03-172112 releaseClientVersion: 4.7.0-0.nightly-2020-11-03-224722 [root@dhcp-140-138 oc]# git log 8150994e0392adb4aeade70d62974ca77b3740a4 |grep "#632" Merge pull request #632 from soltysh/bug1893645 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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/RHSA-2020:5633 |