Skip to content

Conversation

@fabianfreyer
Copy link
Contributor

Fixes #4

@fabianfreyer fabianfreyer added help wanted Extra attention is needed spec labels Feb 20, 2018
@fabianfreyer fabianfreyer added this to the v0.1 milestone Feb 20, 2018
@fabianfreyer fabianfreyer self-assigned this Feb 20, 2018
@codecov
Copy link

codecov bot commented Feb 20, 2018

Codecov Report

Merging #23 into master will decrease coverage by 2.77%.
The diff coverage is 66.82%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage   73.78%   71.01%   -2.78%     
==========================================
  Files           4        4              
  Lines         618      790     +172     
==========================================
+ Hits          456      561     +105     
- Misses        162      229      +67
Impacted Files Coverage Δ
loader.c 0% <0%> (ø) ⬆️
multiboot.c 76.17% <82.45%> (+1.37%) ⬆️
tests/mock/bhyveload.c 81.89% <0%> (+0.55%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cfe0528...e898a6f. Read the comment docs.

@fabianfreyer fabianfreyer force-pushed the multiboot/info branch 3 times, most recently from b2451ba to 2104248 Compare February 20, 2018 19:28
loader.c Outdated
goto error;
}

if (multiboot_info_set_cmdline(&mb->info, loader_args.cmdline)) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should really only be called if loader_args.cmdline is set, otherwise we segfault here, as it is initialized to NULL.

@fabianfreyer fabianfreyer force-pushed the multiboot/info branch 8 times, most recently from 20d1f82 to 93e27b0 Compare February 22, 2018 17:59
Memory information is given in kiB in the multiboot information
structure, but multiboot_info_set_mmap used these values as bytes.
@fabianfreyer fabianfreyer merged commit e898a6f into fubarnetes:master Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help wanted Extra attention is needed spec

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant