mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07: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;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (state == null || state.length < 1) {
|
if (state == null || state.length == 0) {
|
||||||
logger.error("Challenge/response to RADIUS requires a prior state.");
|
logger.error("Challenge/response to RADIUS requires a prior state.");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user