We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
parser.rdp.virtual_channel.dynamic_channel
1 parent 1daf83e commit cabcabfCopy full SHA for cabcabf
1 file changed
pyrdp/parser/rdp/virtual_channel/dynamic_channel.py
@@ -33,6 +33,8 @@ def doParse(self, data: bytes) -> PDU:
33
channelName = ""
34
char = stream.read(1).decode()
35
while char != "\x00":
36
+ if len(char) == 0:
37
+ return ValueError("Channel name is not null-terminated")
38
channelName += char
39
40
return CreateRequestPDU(cbid, sp, channelId, channelName)
0 commit comments