diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-07-16 11:25:57 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-07-16 11:25:57 -0700 |
commit | 9e93f6b57fb74ff53b1cbdf3cfaff1e8b3642046 (patch) | |
tree | 1dc2510a41e4ffd8882b663a37744706fae9d207 /core/parseconfig.inc | |
parent | b5f0b61236a5300fe425cf80b11c5bc0006873c7 (diff) | |
download | syslinux-9e93f6b57fb74ff53b1cbdf3cfaff1e8b3642046.tar.gz |
parseconfig: fix invalid mangle_name assumption
Remove assumption that mangle_name leaves DI beyond the end of the
buffer. This was true back when the mangled filename buffer was an
11-byte DOS filename, but it is definitely not true anymore.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/parseconfig.inc')
-rw-r--r-- | core/parseconfig.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/parseconfig.inc b/core/parseconfig.inc index e004cab5..2975a8b3 100644 --- a/core/parseconfig.inc +++ b/core/parseconfig.inc @@ -311,7 +311,7 @@ pc_label: call commit_vk ; Commit any current vkernel call mangle_name ; Mangle virtual name mov byte [VKernel],1 ; We've seen a "label" statement mov si,VKernelBuf+vk_vname ; By default, rname == vname - ; mov di,VKernelBuf+vk_rname ; -- already set + mov di,VKernelBuf+vk_rname mov cx,FILENAME_MAX rep movsb mov si,AppendBuf ; Default append==global append |