Commit fdca698
[release/7.0-rc2] Handle a null szPname field (#75716)
* Handle a null szPname field
* Always clear the span to ensure we have a null terminator in case the string is short
* Use null conditional access
* Add call to test to test scenario
* Update src/libraries/System.Speech/tests/SynthesizeRecognizeTests.cs
Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
Co-authored-by: Jeremy Koritzinsky <jekoritz@microsoft.com>1 parent f0eb5ce commit fdca698
1 file changed
Lines changed: 3 additions & 1 deletion
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
0 commit comments