Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(polls) halt processing of malformed polls
Saúl Ibarra Corretgé3e4fb82d58fc
diff --git a/resources/prosody-plugins/mod_polls.lua b/resources/prosody-plugins/mod_polls.luaindex 8d9865109e..be23144b97 100644--- a/resources/prosody-plugins/mod_polls.lua+++ b/resources/prosody-plugins/mod_polls.lua@@ -72,7 +72,7 @@ module:hook('jitsi-endpoint-message-received', function(event)if string.len(event.raw_message) >= POLL_PAYLOAD_LIMIT thenmodule:log('error', 'Poll payload too large, discarding. Sender: %s to:%s', stanza.attr.from, stanza.attr.to);- return nil;+ return true;endif data.type == "new-poll" then@@ -86,7 +86,7 @@ module:hook('jitsi-endpoint-message-received', function(event)if room.polls.count >= POLLS_LIMIT thenmodule:log("error", "Too many polls created in %s", room.jid)- return+ return true;endif room.polls.by_id[data.pollId] ~= nil then