diff options
| author | Greg Hudson <ghudson@mit.edu> | 2009-02-05 18:26:47 +0000 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2009-02-05 18:26:47 +0000 |
| commit | 14f126c33d0259bed41255b9e809a66072733f36 (patch) | |
| tree | 9221df72300c988f7c7993c8ab348050c468c2e3 /src/include | |
| parent | 293242e87b276d9b56c03b5269781361f2b4acfc (diff) | |
| download | krb5-14f126c33d0259bed41255b9e809a66072733f36.tar.gz krb5-14f126c33d0259bed41255b9e809a66072733f36.tar.xz krb5-14f126c33d0259bed41255b9e809a66072733f36.zip | |
Coverity was nervous that hst_realm.c's domain_heuristic() wasn't
checking for a NULL return from strchr. The code was safe because a
previous call to strchr on the same argments was checked, but make
Coverity less nervous by storing the result of that previous call and
reusing it. Also make the function conform better to our standards.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21891 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions
