Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

ipam: Do not deref nil in GET /ipinfo/tracker if tracker doesn't exist #3408

Merged
merged 1 commit into from
Sep 25, 2018

Conversation

brb
Copy link
Contributor

@brb brb commented Sep 21, 2018

In some cases, we do not create any IPAM tracker, which leads to a panic when GET'ing /ipinfo/tracker.

Fixes #3405.

@brb brb added this to the 2.4.2 milestone Sep 21, 2018
In some cases, we do not create any IPAM tracker, which leads
to a panic when GET'ing /ipinfo/tracker.
ipam/http.go Outdated Show resolved Hide resolved
@brb brb force-pushed the issues/3405-tracker-nil-deref branch from 75f6cfc to 79f77f9 Compare September 21, 2018 10:30
@bboreham bboreham merged commit 427e7a6 into 2.4 Sep 25, 2018
@bboreham bboreham deleted the issues/3405-tracker-nil-deref branch September 25, 2018 11:29
@bboreham bboreham modified the milestones: 2.4.2, 2.5 Nov 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants