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

get_first_empty_address should return 0 if no addr #40

Merged
merged 1 commit into from
Jan 19, 2013

Conversation

krkeegan
Copy link
Collaborator

The sub add_link expects get_first_empty_address to return 0 if no empty address is found.

This will prevent trying to add an aldb record to the FFFFFFFFFFFFFFF8 address which clearly doesn't exist. Instead the user will now get a nice error advising them to scan the link table before trying to sync links.

It appears that something about Marc Merlin or my changes have some difference in the line endings. Not sure why the additional lines 1222-24 1244-45 are listed as changed.

The sub add_link expects get_first_empty_address to return 0 if no empty address is found.

This will prevent trying to add an aldb record to the FFFFFFFFFFFFFFF8 address which clearly doesn't exist.  Instead the user will now get a nice error advising them to scan the link table before trying to sync links.

It appears that something about Marc Merlin or my changes have some difference in the line endings.  Not sure why the additional lines are listed as changed.
@marcmerlin
Copy link
Collaborator

Yeah, the whitespace thing is annoying but the patch looks reasonable, thanks.

marcmerlin added a commit that referenced this pull request Jan 19, 2013
get_first_empty_address should return 0 if no addr
@marcmerlin marcmerlin merged commit 2032229 into hollie:master Jan 19, 2013
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.

2 participants