[krbdev.mit.edu #7764] git commit
Tom Yu via RT
rt-comment at krbdev.mit.edu
Wed Nov 13 14:48:20 EST 2013
Catch more strtol() failures when using KEYRINGs
When parsing what should be a UID while resolving a KEYRING ccache
name, don't just depend on strtol() to set errno when the residual
that we pass to it can't be parsed as a number. In addition to
checking errno, pass in and check the value of an "endptr".
[ghudson at mit.edu: simplified slightly]
(cherry picked from commit 5ac159e220297a8f62dd5edcec6f9b988b0627ea)
https://github.com/krb5/krb5/commit/b9587b53d09cea8ff8625bcda12815eff359f6d6
Author: Nalin Dahyabhai <nalin at dahyabhai.net>
Committer: Tom Yu <tlyu at mit.edu>
Commit: b9587b53d09cea8ff8625bcda12815eff359f6d6
Branch: krb5-1.12
src/lib/krb5/ccache/cc_keyring.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
More information about the krb5-bugs
mailing list