git.annexia.org
/
hivex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dacebc
)
hivexsh: Set correct type for 'expandstring' values.
author
Richard Jones
<rjones@redhat.com>
Fri, 5 Feb 2010 13:47:32 +0000
(13:47 +0000)
committer
Richard Jones
<rjones@redhat.com>
Fri, 19 Feb 2010 15:01:35 +0000
(15:01 +0000)
hivex/hivexsh.c
patch
|
blob
|
history
diff --git
a/hivex/hivexsh.c
b/hivex/hivexsh.c
index
6d83f0d
..
51d8cfb
100644
(file)
--- a/
hivex/hivexsh.c
+++ b/
hivex/hivexsh.c
@@
-913,7
+913,7
@@
cmd_setval (char *nrvals_str)
}
else if (STRPREFIX (buf, "expandstring:")) {
buf += 13;
- values[i].t = hive_t_string;
+ values[i].t = hive_t_
expand_
string;
int nr_chars = strlen (buf);
values[i].len = 2 * (nr_chars + 1);
values[i].value = malloc (values[i].len);