File tree 1 file changed +3
-3
lines changed
src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2863,7 +2863,7 @@ private object GetDataFromHGLOBAL(string format, IntPtr hglobal)
2863
2863
{
2864
2864
data = ReadBitmapSourceFromHandle ( hglobal ) ;
2865
2865
}
2866
- // Limit deserialization to only primitive types , which consist of the following :
2866
+ // Limit deserialization to DataFormats that correspond to primitives , which are :
2867
2867
//
2868
2868
// DataFormats.CommaSeparatedValue
2869
2869
// DataFormats.FileDrop
@@ -2877,9 +2877,9 @@ private object GetDataFromHGLOBAL(string format, IntPtr hglobal)
2877
2877
// DataFormats.WaveAudio
2878
2878
// DataFormats.Xaml
2879
2879
// DataFormats.XamlPackage
2880
- // DataFormats.StringFormat
2880
+ // DataFormats.StringFormat *
2881
2881
//
2882
- // Out of these primitive types , we will disallow deserialization of
2882
+ // * Out of these, we will disallow deserialization of
2883
2883
// DataFormats.StringFormat to prevent potentially malicious objects from
2884
2884
// being deserialized as part of a "text" copy-paste or drag-drop.
2885
2885
//
You can’t perform that action at this time.
0 commit comments