c_otp icon indicating copy to clipboard operation
c_otp copied to clipboard

Seg Fault passing providerrc

Open fbmoose48 opened this issue 4 years ago • 3 comments

when individual secrets are passed using the -b flag output is as expected, but when using c_otp -f providerrc -s with a providerrc based on the example located in ~/ it results in Segmentation fault (core dumped)

Any suggestions appreciated

fbmoose48 avatar Jun 24 '21 03:06 fbmoose48

Hi, thanks for reporting this issue, can you give more clues regarding your environment? I'd like to reproduce and fix it! You can also put D=1 within the Makefile and compile it in DEBUG mode. By doing this you should be able to see a more verbose output and hopefully we can find where the issue appears!

fmount avatar Jul 20 '21 15:07 fmount

in file rfc4226.c line 28 , hmacResule is local variables, can't return local variables pointer as result

RD0086 avatar Jun 06 '24 03:06 RD0086

image

RD0086 avatar Jun 06 '24 03:06 RD0086