Skip to content

Conversation

@shaddybaddah
Copy link
Owner

No description provided.

Smarre and others added 14 commits August 2, 2022 12:21
This selects correct version of FormatMessageA and FormatMessageW.
There already were code to handle this, but it requires connection to be
pending.
Original always converted to true.
Patched with rdp2tcp.patch from the rdp2tcp-20181203.zip file, shared
by  Artur Zaprzała (https://github.com/ArturZaprzala) as posted in
FreeRDP/FreeRDP#935.
New patch is effectively the same as the original. Mainly indent changes.

# Conflicts:
#	client/channel.c
#	common/print.c
#	server/Makefile.mingw32
#	server/tunnel.c
…orkconsolidation/Smarre2022Aug

Notes:
1) Though I agree with using the "char width neutral" functions of the
   win32api, I rejected FormatMessageA -> FormatMessage for consistency.
   There are other references to *A() functions, which really should be
   made neutral. Especially CreateProcessA() in server/process.c, which
   can include a path to a command, that will be limited to ASCII only
   path components.
2) I am retaining my extension for reverse tunnelling, and the associated
   fixes for race conditions. I acknowledge that changes related to
   "pending" data, may have taken away the necessity for the changes. I'll
   review again down the track.
# Conflicts:
#	client/controller.c
#	server/Makefile.mingw32
#	server/events.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants