LICENSE MIT
if the input length is 0, smb_ParseString should return the NUL string
not NULL.
Do not permit unprotected DebugBreak() calls.
null_terms = 1;
}
} else {
- return NULL;
+ cch_src = 0;
}
spacep = cm_GetSpace();
cb = p->totalParms - (inp - (unsigned char *)p->parmsp);
if (inp < (unsigned char *) p->parmsp ||
inp > ((unsigned char *) p->parmsp) + p->totalParms) {
+#ifdef DEBUG_UNICODE
DebugBreak();
+#endif
cb = p->totalParms;
}
if (dscp->fileType == CM_SCACHETYPE_DFSLINK) {
cm_ReleaseSCache(dscp);
cm_ReleaseUser(userp);
+#ifdef DEBUG
DebugBreak();
+#endif
return CM_ERROR_PATH_NOT_COVERED;
}
#endif /* DFS_SUPPORT */