-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Merging safe_free updates made internally
Merging in updates to how safe_free is used and adding in use of wrapper functions to allow for type enforcement from the compiler. Initial conversion to safe_Free with C_CAST(void**) was found to introduce memory leaks in some cases where it converted a struct *** to void**, so this solution fixes those issues and means less casting in the code, but more wrapper functions to allow this to be used safely. Signed-off-by: Tyler Erickson <tyler.erickson@seagate.com>
- Loading branch information
1 parent
7fa2e00
commit f912283
Showing
23 changed files
with
81 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule opensea-common
updated
25 files
+40 −16 | Make/VS.2019/opensea-common/opensea-common/opensea-common.vcxproj | |
+45 −83 | Make/VS.2022/opensea-common/opensea-common/opensea-common.vcxproj | |
+100 −10 | Make/VS.2022/opensea-common/opensea-common/opensea-common.vcxproj.filters | |
+87 −57 | Make/vmware/Makefile | |
+6 −6 | include/bit_manip.h | |
+2 −0 | include/code_attributes.h | |
+1 −0 | include/io_utils.h | |
+271 −1 | include/memory_safety.h | |
+7 −0 | include/precision_timer.h | |
+1 −1 | include/predef_env_detect.h | |
+1 −1 | include/type_conversion.h | |
+1 −1 | src/error_translation.c | |
+45 −43 | src/io_utils.c | |
+0 −5 | src/memory_safety.c | |
+2 −2 | src/pattern_utils.c | |
+14 −14 | src/posix_env_detect.c | |
+18 −18 | src/posix_secure_file.c | |
+34 −34 | src/secure_file.c | |
+1 −1 | src/secured_env_vars.c | |
+3 −3 | src/string_utils.c | |
+1 −1 | src/time_utils.c | |
+4 −4 | src/validate_format.c | |
+3 −3 | src/windows_env_detect.c | |
+33 −23 | src/windows_secure_file.c | |
+2 −2 | src/windows_version_detect.c |
Submodule opensea-operations
updated
35 files
+68 −53 | Make/vmware/Makefile | |
+10 −0 | include/defect.h | |
+5 −0 | include/depopulate.h | |
+5 −0 | include/drive_info.h | |
+5 −0 | include/format.h | |
+19 −1 | include/partition_info.h | |
+6 −0 | include/power_control.h | |
+18 −0 | include/reservations.h | |
+5 −0 | include/sector_repair.h | |
+5 −0 | include/set_max_lba.h | |
+8 −0 | include/zoned_operations.h | |
+4 −4 | src/ata_Security.c | |
+6 −6 | src/buffer_test.c | |
+10 −10 | src/defect.c | |
+4 −4 | src/depopulate.c | |
+3 −3 | src/device_statistics.c | |
+54 −54 | src/drive_info.c | |
+5 −5 | src/dst.c | |
+29 −29 | src/farm_log.c | |
+5 −5 | src/firmware_download.c | |
+8 −8 | src/format.c | |
+50 −50 | src/generic_tests.c | |
+4 −4 | src/host_erase.c | |
+94 −94 | src/logs.c | |
+21 −21 | src/operations.c | |
+10 −7 | src/partition_info.c | |
+31 −31 | src/power_control.c | |
+11 −11 | src/reservations.c | |
+14 −14 | src/seagate_operations.c | |
+2 −2 | src/sector_repair.c | |
+6 −6 | src/set_max_lba.c | |
+14 −14 | src/smart.c | |
+6 −6 | src/trim_unmap.c | |
+7 −7 | src/writesame.c | |
+2 −2 | src/zoned_operations.c |
Submodule opensea-transport
updated
36 files
+68 −53 | Make/vmware/Makefile | |
+13 −0 | include/common_public.h | |
+7 −0 | include/scsi_helper.h | |
+2 −49 | include/vm_nvme_lib.h | |
+5 −5 | include/vm_nvme_mgmt.h | |
+8 −8 | src/aix_helper.c | |
+4 −4 | src/asmedia_nvme_helper.c | |
+28 −20 | src/ata_helper.c | |
+4 −2 | src/ata_legacy_cmds.c | |
+32 −20 | src/cam_helper.c | |
+7 −7 | src/ciss_helper.c | |
+5 −5 | src/cmds.c | |
+24 −21 | src/common_public.c | |
+28 −21 | src/csmi_helper.c | |
+1 −1 | src/csmi_legacy_pt_cdb_helper.c | |
+1 −1 | src/cypress_legacy_helper.c | |
+33 −8 | src/intel_rst_helper.c | |
+1 −1 | src/nec_legacy_helper.c | |
+1 −5 | src/nvme_cmds.c | |
+1 −1 | src/nvme_helper.c | |
+4 −4 | src/of_nvme_helper.c | |
+1 −1 | src/prolific_legacy_helper.c | |
+1 −1 | src/psp_legacy_helper.c | |
+9 −4 | src/raid_scan_helper.c | |
+238 −148 | src/sat_helper.c | |
+8 −5 | src/scsi_cmds.c | |
+67 −49 | src/scsi_helper.c | |
+63 −61 | src/sg_helper.c | |
+41 −27 | src/sntl_helper.c | |
+1 −1 | src/ti_legacy_helper.c | |
+40 −35 | src/uefi_helper.c | |
+14 −8 | src/uscsi_helper.c | |
+301 −926 | src/vm_helper.c | |
+423 −317 | src/vm_nvme_lib.c | |
+6 −23 | src/vm_nvme_mgmt_common.c | |
+143 −76 | src/win_helper.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.