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

Fix buildmgr SEGFAULT when it failed to update package #626

Merged
merged 1 commit into from Apr 17, 2018

Conversation

life1347
Copy link
Member

@life1347 life1347 commented Apr 16, 2018

Description

This PR aims to fix #572 .

Root cause

Build manager use the same variable to store function (updatePackage) return value, which is nil pkg pointer if the function failed to update package. And builder manager tries to print pkg information with that nil pointer.

Solution

Rename function parameter.


This change is Reviewable

@soamvasani soamvasani added this to the 0.8.0 milestone Apr 16, 2018
@soamvasani
Copy link
Member

LGTM, thanks!

@life1347 life1347 merged commit 0194f53 into master Apr 17, 2018
@life1347 life1347 deleted the fix-buildmgr-segfault branch April 17, 2018 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SEGFAULT when builder manager failed to update package
2 participants