summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2015-06-19 17:00:36 +0000
committersobomax <sobomax@FreeBSD.org>2015-06-19 17:00:36 +0000
commit7f024ecfc31dd82aaa70e38dae0a955a41ee1270 (patch)
treee6b550b5a344a19465fec82c6bfb41e399402404 /share
parent9b22f67e32d19fc107aa5d1d67cb9f0be4c5601c (diff)
downloadFreeBSD-src-7f024ecfc31dd82aaa70e38dae0a955a41ee1270.zip
FreeBSD-src-7f024ecfc31dd82aaa70e38dae0a955a41ee1270.tar.gz
Fix bug in the ubldr introduced in the rev.283035. The new code
fails to properly consider memory regions when the loader is located below of those regions or engulfs their lower limit. This results in "not enough RAM to load kernel" panic, which is totally bogus. On top of that, there are some variables that can be left unitialized in those cases, which might cause it fail with memory access violation instead of panic while trying to load kernel to a wrong or non-existing address of memory. Augment the code to properly deal with the loader being below or at the lower bound of the memory region in question. Also, don't leave ununitialized variables behind. Reviewed by: ian
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud