Skip to content
Snippets Groups Projects
Commit 91ab6829 authored by Richard Alam's avatar Richard Alam
Browse files

- check number of params for bbb-apps

parent ed1f45d9
No related branches found
No related tags found
No related merge requests found
......@@ -138,6 +138,12 @@ public class BigBlueButtonApplication extends MultiThreadedApplicationAdapter {
@Override
public boolean roomConnect(IConnection connection, Object[] params) {
if(params.length != 10) {
log.error("Invalid number of parameters. param length=" + params.length);
return false;
}
String username = ((String) params[0]).toString();
String role = ((String) params[1]).toString();
String room = ((String)params[2]).toString();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment