diff --git a/programs/dtsession/SmXSMP.c b/programs/dtsession/SmXSMP.c index a1624855..6204a72a 100644 --- a/programs/dtsession/SmXSMP.c +++ b/programs/dtsession/SmXSMP.c @@ -503,6 +503,15 @@ RegisterClientProc ( if (!previousId) { id = SmsGenerateClientID (smsConn); + /* + * MCDE: libSM returns NULL when it cannot make an ID (a libSM + * without UUID support on a host whose name does not resolve). + * SmsRegisterClientReply would strdup(NULL) and the session + * manager -- the whole session -- would die (2026-11-18). + * Refuse this one client instead. + */ + if (id == NULL) + return (0); sendSave = True; } else {