DtSvc/dtspcd: fixes for VU#172583

This commit is contained in:
Jon Trulson
2012-05-26 19:09:33 -06:00
parent a2959aa768
commit b4f3efb692
3 changed files with 33 additions and 1 deletions

View File

@@ -771,6 +771,15 @@ SPCError *SPC_Lookup_Error(int errornum)
spc_error_struct.use_errno = FALSE;
break;
/* JET - buffer overflow attempt */
/* VU#172583 */
case SPC_Buffer_Overflow:
spc_error_struct.format = (XeString) "><Attempted Buffer Overflow from host %s.\nConnection dropped.";
spc_error_struct.severity = XeError;
spc_error_struct.use_errno = FALSE;
break;
default:
spc_error_struct.format = (XeString) "><Unknown error code";
spc_error_struct.severity = XeError;