summaryrefslogtreecommitdiff
path: root/src/pal/tests/palsuite/c_runtime/_vsnprintf/test1
AgeCommit message (Collapse)AuthorFilesLines
2016-12-23Remove all usage of vsnprintf (#8709)Jan Vorlicek3-87/+0
This change removes all usages of vsnprintf and modifies runtime to not to use vsnprintf or _vsnprintf I've also fixed two issues in PAL TRACE function string format parameters that caused crashes when I was trying to run all PAL tests with PAL tracing enabled.
2016-11-21Remove unsafe banned functions (#8162)Jan Vorlicek1-1/+1
This change removes _snwprintf, _snprintf and _vsnwprintf usage from CoreCLR and their implementations from PAL. PAL exposes their secure variants instead and CoreCLR now uses those instead. I have also removed the StringCchPrintfA/W, StringCchVPrintfA/W, StringCbVPrintfA/W, StringCbPrintfA/W, StringCbPrintfExA/W, StringCchVPrintfExA/W, StringCbVPrintfExA/W and StringCchPrintfExA/W replaced their usage by the secure variants of the sprintf functions, since they were used at only few places and implementing all of the variants using the secure sprintf variants would be a hassle. I also needed to fix a missing support for size modifiers for %p formatting character and for wide characters / strings in the secure sprintf functions that was revealed by the PAL tests. I have also removed a bunch of PAL tests that were using %n formatting character which was not implemented since it is considered unsafe and translated PAL tests that were using the removed functions to use the safe variants of those.
2016-09-07Fix strict aliasing violation from conditional typedef of wchar_t by ↵kchoi2-1/+1
building entire project as C++ for Unix (#6801) Enable building CoreCLR as C++ project on Unix This series of patches fixes the strict aliasing violation from the conditional typedef of wchar_t in src/pal/inc/pal_char16.h:40 * rename c files to cpp * modify all cmake files to change .c files to .cpp * apply c++ linkage to templates
2016-01-27Update license headersdotnet-bot2-7/+6
2015-04-14Rename "CoreClrPal" to "coreclrpal"Matt Ellis1-2/+2
Simply change the case of the library the PAL lives in so that is all lowercase.
2015-02-06lrt is not cross platform, lets put this back in when we verify this branch ↵Geoff Norton1-1/+0
on linux
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot3-0/+89
[tfs-changeset: 1407945]