cyrusimap / cyrus-sasl

Other
128 stars 146 forks source link

A segfault occurred in version 2.1.28. #821

Open eosps opened 6 months ago

eosps commented 6 months ago

A segfault occurred in version 2.1.28. saslauthd[26974]: segfault at 1 ip 00007f1eac792948 sp 00007ffd4a3e4b68 error 4 in libc-2.28.so[7f1eac659000+147000]

The operating system I am using is debian 10. The process will automatically terminate after a few hours of startup. and I am using httpform

eosps commented 5 months ago

I didn't specify the usage environment. I used the httpform module. I found that this should be a problem of program robustness. Due to some circumstances httpfrom saslauth will crash when receiving a null response or an empty symbol. This specifically occurs on line 373 in auth_httpform.c. I'm not familiar with C language, so I won't make any modifications.