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

Check uid list is empty when filling shortest path vars. #5141

Merged
merged 1 commit into from Apr 9, 2020

Conversation

martinmr
Copy link
Contributor

@martinmr martinmr commented Apr 8, 2020

Description.

When filling the shortest path vars, the code checks the object is nil but
it doesn't check whether the uid list inside is empty, leading to out of bounds
errors.

GitHub Issue or Jira number.

https://dgraph.atlassian.net/browse/DGRAPH-1222

Affected releases.

20.03.1

Changelog tags.

fixed

Please indicate if this is a breaking change.

No

Please indicate if this is an enterprise feature.

No

Please indicate if documentation needs to be updated.

No

Please indicate if end to end testing is needed.

No


This change is Reviewable

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

Successfully merging this pull request may close these issues.

None yet

2 participants