LILO fails to initialize the "name" and "password" strings of the
IMAGE_DESCR struct to zero. LILO relies on strcpy to put a trailing zero in
the field so that the boot loader correctly interprets the field, and
ignores any bytes after the trailing NUL.
This problem does not affect the operation of LILO or the boot process, but
in order to pass Quality Assurance, I need successive builds to produce
bit-wise identical results, and because of the problem the /boot/map file
ends up with random characters in the name and passwd fields.
I believe that a code change along the lines of:
static void bsect_common ( ....)
- *descr->password = 0;
+ memset (descr->password, 0, MAX_PW + 1);
+ memset (descr->name, 0, MAX_NAME + 1);
would do the trick.
This is perfectly reasonable due to the way that data segments get initialized