Bug 1884565

Summary: oauth-proxy crashes on invalid usage
Product: OpenShift Container Platform Reporter: Standa Laznicka <slaznick>
Component: oauth-proxyAssignee: Standa Laznicka <slaznick>
Status: CLOSED ERRATA QA Contact: scheng
Severity: low Docs Contact:
Priority: medium    
Version: 4.6CC: aos-bugs, mfojtik
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: UpcomingSprint
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Improper option handling causes a nil dereference during startup when wrong option combination is used. Consequence: Stack trace appears at the end of the help message. Fix: Make sure nil dereference cannot happen when certain methods of an option object are called. Result: Wrong option combination does no longer causes a stack trace.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:22:14 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: 1891725    

Description Standa Laznicka 2020-10-02 10:21:15 UTC
Description of problem:
oauth-proxy segfaults on invalid usage

Version-Release number of selected component (if applicable):
4.6

How reproducible:
100%

Steps to Reproduce:
1. ./oauth-proxy -v

Actual results:
prints a part of output and segfault stack

Expected results:
reports invalid usage and prints help

Comment 6 errata-xmlrpc 2021-02-24 15:22:14 UTC
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