Skip to content

search: avoid nil deref for stable: on alert

Administrator requested to merge rvt/avoid-nil-deref-for-stable-option into master

Created by: rvantonder

Specifying stable: for a query that may raise an alert instead of returning results can result in a nil deref. See comments. No test: this is a defensive change. I may add one later.

Context: I triggered this by running a query with stable: that should have thrown a 'repo limit' alert, but instead I got a nil deref.

Merge request reports

Loading