Blob Blame History Raw
Index: src/remote/inet.cpp
===================================================================
--- src/remote/inet.cpp	(révision 57727)
+++ src/remote/inet.cpp	(révision 57728)
@@ -1154,7 +1154,7 @@
 		case CNCT_group:
 			{
 				int length = id.getClumpLength();
-				if (length != 0) {
+				if (length <= sizeof(eff_gid) && length > 0) {
 					eff_gid = 0;
 					memcpy(&eff_gid, id.getBytes(), length);
 					eff_gid = ntohl(eff_gid);