here is a attached a buf fix for anaconda
Description of problem:
calloc is incorrectly called in the loader.
/* while playing with it and kickstart, i had loader core dump in
fopen ( malloc to be more precise ) without any valid reason. */
there are serveral incorrect calloc calls :
for example :
loaderData->methodData = calloc(sizeof(struct hdInstallData *)
this should be
loaderData->methodData = calloc(sizeof(struct hdInstallData)
we want to alloc the struct size, not the size of the pointer to the struct !
Best regards,
Kiyo
Attachment:
anaconda.patch
Description: Binary data