Skip to content

Commit

Permalink
more code comment for last fix
Browse files Browse the repository at this point in the history
  • Loading branch information
obilodeau committed Jan 15, 2024
1 parent ccb0698 commit e156ce5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyrdp/parser/rdp/virtual_channel/clipboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def parseFileContentsRequest(self, payload, msgFlags):
posLo = Uint32LE.unpack(stream)
posHi = Uint32LE.unpack(stream)
cbRequested = Uint32LE.unpack(stream)
# clipDataId is optional per-spec [MS-RDPECLIP] Section 2.2.5.3
# xfreeRDP (and maybe other non-Windows clients?) don't send a clipDataId.
# Currently we don't use clipDataId for anything, so we can safely just set it to 0.
try:
Expand Down

0 comments on commit e156ce5

Please sign in to comment.