shuffler: fix the handling of more than one block of descriptors
authorH. Peter Anvin <hpa@zytor.com>
Tue, 10 Mar 2009 21:36:36 +0000 (14:36 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 10 Mar 2009 21:38:05 +0000 (14:38 -0700)
commit86981dec7307fd10f98410561107bde5bff7e10b
tree6f9c5f094f750a378647b1a8738c43d7ecdfaf61
parent9c8898254752a8d29331ab838bb9794904a3f707
shuffler: fix the handling of more than one block of descriptors

When allocating more than one block of descriptors, make sure we
account for all the memory used correctly.  Otherwise, very bad things
happen.
com32/lib/syslinux/shuffle.c