git://git.jankratochvil.net
/
captive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92d4821
)
Fixed memory corruption by the initialization of 'FsRtlLegalAnsiCharacterArray'
author
short
<>
Sat, 18 Jan 2003 11:16:42 +0000
(11:16 +0000)
committer
short
<>
Sat, 18 Jan 2003 11:16:42 +0000
(11:16 +0000)
src/libcaptive/fs/name.c
patch
|
blob
|
history
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;