TizenFX
TizenFX copied to clipboard
[NUI] Fix svace issue: An overflow in the arithmetic expression Marshal.SizeOf(typeof(IntPtr)) * count
Description of Change
- Fix svace issue of Tizen.NUI/src/public/BaseComponents/DirectRenderingGLView.cs. WID:31088670 An overflow in the arithmetic expression Marshal.SizeOf(typeof(IntPtr)) * count which is used in Marshal.AllocHGlobal(Marshal.SizeOf(typeof(IntPtr)) * count) may occur. Please use checked arithmetic to throw IntegerOverflowException in case of overflow instead of possible memory damage SVACE Server Link : https://sa.sec.samsung.net/dm/tizen80/sb2/main/review#PRJID=6&WGID=89407
API Changes
- ACR: None