ICE_TEA_BIOS/Insyde/InsydeModulePkg/KernelSourceCodeAnalysis.csv
LCFC\AiXia.Jiang a870bff2f4 1.Frist commit
2022-09-30 14:59:06 +08:00

11 KiB

1FileNameLineNoCodeFileHashStatusMessage
2edk2\mdemodulepkg\library\pidxes3bootscriptlib\bootscriptexecute.c145C629756712e93857c59a7b0df8514c14dd86dNewArithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value.
3edk2\mdemodulepkg\library\pidxes3bootscriptlib\bootscriptexecute.c665C629756712e93857c59a7b0df8514c14dd86dNewArithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value.
4edk2\mdemodulepkg\library\pidxes3bootscriptlib\bootscriptexecute.c755C629756712e93857c59a7b0df8514c14dd86dNewArithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value.
5edk2\mdemodulepkg\override\library\pidxes3bootscriptlib\bootscriptsave.c203C6297987005aaa9c2bdb5ffa25b1a1f9a410eNewArithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value.
6edk2\mdepkg\library\basememorylibrepstr\copymemwrapper.c41C610113b17b145d87dc2436ad13bf16e6f448NewReturning uninitialized memory '*DestinationBuffer'. A successful path through the function does not set the named _Out_ parameter. : Lines: 41, 47, 53, 54, 41
7edk2\mdepkg\library\basememorylibrepstr\memlibguid.c44C6001ad2d0d536b2732fd372c91c36e13b032NewUsing uninitialized memory 'DestinationGuid'.: Lines: 39, 44
8edk2\mdepkg\library\basememorylibrepstr\setmem16wrapper.c57C60018a8b9c210c9b7b0fff1b50409ebaeb80NewUsing uninitialized memory 'Buffer'.: Lines: 42, 48, 57
9edk2\mdepkg\library\basememorylibrepstr\setmem32wrapper.c57C600157f20d2c9034309bbd65e9b1f1be08feNewUsing uninitialized memory 'Buffer'.: Lines: 42, 48, 57
10edk2\mdepkg\library\basememorylibrepstr\setmem64wrapper.c57C6001aaa8254366a99c583d8e2daf35112329NewUsing uninitialized memory 'Buffer'.: Lines: 42, 48, 57
11edk2\mdepkg\library\basememorylibrepstr\setmemwrapper.c50C60012a81b5c984f5527e84bf8533b83c3537NewUsing uninitialized memory 'Buffer'.: Lines: 38, 44, 50
12edk2\mdepkg\library\basememorylibrepstr\setmemwrapper.c81C60012a81b5c984f5527e84bf8533b83c3537NewUsing uninitialized memory 'Buffer'.: Lines: 74, 80, 81
13edk2\mdepkg\library\basememorylibrepstr\setmemwrapper.c83C60012a81b5c984f5527e84bf8533b83c3537NewUsing uninitialized memory 'Buffer'.: Lines: 74, 80, 83
14edk2\mdepkg\library\basememorylibrepstr\zeromemwrapper.c49C6001be343545d2e3d19cf442ee23b910ffdcNewUsing uninitialized memory 'Buffer'.: Lines: 38, 43, 49
15edk2\mdepkg\library\dxehstilib\hstidxe.c112C60019eccf05d76f895b0bd28345280139eeaNewUsing uninitialized memory '*InformationBlock'.: Lines: 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 47, 54, 58, 59, 60, 61, 62, 63, 68, 75, 80, 84, 85, 86, 87, 91, 93, 100, 101, 107, 111, 112, 116, 117, 62, 63, 68, 75, 80, 84, 85, 86, 87, 91, 93, 100, 101, 107, 111, 112
16edk2\mdepkg\library\peiserviceslib\peiserviceslib.c655C6011d37f2cb23c98e3b557afce415d86314bNewDereferencing NULL pointer 'FvInfoPpi'. : Lines: 633, 634, 635, 636, 637, 638, 640, 641, 642, 653, 655
17edk2\mdepkg\library\peiserviceslib\peiserviceslib.c690C6011d37f2cb23c98e3b557afce415d86314bNewDereferencing NULL pointer 'FvInfoPpiDescriptor'. : Lines: 633, 634, 635, 636, 637, 638, 640, 641, 642, 653, 655, 656, 659, 662, 674, 675, 676, 681, 687, 690
18edk2\mdepkg\library\uefidevicepathlib\devicepathfromtext.c3655C6011f018cc1e525bbd65dc5eec07038d5147NewDereferencing NULL pointer 'DeviceNode'. : Lines: 3624, 3625, 3626, 3627, 3628, 3629, 3630, 3632, 3636, 3638, 3640, 3642, 3643, 3644, 3646, 3647, 3648, 3649, 3651, 3652, 3654, 3655
19edk2\mdepkg\library\uefidevicepathlib\devicepathfromtext.c987C6011f018cc1e525bbd65dc5eec07038d5147NewDereferencing NULL pointer 'AcpiAdr'. : Lines: 959, 960, 961, 962, 964, 971, 972, 973, 976, 987, 971, 972, 973, 976, 977, 978, 984, 987
20edk2\mdepkg\library\uefidevicepathlib\devicepathtotext.c1803C6387a4e58c38da7d88989d2c4cf1d86aeb5aNew'UriStr' could be '0': this does not adhere to the specification for the function 'CopyMem'. : Lines: 1791, 1792, 1793, 1798, 1799, 1800, 1803
21edk2\mdepkg\library\uefidevicepathlib\devicepathtotext.c1804C6011a4e58c38da7d88989d2c4cf1d86aeb5aNewDereferencing NULL pointer 'UriStr'. See line 1803 for an earlier location where this can occur: Lines: 1791, 1792, 1793, 1798, 1799, 1800, 1803, 1804
22edk2\mdepkg\library\uefidevicepathlib\devicepathtotext.c51C6011a4e58c38da7d88989d2c4cf1d86aeb5aNewDereferencing NULL pointer 'Str->Str'. : Lines: 34, 35, 37, 38, 39, 41, 42, 43, 50, 51
23edk2\mdepkg\library\uefidevicepathlib\devicepathtotext.c975C6011a4e58c38da7d88989d2c4cf1d86aeb5aNewDereferencing NULL pointer 'NewStr'. : Lines: 960, 961, 962, 963, 965, 967, 968, 969, 973, 975
24edk2\mdepkg\library\uefilib\acpi.c68C6011bf1357a1257e6452f910d40a854a7527NewDereferencing NULL pointer 'PreviousTableLocated'. : Lines: 40, 41, 42, 43, 44, 46, 53, 57, 59, 60, 61, 62, 63, 64, 65, 66, 68
25edk2\mdepkg\library\uefilib\console.c482C6387027e7425af764127d5e9304142abb589New'Line' could be '0': this does not adhere to the specification for the function 'SetMem16'. : Lines: 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 417, 418, 419, 420, 424, 439, 444, 449, 454, 455, 460, 465, 470, 471, 476, 482
26edk2\mdepkg\library\uefilib\console.c483C6011027e7425af764127d5e9304142abb589NewDereferencing NULL pointer 'Line'. See line 482 for an earlier location where this can occur: Lines: 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 417, 418, 419, 420, 424, 439, 444, 449, 454, 455, 460, 465, 470, 471, 476, 482, 483
27EDK2\MdePkg\Library\UefiLib\UefiLib.c1377C49969c6be9094d8dfb929d968470655cc6c2New'GetVariable': was declared deprecated
28edk2\mdepkg\library\uefilib\uefilibprint.c423C6011854fed2c7fdee9e0666d833a8e86d47fNewDereferencing NULL pointer 'Blt'. : Lines: 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 362, 363, 364, 365, 367, 371, 377, 378, 390, 394, 400, 404, 405, 406, 415, 416, 420, 423
29edk2\mdepkg\library\uefiruntimelib\runtimelib.c622C28182561fc484e3f49e1e67c4a327f2ceee42NewDereferencing NULL pointer. 'Link' contains the same NULL value as 'Link->ForwardLink' did. : Lines: 607, 608, 613, 620, 622, 624, 629, 634, 635, 622
30edk2\mdepkg\override\library\baselib\safestring.c1483C6305e231a62ad267f87bb81d220ac20f609bNewPotential mismatch between sizeof and countof quantities. Use sizeof() to scale byte sizes.: Lines: 1462, 1463, 1469, 1470, 1475, 1476, 1482, 1483
31edk2\mdepkg\override\library\baselib\safestring.c1496C6305e231a62ad267f87bb81d220ac20f609bNewPotential mismatch between sizeof and countof quantities. Use sizeof() to scale byte sizes.: Lines: 1462, 1463, 1469, 1470, 1475, 1476, 1482, 1483, 1488, 1489, 1495, 1496
32edk2\mdepkg\override\library\baselib\safestring.c1509C6305e231a62ad267f87bb81d220ac20f609bNewPotential mismatch between sizeof and countof quantities. Use sizeof() to scale byte sizes.: Lines: 1462, 1463, 1469, 1470, 1475, 1476, 1482, 1483, 1488, 1489, 1495, 1496, 1501, 1502, 1508, 1509
33EDK2\MdePkg\Override\Library\BaseLib\String.c1370C49961a1611ebf155b8a4ee50872fe6b97564New'AsciiStrCpy': was declared deprecated
34EDK2\MdePkg\Override\Library\BaseLib\String.c1429C49961a1611ebf155b8a4ee50872fe6b97564New'AsciiStrnCpy': was declared deprecated
35EDK2\MdePkg\Override\Library\BaseLib\String.c374C49961a1611ebf155b8a4ee50872fe6b97564New'StrCpy': was declared deprecated
36EDK2\MdePkg\Override\Library\BaseLib\String.c433C49961a1611ebf155b8a4ee50872fe6b97564New'StrnCpy': was declared deprecated
37edk2\mdepkg\override\library\uefidevicepathlib\devicepathfromtext.c3655C6011f018cc1e525bbd65dc5eec07038d5147NewDereferencing NULL pointer 'DeviceNode'. : Lines: 3624, 3625, 3626, 3627, 3628, 3629, 3630, 3632, 3636, 3638, 3640, 3642, 3643, 3644, 3646, 3647, 3648, 3649, 3651, 3652, 3654, 3655
38edk2\mdepkg\override\library\uefidevicepathlib\devicepathfromtext.c987C6011f018cc1e525bbd65dc5eec07038d5147NewDereferencing NULL pointer 'AcpiAdr'. : Lines: 959, 960, 961, 962, 964, 971, 972, 973, 976, 987, 971, 972, 973, 976, 977, 978, 984, 987
39edk2\mdepkg\override\library\uefidevicepathlib\devicepathtotext.c1803C6387a4e58c38da7d88989d2c4cf1d86aeb5aNew'UriStr' could be '0': this does not adhere to the specification for the function 'CopyMem'. : Lines: 1791, 1792, 1793, 1798, 1799, 1800, 1803
40edk2\mdepkg\override\library\uefidevicepathlib\devicepathtotext.c1804C6011a4e58c38da7d88989d2c4cf1d86aeb5aNewDereferencing NULL pointer 'UriStr'. See line 1803 for an earlier location where this can occur: Lines: 1791, 1792, 1793, 1798, 1799, 1800, 1803, 1804
41edk2\mdepkg\override\library\uefidevicepathlib\devicepathtotext.c51C6011a4e58c38da7d88989d2c4cf1d86aeb5aNewDereferencing NULL pointer 'Str->Str'. : Lines: 34, 35, 37, 38, 39, 41, 42, 43, 50, 51
42edk2\mdepkg\override\library\uefidevicepathlib\devicepathtotext.c975C6011a4e58c38da7d88989d2c4cf1d86aeb5aNewDereferencing NULL pointer 'NewStr'. : Lines: 960, 961, 962, 963, 965, 967, 968, 969, 973, 975
43edk2\securitypkg\library\tpm2devicelibdtpm\tpm2devicelibdtpm.c156C603169d6fee72e5eecff6026de56e0fb4513NewReturn value ignored: 'LibPcdSetEx8S'.
44edk2\securitypkg\library\tpm2devicelibdtpm\tpm2devicelibdtpm.c161C603169d6fee72e5eecff6026de56e0fb4513NewReturn value ignored: 'LibPcdSetEx8S'.
45insyde\insydemodulepkg\bus\usb\usbcoredxe\usbpciio.c178C62977d37aaba8c172e161a10b37f447b6454NewArithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value.
46insyde\insydemodulepkg\bus\usb\usbcoredxe\usbpciio.c237C62977d37aaba8c172e161a10b37f447b6454NewArithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value.
47insyde\insydemodulepkg\bus\usb\usbcoredxe\usbpciio.c302C62977d37aaba8c172e161a10b37f447b6454NewArithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value.
48insyde\insydemodulepkg\bus\usb\usbcoredxe\usbpciio.c376C62977d37aaba8c172e161a10b37f447b6454NewArithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value.
49insyde\insydemodulepkg\bus\usb\usbcoredxe\usbpciio.c456C62977d37aaba8c172e161a10b37f447b6454NewArithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value.
50insyde\insydemodulepkg\bus\usb\usbcoredxe\usbpciio.c525C62977d37aaba8c172e161a10b37f447b6454NewArithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value.
51insyde\insydemodulepkg\csm\legacybiosdxe\legacybootsupport.c1486C6297ade9e583249bbf29449e7ecc036bce8aNewArithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value.
52insyde\insydemodulepkg\csm\legacybiosdxe\legacybootsupport.c2133C6297ade9e583249bbf29449e7ecc036bce8aNewArithmetic overflow: 32-bit value is shifted, then cast to 64-bit value. Results might not be an expected value.
53insyde\insydemodulepkg\universal\security\hddpassword\hddpassworddialog.c1124C6011761c388a482f9593b1142d1d9c5fb4bdNewDereferencing NULL pointer 'HddDialogItemInfoStringPtr'. : Lines: 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1049, 1050, 1052, 1053, 1054, 1056, 1057, 1059, 1061, 1062, 1064, 1070, 1075, 1081, 1087, 1091, 1098, 1111, 1115, 1116, 1121, 1123, 1124