Fill output with zeroes for short name.
This commit is contained in:
parent
353b6316ac
commit
dfa30fbef6
@ -63,6 +63,8 @@
|
||||
#define Stream_GetPointer stream_get_mark
|
||||
#define Stream_EnsureRemainingCapacity stream_check_size
|
||||
#define Stream_Write stream_write
|
||||
#define Stream_Zero stream_write_zero
|
||||
#define Stream_Fill stream_set_byte
|
||||
#define Stream_GetPosition stream_get_pos
|
||||
#define Stream_SetPosition stream_set_pos
|
||||
#define Stream_SetPointer stream_set_mark
|
||||
|
@ -100,7 +100,7 @@ void guac_rdpdr_fs_process_query_both_directory_info(guac_rdpdr_device* device,
|
||||
|
||||
/* Apparently, the reserved byte here must be skipped ... */
|
||||
|
||||
Stream_Seek(output_stream, 24); /* ShortName */
|
||||
Stream_Zero(output_stream, 24); /* FileName */
|
||||
Stream_Write(output_stream, utf16_entry_name, utf16_length); /* FileName */
|
||||
|
||||
svc_plugin_send((rdpSvcPlugin*) device->rdpdr, output_stream);
|
||||
|
Loading…
Reference in New Issue
Block a user