git://git.jankratochvil.net
/
captive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed memory corruption by the initialization of 'FsRtlLegalAnsiCharacterArray'
[captive.git]
/
src
/
libcaptive
/
fs
/
name.c
diff --git
a/src/libcaptive/fs/name.c
b/src/libcaptive/fs/name.c
index
a8cab2c
..
a06921c
100644
(file)
--- a/
src/libcaptive/fs/name.c
+++ b/
src/libcaptive/fs/name.c
@@
-45,6
+45,7
@@
guint ui;
* with 'signed char' (but also with 'unsigned char'). See also memcpy(3) below.
*/
captive_new0n(array,0x80+0x100);
+ array+=0x80;
for (ui=0;ui<0x100;ui++) {
UCHAR f=0;