[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-5-1] src/sys/arch/xen/xen
Module Name: src
Committed By: bouyer
Date: Sat Jun 18 16:39:10 UTC 2011
src/sys/arch/xen/xen [netbsd-5-1]: xbdback_xenbus.c
Pull up following revision(s) (requested by jym in ticket #1630):
sys/arch/xen/xen/xbdback_xenbus.c: revision 1.37
In xbdback(4), move the code that copies segments after the bound checks
of the ``nr_segments'' variable.
In cases where we are running domUs with an architecture different from the
dom0 one (for example: 32 bits domUs on 64 bits dom0), copying segments
with an invalid nr_segments value will lead to the corruption of the
xbdback instance structure and quickly crash the dom0 backend.
Tested under 64 bits dom0 with 32 bits domUs. No regression observed.
Will be pulled up to -4 and -5.
To generate a diff of this commit:
cvs rdiff -u -r188.8.131.52.2.1 -r184.108.40.206.2.2 \
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |