More fixes discovered based on Deedra's work.

This commit is contained in:
Storm Dragon committed 2026-10-23 16:08:58 -04:00
1 parent de31e5b513
commit 17052c5147
22 files changed
+561 -76

No files matched your search

+8
View File
@@ -46,6 +46,14 @@ int main(int argc, char **argv) {
// The reader's SSML status must reach the caller without conversion.
failed |= speakSsml(L"<speak>Controller SSML</speak>", SYMBOL_LEVEL_ALL,
SPEECH_PRIORITY_NORMAL, FALSE) != ERROR_CALL_NOT_IMPLEMENTED;
WCHAR *oversized = malloc(65538 * sizeof(WCHAR));
if (!oversized) return 1;
for (unsigned i = 0; i < 65537; ++i) oversized[i] = L'x';
oversized[65537] = 0;
failed |= speakText(oversized) != ERROR_INVALID_PARAMETER;
failed |= brailleMessage(oversized) != ERROR_INVALID_PARAMETER;
failed |= speakSsml(oversized, SYMBOL_LEVEL_ALL, SPEECH_PRIORITY_NORMAL, FALSE) != ERROR_INVALID_PARAMETER;
free(oversized);
}
RpcBindingFree(&binding);
return failed;