diff options
author | Sergiy Kuryata <sergeyk@microsoft.com> | 2015-02-13 00:29:53 -0800 |
---|---|---|
committer | Sergiy Kuryata <sergeyk@microsoft.com> | 2015-02-13 00:29:53 -0800 |
commit | bb0c77e5bf617777390d6e0f1ed6152b908cbb87 (patch) | |
tree | 568f4e80f8772c5d1909581bf6907f8fd78a0046 /src/pal/tests/palsuite/paltestlist_to_be_reviewed.txt | |
parent | 01a2fe581b9aef5af7e39ff40529a159ba0b28f5 (diff) | |
download | coreclr-bb0c77e5bf617777390d6e0f1ed6152b908cbb87.tar.gz coreclr-bb0c77e5bf617777390d6e0f1ed6152b908cbb87.tar.bz2 coreclr-bb0c77e5bf617777390d6e0f1ed6152b908cbb87.zip |
Fix sscanf implementation in PAL
Implementation of sscanf was incorrectly handling cases where the input format was in the form of %2c, %2s, or %[ which could result in an access violation. The problem was that sscanf was calling sscanf_s with incorrect set of arguments. Implementation of sscanf_s expects to find the size of the target buffer in the list of its parameters but that parameter was not present in some cases. This change fixes this issue and re-enables previously disabled sscanf tests.
Diffstat (limited to 'src/pal/tests/palsuite/paltestlist_to_be_reviewed.txt')
-rw-r--r-- | src/pal/tests/palsuite/paltestlist_to_be_reviewed.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pal/tests/palsuite/paltestlist_to_be_reviewed.txt b/src/pal/tests/palsuite/paltestlist_to_be_reviewed.txt index 6e1b55f34d..0f135a040b 100644 --- a/src/pal/tests/palsuite/paltestlist_to_be_reviewed.txt +++ b/src/pal/tests/palsuite/paltestlist_to_be_reviewed.txt @@ -15,10 +15,6 @@ c_runtime/fwprintf/test19/paltest_fwprintf_test19 c_runtime/fwprintf/test2/paltest_fwprintf_test2 c_runtime/fwprintf/test7/paltest_fwprintf_test7 c_runtime/iswprint/test1/paltest_iswprint_test1 -c_runtime/sscanf/test10/paltest_sscanf_test10 -c_runtime/sscanf/test11/paltest_sscanf_test11 -c_runtime/sscanf/test3/paltest_sscanf_test3 -c_runtime/sscanf/test9/paltest_sscanf_test9 c_runtime/swprintf/test2/paltest_swprintf_test2 c_runtime/swprintf/test7/paltest_swprintf_test7 c_runtime/ungetc/test2/paltest_ungetc_test2 |