bug#45026: Heap corruption buffer overflow in bsd_probe

2020-12-04 Thread Brian C. Lane
How did you get valgrind to hit that? I'm not seeing it complain about bsd.c on Fedora. I've pushed this fix to master. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

bug#45026: Heap corruption buffer overflow in bsd_probe

2020-12-04 Thread Natanael Copa
On Thu, 3 Dec 2020 13:45:48 -0500 Rich Felker wrote: > Commit a5f69f396713ab8ac1e57458cbb9af552d2c1659 rearranged bsd.c's > bsd_probe function in a way that changed the meaning of the local > variable label, but left alone the call to alpha_bootblock_checksum, > thereby causing the checksum to ta

bug#45026: Heap corruption buffer overflow in bsd_probe

2020-12-03 Thread Rich Felker
Commit a5f69f396713ab8ac1e57458cbb9af552d2c1659 rearranged bsd.c's bsd_probe function in a way that changed the meaning of the local variable label, but left alone the call to alpha_bootblock_checksum, thereby causing the checksum to take place over the wrong range of bytes and be written 56 bytes