Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composite: fix nil-dereference #4380

Merged
merged 1 commit into from
Jul 25, 2023
Merged

Conversation

AdamKorcz
Copy link
Contributor

Description of your changes

Fixes a nil-dereference found by OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=58445.

If input is nil, then the reflect.TypeOf(input).String() will throw a nil-dereference.

I have:

  • Read and followed Crossplane's contribution process.
  • Added or updated unit and E2E tests for my change.
  • Run make reviewable to ensure this PR is ready for review.
  • Added backport release-x.y labels to auto-backport this PR if necessary.

Signed-off-by: AdamKorcz <adam@adalogics.com>
@AdamKorcz AdamKorcz requested review from a team and muvaf as code owners July 25, 2023 12:03
@AdamKorcz AdamKorcz requested a review from lsviben July 25, 2023 12:03
@lsviben
Copy link
Contributor

lsviben commented Jul 25, 2023

I see that the e2e-tests are failing. I dont think its connected with this change, maybe we have a flaky test? https://github.com/crossplane/crossplane/actions/runs/5656509598/job/15323691974?pr=4380

Ill rerun the e2e test ci

@phisco
Copy link
Contributor

phisco commented Jul 25, 2023

yes, that test is flaky @lsviben, we'll check that later on

@phisco phisco merged commit 696f398 into crossplane:master Jul 25, 2023
16 checks passed
@github-actions
Copy link

Successfully created backport PR for release-1.11:

@github-actions
Copy link

Successfully created backport PR for release-1.12:

@github-actions
Copy link

Successfully created backport PR for release-1.13:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants