projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d584e5
)
Bug #9121: Remove null padding on stored data
author
imp@lx-soft.com
<imp@lx-soft.com>
Fri, 2 Jul 2010 17:44:47 +0000
(11:44 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 2 Jul 2010 17:44:47 +0000
(11:44 -0600)
framework/Secret/lib/Horde/Secret.php
patch
|
blob
|
history
diff --git
a/framework/Secret/lib/Horde/Secret.php
b/framework/Secret/lib/Horde/Secret.php
index
104dd54
..
6675daf
100644
(file)
--- a/
framework/Secret/lib/Horde/Secret.php
+++ b/
framework/Secret/lib/Horde/Secret.php
@@
-100,7
+100,9
@@
class Horde_Secret
throw new Horde_Secret_Exception($val);
}
- return $val;
+ /* Bug #9121: Data may be null padded - need to remove this
+ * padding. */
+ return rtrim($val, "\0");
}
/**