Skip to content

Conversation

matt335672
Copy link
Member

Fixes #3590

Tested informally by @roffery

Ignore late frame ACKs from the client if the encoder is missing.

This was observed using the RFX codec when resizing the display. While the display is being resized, the encoder can be deleted. If a later frame ack arrives at this point, a SEGV is generated as self->encoder is NULL in xrdp_mm.c.

If the situation occurs now, we generate a debug log message and ACK all frames from the module. The last action shouldn't really be necessary as this happens anyway later in the resize, but it seemed a sensible thing to do.

@jsorg71, @Nexarian - I think you both understand frame ACKs better than I do. Does this look OK to you?

Ignore late frame ACKs from the client if the encoder is mssing.
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.

xrdp occasionally generates SIGSEGV when resizing with RFX encoder
1 participant