mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-197: Check for empty byte array in more sane manner.
This commit is contained in:
@@ -290,7 +290,7 @@ public class RadiusConnectionService {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (state == null || state.length < 1) {
|
||||
if (state == null || state.length == 0) {
|
||||
logger.error("Challenge/response to RADIUS requires a prior state.");
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user