trufflehog icon indicating copy to clipboard operation
trufflehog copied to clipboard

Add test case to gitparse that previously caused a panic

Open dustin-decker opened this issue 1 year ago • 1 comments

Adds a test case to gitparse that caused a panic which was fixed by #1570

dustin-decker avatar Jul 28 '23 15:07 dustin-decker

Tested and the #1570 fix handles this. It looked to me like it shouldn't miss anything at first glance. If currentDiff is nil, then it shouldn't be able to exceed the max diff side, unless I'm overlooking something.

bill-rich avatar Jul 28 '23 16:07 bill-rich