Fix crash in mkimxboot bootloader installation.
commit1e2c6506fbf503bace8356f90cd54a5b01a32f88
authorDominik Riebeling <Dominik.Riebeling@gmail.com>
Sat, 9 Jun 2012 20:03:43 +0000 (9 22:03 +0200)
committerDominik Riebeling <Dominik.Riebeling@gmail.com>
Sat, 9 Jun 2012 20:08:54 +0000 (9 22:08 +0200)
treed25d1a543bff1be353cf9f204b3c5edc1f393fbd
parentc4183e1d67f88da4d934c9e02ca5beb2fc0a8ec0
Fix crash in mkimxboot bootloader installation.

mkimxboot requires passing a structure which got extended with another field.
This wasn't adjusted in Rockbox Utility, causing an out of bound access to an
array, which results in a segfault.

Change-Id: I0252849ed0b41f1d8804537c053debc9b0ecd08d
rbutil/mkimxboot/mkimxboot.c
rbutil/rbutilqt/base/bootloaderinstallimx.cpp