projects
/
am-utils-6.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e67581
)
fix debugging string truncation
author
Christos Zoulas
<christos@zoulas.com>
Sun, 20 Jul 2014 14:55:33 +0000
(10:55 -0400)
committer
Christos Zoulas
<christos@zoulas.com>
Sun, 20 Jul 2014 14:55:33 +0000
(10:55 -0400)
libamu/mount_fs.c
patch
|
blob
|
history
diff --git
a/libamu/mount_fs.c
b/libamu/mount_fs.c
index 40ab33c37a3566a884f286a60c8adca1e6c68941..b5576bdc6d14f12eea9de41bf520ea5c97232d3b 100644
(file)
--- a/
libamu/mount_fs.c
+++ b/
libamu/mount_fs.c
@@
-688,7
+688,7
@@
get_hex_string(u_int len, const char *fhdata)
if (!fhdata || len == 0 || len > 10240)
return NULL;
- i =
x
len * 4 + 1;
+ i = len * 4 + 1;
if (xlen < i) {
buf = xrealloc(buf, i);
arr = xrealloc(arr, len * sizeof(*arr));