Skip to content

Commit 8be33e1

Browse files
authored
add comment to PredefinedTypesHelper
1 parent b1c76b4 commit 8be33e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/System.Linq.Dynamic.Core/Parser/PredefinedTypesHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ internal static class PredefinedTypesHelper
2828

2929
public static readonly IDictionary<Type, int> PredefinedTypes = new ConcurrentDictionary<Type, int>(new Dictionary<Type, int>
3030
{
31+
// { typeof(object), 0 }, Removed because of CVE-2024-51417
3132
{ typeof(bool), 0 },
3233
{ typeof(char), 0 },
3334
{ typeof(string), 0 },

0 commit comments

Comments
 (0)