eworm-de / mkinitcpio-ykfde

Full disk encryption with Yubikey (Yubico key)
GNU General Public License v3.0
109 stars 26 forks source link

Current master segfaults in ykfde.c #23

Closed rtfm3514 closed 6 years ago

rtfm3514 commented 6 years ago

Hi,

the current master is segfaulting for me. I bisected the first bad commit to be 76b1338 and compiling with debug symbols gives me what I think is a NULL pointer dereference at line 321 in ykfde.c:

Thread 1 "ykfde" received signal SIGSEGV, Segmentation fault. main (argc=, argv=) at ykfde.c:321 321 len = strlen(tmp); (gdb) print tmp $1 = 0x0

eworm-de commented 6 years ago

Can you check with b40e86039521736575be726992380bf1079e34e9 applied?

rtfm3514 commented 6 years ago

Seems fixed, also tried with cryptsetup + yubikey. I am not using second factor btw.

Thanks a lot for the speedy fix.

eworm-de commented 6 years ago

You are welcome. Thanks for the perfectly detailed report!