Ticket #452: Fix segfault related to FastPath and pointer checks.
This commit is contained in:
parent
1af28eb820
commit
7547b4b5bd
10
configure.ac
10
configure.ac
@ -481,6 +481,16 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include <freerdp/update.h>
|
||||
[AC_MSG_RESULT([no])
|
||||
AC_DEFINE([LEGACY_RDPPALETTE])])
|
||||
|
||||
#
|
||||
# FreeRDP: rdpPointer
|
||||
#
|
||||
|
||||
# Check for SetDefault and SetNull members of rdpPointer
|
||||
AC_CHECK_MEMBERS([rdpPointer.SetDefault,
|
||||
rdpPointer.SetNull],
|
||||
,,
|
||||
[[#include <freerdp/freerdp.h>]])
|
||||
|
||||
#
|
||||
# FreeRDP: wMessage / RDP_EVENT
|
||||
#
|
||||
|
@ -186,6 +186,8 @@ void guac_rdp_push_settings(guac_rdp_settings* guac_settings, freerdp* rdp) {
|
||||
bitmap_cache = rdp_settings->bitmap_cache;
|
||||
rdp_settings->os_major_type = OSMAJORTYPE_UNSPECIFIED;
|
||||
rdp_settings->os_minor_type = OSMINORTYPE_UNSPECIFIED;
|
||||
rdp_settings->fast_path_input = FALSE;
|
||||
rdp_settings->fast_path_output = FALSE;
|
||||
rdp_settings->order_support[NEG_DSTBLT_INDEX] = TRUE;
|
||||
rdp_settings->order_support[NEG_PATBLT_INDEX] = FALSE; /* PATBLT not yet supported */
|
||||
rdp_settings->order_support[NEG_SCRBLT_INDEX] = TRUE;
|
||||
@ -214,6 +216,8 @@ void guac_rdp_push_settings(guac_rdp_settings* guac_settings, freerdp* rdp) {
|
||||
bitmap_cache = rdp_settings->BitmapCacheEnabled;
|
||||
rdp_settings->OsMajorType = OSMAJORTYPE_UNSPECIFIED;
|
||||
rdp_settings->OsMinorType = OSMINORTYPE_UNSPECIFIED;
|
||||
rdp_settings->FastPathInput = FALSE;
|
||||
rdp_settings->FastPathOutput = FALSE;
|
||||
rdp_settings->OrderSupport[NEG_DSTBLT_INDEX] = TRUE;
|
||||
rdp_settings->OrderSupport[NEG_PATBLT_INDEX] = FALSE; /* PATBLT not yet supported */
|
||||
rdp_settings->OrderSupport[NEG_SCRBLT_INDEX] = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user