What steps will reproduce the problem?
1. Settings otpD up using LDAP
2. In LDAP, set the following attributes for an entry:
otpVendor: Secure Metric
otpModel: SecureOTP
(this could be anything)
3. Try to authenticate
What is the expected output? What do you see instead?
Expected: authentication (or better: failure to authenticate). In this case, a
segmentation fault is produced and otpD quits.
What version of the product are you using? On what operating system?
otpd-3.2.5
Linux dev-roy3 2.6.32-3-686-bigmem #1 SMP Thu Feb 25 06:54:30 UTC 2010 i686
GNU/Linux
Running Debian 5.0.4
Please provide any additional information below.
Segmentation fault @ otp.c:125
As 'SecureMetric-SecureOTP' isn't a valid cardop, user->cardops isn't set and
thus it seg-faults.
Patch is attached!
Original issue reported on code.google.com by royvanba...@gmail.com on 11 Jun 2010 at 2:25
Original issue reported on code.google.com by
royvanba...@gmail.com
on 11 Jun 2010 at 2:25Attachments: