diff options
author | Friendika <info@friendika.com> | 2011-01-17 21:08:16 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-01-17 21:08:16 -0800 |
commit | 028460a5c1de4833bb1dcfaa945c1292952bf923 (patch) | |
tree | 2377a23718c3406206f03b65aad2a9f5b1eb8b12 /boot.php | |
parent | fa1f2ce8f38962b97c4a6a327c5f50e238eabb9b (diff) | |
download | volse-hubzilla-028460a5c1de4833bb1dcfaa945c1292952bf923.tar.gz volse-hubzilla-028460a5c1de4833bb1dcfaa945c1292952bf923.tar.bz2 volse-hubzilla-028460a5c1de4833bb1dcfaa945c1292952bf923.zip |
tracking errant bin2hex call
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -945,6 +945,11 @@ function unxmlify($s) { if(! function_exists('hex2bin')) { function hex2bin($s) { + if(! ctype_xdigit($s)) { + logger('hex2bin: illegal input: ' . print_r(debug_backtrace(), true)); + return($s); + } + return(pack("H*",$s)); }} |