Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I find the code which caused the Heartbleed Bug before the fix was made?

I can find the open source code for t1_lib.c, but is there a place where old code is stored? I need to do a project where I demonstrate to the class what can happen if this bounds check is not done, but I am not sure how much was added to the file to solve the problem. I am taking an advanced data security class, and this is the project I was assigned. Thanks!

like image 992
user2988310 Avatar asked Jan 17 '26 02:01

user2988310


1 Answers

Here is the Github commit that fixes the bug. It shows both "before" and "after" states of the code.

This answer explains how to interpret Github commit pages in case you're not familiar with that.

like image 145
sharptooth Avatar answered Jan 19 '26 19:01

sharptooth



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!