From: | ghudson@mit.edu |
Subject: | git commit |
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@mit.edu: simplified slightly]
https://github.com/krb5/krb5/commit/5ac159e220297a8f62dd5edcec6f9b988b0627ea
Author: Nalin Dahyabhai <nalin@dahyabhai.net>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 5ac159e220297a8f62dd5edcec6f9b988b0627ea
Branch: master
src/lib/krb5/ccache/cc_keyring.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)