Subject k5_utf8s_to_ucs2s could deref NULL pointer..
authorEzra Peisach <epeisach@mit.edu>
Tue, 7 Apr 2009 23:59:25 +0000 (23:59 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 7 Apr 2009 23:59:25 +0000 (23:59 +0000)
commit0b7cc76b50ea9c035c8137583cd6d99fa0929e0e
tree034eb07febedd322ab81ec8568fbb214c6de2a88
parent6769d4fc0a3fdeef3f0530257d742647a2c847fb
Subject k5_utf8s_to_ucs2s could deref NULL pointer..

Based on usage of this static function, this will never happen as
results are always malloced (and checked) by caller.  However, the
function is already coded to handle the first argument being null - so
be consistent throughout.

ticket:

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22177 dc483132-0cff-0310-8789-dd5450dbe970
src/util/support/utf8_conv.c