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

1.2k views Asked by At

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!

1

There are 1 answers

0
sharptooth On

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.