[flashrom] Re: flashrom1.4 segfault in init_eraseblock

2024-09-06 Thread Anastasia Klimchuk
Grant, Thank you so much for posting! And for debugging and suggesting a potential solution. I really like that you unblocked yourself, and I also want to get to the root cause. From looking at the code, it seemed like a real issue, and after some time of debugging, I think this is a real issue.

[flashrom] Re: flashrom1.4 segfault in init_eraseblock

2024-09-06 Thread Grant Pannell via flashrom
Hi there! Thanks for looking. I just also submitted a patch via Gerrit -- hopefully, I did that right. I'm not too sure of technicalities. Could this be a compiler flag? I suspect you are right that OpenBSD has more strict memory protections. As for why it has not been noticed, I think I can e