1# Changelog 2 3All notable changes to this project will be documented in this file. 4 5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 6and this project adheres to 7[Semantic Versioning](https://semver.org/spec/v2.0.0.html). 8 9Change categories: 10 11- Added 12- Changed 13- Deprecated 14- Removed 15- Fixed 16- Security 17 18## [Unreleased] 19 20### Added 21 221. oem: meta: Add decode_oem_meta_file_io_write_req() 232. oem: meta: Add decode_oem_meta_file_io_read_req() 243. oem: meta: Add encode_oem_meta_file_io_read_resp() 254. pdr: Add pldm_entity_association_pdr_remove_contained_entity() 265. pdr: Add pldm_pdr_remove_fru_record_set_by_rsi() 276. pldm_entity_association_tree_copy_root_check() 287. oem: ibm: Add topology related state set and enum 29 308. base: Add size and buffer macros for struct pldm_msg 31 32 Together these macros reduce the need for use of reinterpret_cast<>() in C++. 33 34### Changed 35 361. dsp: bios_table: Null check for pldm_bios_table_iter_is_end() 37 38 pldm_bios_table_iter_is_end() now returns true if the provided argument is 39 NULL. 40 412. Register assignment for parameters of a number of APIs changed with increased 42 scrutiny on their implementations. 43 44 - `decode_entity_auxiliary_names_pdr()` 45 - `decode_get_state_sensor_readings_resp()` 46 - `decode_platform_event_message_req()` 47 - `decode_platform_event_message_resp()` 48 - `decode_sensor_op_data()` 49 - `encode_get_state_effecter_states_resp()` 50 - `pldm_pdr_find_record()` 51 - `pldm_pdr_get_next_record()` 52 533. platform: Support PLDM_CPER_EVENT in encode_platform_event_message_req() 54 55### Deprecated 56 571. oem: meta: Deprecate `decode_oem_meta_file_io_req()` 58 59 Users should switch to `decode_oem_meta_file_io_write_req()`. Modify this 60 function to make it safer. 61 62 Modification: 63 64 - The meaning of the returned result. 65 - Change parameters from individual pointers to a struct. 66 - Check the length provided in the message won't exceed the buffer. 67 682. pldm_entity_association_tree_copy_root() 69 70 The implementation allocates, but gives no indication to the caller if an 71 allocation (and hence the copy) has failed. Users should migrate to 72 pldm_entity_association_tree_copy_root_check(). 73 74### Removed 75 761. Deprecated functions with the `_check` suffix 77 78 - `get_fru_record_by_option_check()` 79 - `pldm_bios_table_append_pad_checksum_check()` 80 - `pldm_bios_table_attr_entry_enum_decode_def_num_check()` 81 - `pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()` 82 - `pldm_bios_table_attr_entry_enum_decode_pv_num_check()` 83 - `pldm_bios_table_attr_entry_enum_encode_check()` 84 - `pldm_bios_table_attr_entry_integer_encode_check()` 85 - `pldm_bios_table_attr_entry_string_decode_def_string_length_check()` 86 - `pldm_bios_table_attr_entry_string_encode_check()` 87 - `pldm_bios_table_attr_value_entry_encode_enum_check()` 88 - `pldm_bios_table_attr_value_entry_encode_integer_check()` 89 - `pldm_bios_table_attr_value_entry_encode_string_check()` 90 - `pldm_bios_table_string_entry_decode_string_check()` 91 - `pldm_bios_table_string_entry_encode_check()` 92 - `pldm_entity_association_pdr_add_check()` 93 - `pldm_entity_association_pdr_add_from_node_check()` 94 - `pldm_pdr_add_check()` 95 - `pldm_pdr_add_fru_record_set_check()` 96 97### Fixed 98 991. dsp: bios_table: Null check for pldm_bios_table_iter_is_end() 100 101 Avoid a caller-controlled NULL pointer dereference in the library 102 implementation. 103 1042. platform: fix encode/decode_poll_for_platform_event_message_req 105 106 Update checking of `TransferOperationFlag` and `eventIDToAcknowledge` to 107 follow spec. 108 1093. platform: Fix checking `eventIDToAcknowledge` 110 111 As the event receiver sends `PollForPlatformEventMessage` with the 112 `tranferFlag` is `AcknowledgementOnly`, the value `eventIDToAcknowledge` 113 should be the previously retrieved eventID (from the PLDM terminus). 114 1154. dsp: platform: Prevent overflow of arithmetic on event_data_length 116 117## [0.9.1] - 2024-09-07 118 119### Changed 120 1211. Moved evolutions intended for v0.9.0 into place 122 123 Evolutions for the release have been moved from `evolutions/current` to 124 `evolutions/v0.9.1`. Library users can apply them to migrate off of 125 deprecated APIs. 126 127## [0.9.0] - 2024-09-07 128 129### Added 130 1311. base: Define macros for reserved TIDs 1322. pdr: Add pldm_entity_association_pdr_add_contained_entity_to_remote_pdr() 1333. pdr: Add pldm_entity_association_pdr_create_new() 1344. platform: Define macros for the responded transferflags 1355. pdr: Add pldm_pdr_get_terminus_handle() API 1366. pdr: Add related decode_entity_auxiliary_names_pdr() APIs 1377. fw_update: Add encode req & decode resp for get_downstream_fw_params 1388. platform: Add decode_pldm_platform_cper_event() API 1399. decode_get_pdr_repository_info_resp_safe() 140 141 Replaces decode_get_pdr_repository_info_resp() as discussed in the 142 `Deprecated` section below 143 14410. decode_get_pdr_resp_safe() 145 146 Replaces decode_get_pdr_resp() as discussed in the `Deprecated` section 147 below 148 149### Changed 150 1511. pdr: Stabilise related decode_entity_auxiliary_names_pdr() APIs 1522. platform: Rework decode/encode_pldm_message_poll_event_data() APIs 1533. platform: Stabilise decode_pldm_message_poll_event_data() APIs 1544. ABI break for decode_sensor_op_data() 155 156 Applying LIBPLDM_CC_NONNULL to the internal msgbuf APIs caused 157 abi-compliance-checker to flag a change in the register containing the 158 parameter `previous_op_state`. 159 1605. platform: Stabilise decode_pldm_platform_cper_event() API 1616. oem: meta: Stabilise decode_oem_meta_file_io_write_req() API 1627. oem: meta: Stabilise decode_oem_meta_file_io_read_req() API 1638. oem: meta: Stabilise encode_oem_meta_file_io_read_resp() API 164 165### Deprecated 166 1671. Rename and deprecate functions with the `_check` suffix 168 169 All library function return values always need to be checked. The `_check` 170 suffix is redundant, so remove it. Migration to the non-deprecated 171 equivalents without the `_check` suffix can be performed using 172 `scripts/ apply-renames` and the [clang-rename][] configurations under 173 `evolutions/` 174 175 The deprecated functions: 176 177 - `get_fru_record_by_option_check()` 178 - `pldm_bios_table_append_pad_checksum_check()` 179 - `pldm_bios_table_attr_entry_enum_decode_def_num_check()` 180 - `pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()` 181 - `pldm_bios_table_attr_entry_enum_decode_pv_num_check()` 182 - `pldm_bios_table_attr_entry_enum_encode_check()` 183 - `pldm_bios_table_attr_entry_integer_encode_check()` 184 - `pldm_bios_table_attr_entry_string_decode_def_string_length_check()` 185 - `pldm_bios_table_attr_entry_string_encode_check()` 186 - `pldm_bios_table_attr_value_entry_encode_enum_check()` 187 - `pldm_bios_table_attr_value_entry_encode_integer_check()` 188 - `pldm_bios_table_attr_value_entry_encode_string_check()` 189 - `pldm_bios_table_string_entry_decode_string_check()` 190 - `pldm_bios_table_string_entry_encode_check()` 191 - `pldm_entity_association_pdr_add_check()` 192 - `pldm_entity_association_pdr_add_from_node_check()` 193 - `pldm_pdr_add_check()` 194 - `pldm_pdr_add_fru_record_set_check()` 195 196[clang-rename]: https://clang.llvm.org/extra/clang-rename.html 197 1982. `decode_get_pdr_repository_info_resp()` 199 200 Users should move to `decode_get_pdr_repository_info_resp_safe()` which 201 eliminates the opportunity for buffer overruns when extracting objects from 202 the message. 203 2043. `decode_get_pdr_resp()` 205 206 Users should move to `decode_get_pdr_resp_safe()` which reduces the 207 invocation tedium and improves memory safety over `decode_get_pdr_resp()`. 208 209### Removed 210 2111. IBM OEM header compatibility symlinks. 212 213 Anyone left using the deprecated paths can migrate using the coccinelle patch 214 at `evolutions/current/oem-ibm-header-compat.cocci`. 215 216### Fixed 217 2181. requester: instance-id: Release read lock on conflict 2192. pdr: Error propagation for 220 pldm_entity_association_pdr_add_from_node_with_record_handle() 221 222## [0.8.0] - 2024-05-23 223 224### Added 225 2261. base: Provide pldm_msg_hdr_correlate_response() 2272. transport: af-mctp: Add pldm_transport_af_mctp_bind() 2283. oem: ibm: Add chapdata file type support 2294. base: Added PLDM_SMBIOS & PLDM_RDE message types 2305. oem: meta: Add decode_oem_meta_file_io_req() 2316. state-set: Add all state set values to system power state enum as per DSP0249 2327. platform: Add alias members to the enum 233 pldm_pdr_repository_chg_event_change_record_event_data_operation. 234 235 enum constants with inconsistent names are deprecated with this change. 236 remove old inconsistent enum members after backward compatibility cleanup is 237 done 238 2398. oem-ibm: Alias `pldm_oem_ibm_fru_field_type` members as `PLDM_OEM_IBM_*` 2409. oem: ibm: Add Firmware Update Access Key(UAK) as a FRU field type 24110. platform: Add 3 PDR type enum for Redfish Device Enablement per 242 DSP0248_1.2.0 24311. state_set: Add CONNECTED and DISCONNECTED enum for Link State set 24412. entity: Add enum for Network Interface Connectors and Network Ports 245 Connection Types 24613. pdr: Add decode_numeric_effecter_pdr_data() 24714. oem: ibm: Support for the Real SAI entity id 24815. fw_update: Add encode req & decode resp for query_downstream_devices 24916. fw_update: Add encode req & decode resp for query_downstream_identifiers 25017. platform: Add support for GetStateEffecterStates command 251 252### Changed 253 2541. base: Stabilise pldm_msg_hdr_correlate_response() 2552. transport: af-mctp: Stabilise pldm_transport_af_mctp_bind() 2563. libpldm: Fix header use 2574. libpldm: More fixes for header use 2585. pdr: Stabilise pldm_pdr_find_last_in_range() API 2596. pdr: Stabilise pldm_entity_association_pdr_add_from_node_with_record_handle() 2607. oem: meta: stabilise decode_oem_meta_file_io_req() 2618. pdr: pldm_entity_association_tree_copy_root(): Document preconditions 262 263### Deprecated 264 2651. Deprecate `pldm_oem_ibm_fru_field_type` members that that are not prefixed 266 with `PLDM_OEM_IBM_` 267 268### Fixed 269 2701. libpldm: Rationalise the local and installed path of pldm.h 2712. pdr: Assign record_handle in entity_association_pdr_add_children() 2723. msgbuf: Require sensor data enum in pldm_msgbuf_extract_sensor_value() 2734. pdr: Remove redundant constant for minimum numeric sensor PDR length 2745. tests: oem: meta: Fix fileio use of msgbuf 275 276## [0.7.0] - 2023-08-29 277 278### Added 279 2801. state-set: Add new enum for Operational Fault Status enum 281 282### Changed 283 2841. transport: Match specified metadata in pldm_transport_send_recv_msg() 2852. transport: mctp-demux: Drop ABI annotation for internal symbols 2863. transport: Stabilise core transport and implementation APIs 287 288 This stabilisation covers the following headers and functions: 289 290 - libpldm/transport.h 291 292 - pldm_transport_poll() 293 - pldm_transport_send_msg() 294 - pldm_transport_recv_msg() 295 - pldm_transport_send_recv_msg() 296 297 - libpldm/transport/af-mctp.h 298 299 - pldm_transport_af_mctp_init() 300 - pldm_transport_af_mctp_destroy() 301 - pldm_transport_af_mctp_core() 302 - pldm_transport_af_mctp_init_pollfd() 303 - pldm_transport_af_mctp_map_tid() 304 - pldm_transport_af_mctp_unmap_tid() 305 306 - libpldm/transport/mctp-demux.h 307 - pldm_transport_mctp_demux_init() 308 - pldm_transport_mctp_demux_destroy() 309 - pldm_transport_mctp_demux_core() 310 - pldm_transport_mctp_demux_init_pollfd() 311 - pldm_transport_mctp_demux_map_tid() 312 - pldm_transport_mctp_demux_unmap_tid() 313 314### Deprecated 315 3161. All the existing "requester" APIs from `libpldm/pldm.h` (also known as 317 `libpldm/requester/pldm.h`): 318 319 - pldm_open() 320 - pldm_send_recv() 321 - pldm_send() 322 - pldm_recv() 323 - pldm_recv_any() 324 - pldm_close() 325 326 Users should migrate to the newer "transport" APIs instead. 327 328## Fixed 329 3301. tests: Exclude transport tests when build excludes testing ABIs 3312. abi: Capture deprecation of pldm_close() 332 333## [0.6.0] - 2023-08-22 334 335### Changed 336 3371. pdr: Avoid ID overflow in pldm_entity_association_tree_add_entity() 3382. meson: Apply `b_ndebug=if-release` by default 3393. pdr : Stabilize pldm_entity_association_tree_add_entity() 3404. pdr: Stabilise pldm_entity_association_tree_find_with_locality() 3415. pdr: Stabilize pldm_entity_node_get_remote_container_id() 3426. transport: af-mctp: Assign out-params on success in \*\_recv() 3437. transport: Generalise the pldm_transport_recv_msg() API 344 345### Removed 346 3471. pdr: Remove pldm_entity_association_pdr_add() 3482. state-set: Remove enum pldm_state_set_operational_fault_status_values 349 350### Fixed 351 3521. transport: register init_pollfd callback for af-mctp 3532. transport: fix init_pollfd function parameter 3543. transport: Fix doxygen and variables for send and recv functions 3554. transport: af-mctp: Ensure malloc() succeeds in \*\_recv() 356 357## [0.5.0] - 2023-08-09 358 359### Added 360 3611. pdr: Introduce pldm_entity_association_pdr_add_check() 362 363### Changed 364 3651. pdr: Allow record_handle to be NULL for pldm_pdr_add_check() 3662. transport: pldm_transport_poll(): Adjust return value semantics 3673. transport: free un-wanted responses in pldm_transport_send_recv_msg() 368 369### Deprecated 370 3711. state-set: Enum pldm_state_set_operational_fault_status_values 372 373 The enum operational_fault_status is defined with wrong members and will 374 eventually be replaced with the correct members. Any uses of 375 pldm_state_set_operational_fault_status_values members should move to 376 equivalent pldm_state_set_operational_stress_status_values members if needed. 377 3782. platform: Struct field name in fru_record_set PDR 379 380 References to entity_instance_num should be changed to entity_instance 381 3823. platform: Struct field name in numeric sensor value PDR 383 384 References to entity_instance_num should be changed to entity_instance 385 386### Removed 387 3881. bios_table: Remove pldm_bios_table_attr_entry_integer_encode_length() 3892. bios_table: Remove pldm_bios_table_attr_value_entry_encode_enum() 3903. bios_table: Remove pldm_bios_table_attr_value_entry_encode_string() 3914. bios_table: Remove pldm_bios_table_attr_value_entry_encode_integer() 3925. bios_table: Remove pldm_bios_table_append_pad_checksum() 3936. fru: Remove get_fru_record_by_option() 3947. pdr: Make is_present() static 3958. pdr: Remove pldm_pdr_add() 3969. pdr: Remove pldm_pdr_add_fru_record_set() 39710. pdr: Remove pldm_entity_association_pdr_add_from_node() 39811. pdr: Make find_entity_ref_in_tree() static 39912. pdr: Make entity_association_tree_find() static 400 401### Fixed 402 4031. requester: Fix response buffer cast in pldm_send_recv() 4042. pdr: Hoist record handle overflow test to avoid memory leak 4053. transport: Correct comparison in while loop condition 406 407## [0.4.0] - 2023-07-14 408 409### Added 410 4111. bios_table: Introduce pldm_bios_table_append_pad_checksum_check() 4122. fru: Introduce get_fru_record_by_option_check() 4133. pdr: Introduce pldm_entity_association_pdr_add_from_node_check() 4144. pdr: Introduce pldm_pdr_add_check() 4155. pdr: Introduce pldm_pdr_add_fru_record_set_check() 416 417### Changed 418 4191. requester: Mark pldm_close() as LIBPLDM_ABI_TESTING 4202. requester: Expose pldm_close() in header 4213. bios_table: pldm_bios_table_string_entry_encode_check(): Handle overflow 4224. bios_table: pldm_bios_table_iter_create(): Return NULL on failed alloc 4235. bios_table: pldm_bios_table_iter_next(): Invalid entry halts iteration 4246. pdr: pldm_pdr_init(): Return NULL on allocation failure 4257. pdr: pldm_pdr_destroy(): Exit early if repo is NULL 4268. pdr: Document preconditions for trivial accessor functions 427 428 A trivial accessor function is one that exposes properties of an object in a 429 way can't result in an error, beyond passing an invalid argument to the 430 function. For APIs meeting this definition we define a precondition that 431 struct pointers must point to valid objects to avoid polluting the function 432 prototypes. The following APIs now have this precondition explicitly defined: 433 434 - pldm_entity_extract() 435 - pldm_entity_get_parent() 436 - pldm_entity_is_exist_parent() 437 - pldm_entity_is_node_parent() 438 - pldm_is_current_parent_child 439 - pldm_is_empty_entity_assoc_tree() 440 - pldm_pdr_get_record_count() 441 - pldm_pdr_get_record_handle() 442 - pldm_pdr_get_repo_size() 443 - pldm_pdr_record_is_remote() 444 4459. pdr: pldm_entity_node_get_remote_container_id() is a trivial accessor 44610. pdr: pldm_pdr_fru_record_set_find_by_rsi(): Exit early on NULL arguments 44711. pdr: pldm_entity_association_tree_init(): Return NULL on failed alloc 44812. pdr: pldm_entity_association_tree_visit(): Document preconditions 44913. pdr: pldm_entity_association_tree_visit(): Exit early on failure 45014. pdr: pldm_entity_association_tree_destroy(): Exit early on bad argument 45115. pdr: pldm_entity_get_num_children(): Return zero for invalid arguments 45216. pdr: pldm_is_current_parent_child(): Return false for invalid arguments 45317. pdr: pldm_entity_association_pdr_add(): Exit early on bad arguments 45418. pdr: pldm_find_entity_ref_in_tree(): Exit early on bad arguments 45519. pdr: pldm_entity_association_tree_find(): Early exit on bad arguments 45620. pdr: pldm_entity_association_tree_destroy_root(): Exit early on bad arg 45721. pdr: pldm_entity_association_pdr_extract(): Early exit on bad arguments 45822. pdr: pldm_entity_association_pdr_extract(): Assign out params at exit 45923. pdr: pldm_entity_get_num_children(): Don't return invalid values 46024. libpldm: Lift or remove asserts where a subsequent check exists 461 462### Deprecated 463 4641. pldm_bios_table_attr_entry_integer_encode() 465 466 Migrate to pldm_bios_table_attr_entry_integer_encode_check() 467 4682. bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_enum() 469 470 Migrate to pldm_bios_table_attr_value_entry_encode_enum_check() 471 4723. bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_string() 473 474 Migrate to pldm_bios_table_attr_value_entry_encode_string_check() 475 4764. bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_integer() 477 478 Migrate to pldm_bios_table_attr_value_entry_encode_integer_check() 479 4805. pdr: Deprecate is_present() 481 482 There should be no users of this symbol. If you are a user, you should figure 483 out how to stop, or get in touch. This symbol will be marked static the 484 release after deprecation. 485 4866. pdr: Deprecate find_entity_ref_in_tree() 487 488 There should be no users of this symbol. If you are a user, you should figure 489 out how to stop, or get in touch. This symbol will be marked static the 490 release after deprecation. 491 4927. pdr: Deprecate entity_association_tree_find() 493 494 There should be no users of this symbol. If you are a user, you should figure 495 out how to stop, or get in touch. This symbol will be marked static the 496 release after deprecation. 497 4988. bios_table: Stabilise pldm_bios_table_append_pad_checksum_check() 499 500 pldm_bios_table_append_pad_checksum() is deprecated by this change. Users of 501 pldm_bios_table_append_pad_checksum() should migrate to 502 pldm_bios_table_append_pad_checksum_check() 503 5049. fru: Stabilise get_fru_record_by_option_check() 505 506 get_fru_record_by_option() is deprecated by this change. Users of 507 get_fru_record_by_option() should migrate to get_fru_record_by_option_check() 508 50910. pdr: Stabilise pldm_entity_association_pdr_add_from_node_check() 510 511 pldm_entity_association_pdr_add_from_node() is deprecated by this change. 512 Users of pldm_entity_association_pdr_add_from_node() should migrate to 513 pldm_entity_association_pdr_add_from_node_check() 514 51511. pdr: Stabilise pldm_pdr_add_check() 516 517 pldm_pdr_add() is deprecated by this change. Users of pldm_pdr_add() should 518 migrate to pldm_pdr_add_check() 519 52012. pdr: Stabilise pldm_pdr_add_fru_record_set_check() 521 522 pldm_pdr_add_fru_record_set() is deprecated by this change. Users of 523 pldm_pdr_add_fru_record_set() should migrate to 524 pldm_pdr_add_fru_record_set_check() 525 526### Removed 527 5281. bios_table: Remove deprecated APIs sanitized by assert(): 529 530 - pldm_bios_table_string_entry_encode() 531 - pldm_bios_table_string_entry_decode_string() 532 - pldm_bios_table_attr_entry_enum_encode() 533 - pldm_bios_table_attr_entry_enum_decode_pv_num() 534 - pldm_bios_table_attr_entry_enum_decode_def_num() 535 - pldm_bios_table_attr_entry_enum_decode_pv_hdls() 536 - pldm_bios_table_attr_entry_string_encode() 537 - pldm_bios_table_attr_entry_string_decode_def_string_length() 538 539### Fixed 540 5411. pdr: Return success for pldm_pdr_find_child_container_id_range_exclude() API 5422. pdr: Rework pldm_pdr_find_container_id_range_exclude() API 5433. transport: mctp-demux: Don't test socket for non-zero value 5444. requester: Return PLDM_REQUESTER_OPEN_FAIL from pldm_open() on error 5455. pdr: pldm_pdr_fru_record_set_find_by_rsi(): Document reality of return 5466. transport: Fix possible NULL ptr deref in pldm_socket_sndbuf_init() 5477. abi: Update to remove pldm_close() from reference dumps 5488. bios_table: Annotate pldm_bios_table_attr_value_entry_encode_integer() 549 550## [0.3.0] - 2023-06-23 551 552### Added 553 5541. Add encode/decode pldmMessagePollEvent data 5552. README: Add a section on working with libpldm 5563. pdr: Introduce remote_container_id and associated APIs 5574. pdr: Add APIs for creating and locating remote PDRs 5585. pdr: Add pldm_pdr_find_last_in_range() 5596. pdr: Add pldm_entity_association_pdr_add_from_node_with_record_handle() 5607. pdr: Add pldm_pdr_find_container_id_range_exclude() 561 562### Changed 563 5641. include: Move installed transport.h under libpldm/ 5652. libpldm: Explicit deprecated, stable and testing ABI classes 5663. meson: Reduce strength of oem-ibm requirements from enabled to allowed 567 568 The `oem-ibm` feature is now enabled by the default meson configuration, for 569 CI purposes. `oem-ibm` is still disabled by default in the `libpldm` bitbake 570 recipe: 571 572 <https://github.com/openbmc/openbmc/blob/master/meta-phosphor/recipes-phosphor/libpldm/libpldm_git.bb#L10> 573 574 To disable `oem-ibm` in your development builds, pass `-Doem-ibm=disabled` 575 when invoking `meson setup` 576 5774. bios_table: Relax pldm_bios_table_string_entry_decode_string_check() 5785. bios_table: Relax pldm_bios_table_attr_entry_enum_decode_pv_hdls_check() 579 580### Deprecated 581 5821. bios_table: Deprecate APIs with arguments sanitized using assert() 583 584 C provides enough foot-guns without us encoding them into library APIs. 585 Specifically, deprecate the following in favour of their `*_check()` variants 586 which ensure assertions won't fail or otherwise invoke UB: 587 588 - pldm_bios_table_string_entry_encode() 589 - pldm_bios_table_string_entry_decode_string() 590 - pldm_bios_table_attr_entry_enum_encode() 591 - pldm_bios_table_attr_entry_enum_decode_pv_num() 592 - pldm_bios_table_attr_entry_enum_decode_def_num() 593 - pldm_bios_table_attr_entry_enum_decode_pv_hdls() 594 - pldm_bios_table_attr_entry_string_encode() 595 - pldm_bios_table_attr_entry_string_decode_def_string_length() 596 597### Removed 598 5991. libpldm: Remove the requester-api option 600 601### Fixed 602 6031. requester: Make pldm_open() return existing fd 6042. transport: Prevent sticking in waiting for response 6053. transport: Match on response in pldm_transport_send_recv_msg() 6064. requester: Add check before accessing hdr in pldm_recv() 6075. bios_table: pldm_bios_table_attr_entry_string_info_check() NULL deref 608