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 - `encode_state_effecter_pdr()` 51 - `encode_state_sensor_pdr()` 52 - `pldm_bios_table_append_pad_checksum()` 53 - `pldm_bios_table_attr_value_entry_encode_enum()` 54 - `pldm_bios_table_attr_value_entry_encode_string()` 55 - `pldm_pdr_find_record()` 56 - `pldm_pdr_get_next_record()` 57 583. platform: Support PLDM_CPER_EVENT in encode_platform_event_message_req() 59 60### Deprecated 61 621. oem: meta: Deprecate `decode_oem_meta_file_io_req()` 63 64 Users should switch to `decode_oem_meta_file_io_write_req()`. Modify this 65 function to make it safer. 66 67 Modification: 68 69 - The meaning of the returned result. 70 - Change parameters from individual pointers to a struct. 71 - Check the length provided in the message won't exceed the buffer. 72 732. pldm_entity_association_tree_copy_root() 74 75 The implementation allocates, but gives no indication to the caller if an 76 allocation (and hence the copy) has failed. Users should migrate to 77 pldm_entity_association_tree_copy_root_check(). 78 79### Removed 80 811. Deprecated functions with the `_check` suffix 82 83 - `get_fru_record_by_option_check()` 84 - `pldm_bios_table_append_pad_checksum_check()` 85 - `pldm_bios_table_attr_entry_enum_decode_def_num_check()` 86 - `pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()` 87 - `pldm_bios_table_attr_entry_enum_decode_pv_num_check()` 88 - `pldm_bios_table_attr_entry_enum_encode_check()` 89 - `pldm_bios_table_attr_entry_integer_encode_check()` 90 - `pldm_bios_table_attr_entry_string_decode_def_string_length_check()` 91 - `pldm_bios_table_attr_entry_string_encode_check()` 92 - `pldm_bios_table_attr_value_entry_encode_enum_check()` 93 - `pldm_bios_table_attr_value_entry_encode_integer_check()` 94 - `pldm_bios_table_attr_value_entry_encode_string_check()` 95 - `pldm_bios_table_string_entry_decode_string_check()` 96 - `pldm_bios_table_string_entry_encode_check()` 97 - `pldm_entity_association_pdr_add_check()` 98 - `pldm_entity_association_pdr_add_from_node_check()` 99 - `pldm_pdr_add_check()` 100 - `pldm_pdr_add_fru_record_set_check()` 101 102### Fixed 103 1041. dsp: bios_table: Null check for pldm_bios_table_iter_is_end() 105 106 Avoid a caller-controlled NULL pointer dereference in the library 107 implementation. 108 1092. platform: fix encode/decode_poll_for_platform_event_message_req 110 111 Update checking of `TransferOperationFlag` and `eventIDToAcknowledge` to 112 follow spec. 113 1143. platform: Fix checking `eventIDToAcknowledge` 115 116 As the event receiver sends `PollForPlatformEventMessage` with the 117 `tranferFlag` is `AcknowledgementOnly`, the value `eventIDToAcknowledge` 118 should be the previously retrieved eventID (from the PLDM terminus). 119 1204. dsp: platform: Prevent overflow of arithmetic on event_data_length 1215. dsp: platform: Bounds check encode_sensor_state_pdr() 1226. dsp: platform: Bounds check encode_state_effecter_pdr() 1237. dsp: pdr: Bounds check pldm_entity_association_pdr_extract() 1248. dsp: bios_table: Bounds check pldm_bios_table_append_pad_checksum() 1259. dsp: bios_table: Bounds check 126 pldm_bios_table_attr_value_entry_encode_string() 12710. dsp: bios_table: Bounds check pldm_bios_table_attr_value_entry_encode_enum() 128 129## [0.9.1] - 2024-09-07 130 131### Changed 132 1331. Moved evolutions intended for v0.9.0 into place 134 135 Evolutions for the release have been moved from `evolutions/current` to 136 `evolutions/v0.9.1`. Library users can apply them to migrate off of 137 deprecated APIs. 138 139## [0.9.0] - 2024-09-07 140 141### Added 142 1431. base: Define macros for reserved TIDs 1442. pdr: Add pldm_entity_association_pdr_add_contained_entity_to_remote_pdr() 1453. pdr: Add pldm_entity_association_pdr_create_new() 1464. platform: Define macros for the responded transferflags 1475. pdr: Add pldm_pdr_get_terminus_handle() API 1486. pdr: Add related decode_entity_auxiliary_names_pdr() APIs 1497. fw_update: Add encode req & decode resp for get_downstream_fw_params 1508. platform: Add decode_pldm_platform_cper_event() API 1519. decode_get_pdr_repository_info_resp_safe() 152 153 Replaces decode_get_pdr_repository_info_resp() as discussed in the 154 `Deprecated` section below 155 15610. decode_get_pdr_resp_safe() 157 158 Replaces decode_get_pdr_resp() as discussed in the `Deprecated` section 159 below 160 161### Changed 162 1631. pdr: Stabilise related decode_entity_auxiliary_names_pdr() APIs 1642. platform: Rework decode/encode_pldm_message_poll_event_data() APIs 1653. platform: Stabilise decode_pldm_message_poll_event_data() APIs 1664. ABI break for decode_sensor_op_data() 167 168 Applying LIBPLDM_CC_NONNULL to the internal msgbuf APIs caused 169 abi-compliance-checker to flag a change in the register containing the 170 parameter `previous_op_state`. 171 1725. platform: Stabilise decode_pldm_platform_cper_event() API 1736. oem: meta: Stabilise decode_oem_meta_file_io_write_req() API 1747. oem: meta: Stabilise decode_oem_meta_file_io_read_req() API 1758. oem: meta: Stabilise encode_oem_meta_file_io_read_resp() API 176 177### Deprecated 178 1791. Rename and deprecate functions with the `_check` suffix 180 181 All library function return values always need to be checked. The `_check` 182 suffix is redundant, so remove it. Migration to the non-deprecated 183 equivalents without the `_check` suffix can be performed using 184 `scripts/ apply-renames` and the [clang-rename][] configurations under 185 `evolutions/` 186 187 The deprecated functions: 188 189 - `get_fru_record_by_option_check()` 190 - `pldm_bios_table_append_pad_checksum_check()` 191 - `pldm_bios_table_attr_entry_enum_decode_def_num_check()` 192 - `pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()` 193 - `pldm_bios_table_attr_entry_enum_decode_pv_num_check()` 194 - `pldm_bios_table_attr_entry_enum_encode_check()` 195 - `pldm_bios_table_attr_entry_integer_encode_check()` 196 - `pldm_bios_table_attr_entry_string_decode_def_string_length_check()` 197 - `pldm_bios_table_attr_entry_string_encode_check()` 198 - `pldm_bios_table_attr_value_entry_encode_enum_check()` 199 - `pldm_bios_table_attr_value_entry_encode_integer_check()` 200 - `pldm_bios_table_attr_value_entry_encode_string_check()` 201 - `pldm_bios_table_string_entry_decode_string_check()` 202 - `pldm_bios_table_string_entry_encode_check()` 203 - `pldm_entity_association_pdr_add_check()` 204 - `pldm_entity_association_pdr_add_from_node_check()` 205 - `pldm_pdr_add_check()` 206 - `pldm_pdr_add_fru_record_set_check()` 207 208[clang-rename]: https://clang.llvm.org/extra/clang-rename.html 209 2102. `decode_get_pdr_repository_info_resp()` 211 212 Users should move to `decode_get_pdr_repository_info_resp_safe()` which 213 eliminates the opportunity for buffer overruns when extracting objects from 214 the message. 215 2163. `decode_get_pdr_resp()` 217 218 Users should move to `decode_get_pdr_resp_safe()` which reduces the 219 invocation tedium and improves memory safety over `decode_get_pdr_resp()`. 220 221### Removed 222 2231. IBM OEM header compatibility symlinks. 224 225 Anyone left using the deprecated paths can migrate using the coccinelle patch 226 at `evolutions/current/oem-ibm-header-compat.cocci`. 227 228### Fixed 229 2301. requester: instance-id: Release read lock on conflict 2312. pdr: Error propagation for 232 pldm_entity_association_pdr_add_from_node_with_record_handle() 233 234## [0.8.0] - 2024-05-23 235 236### Added 237 2381. base: Provide pldm_msg_hdr_correlate_response() 2392. transport: af-mctp: Add pldm_transport_af_mctp_bind() 2403. oem: ibm: Add chapdata file type support 2414. base: Added PLDM_SMBIOS & PLDM_RDE message types 2425. oem: meta: Add decode_oem_meta_file_io_req() 2436. state-set: Add all state set values to system power state enum as per DSP0249 2447. platform: Add alias members to the enum 245 pldm_pdr_repository_chg_event_change_record_event_data_operation. 246 247 enum constants with inconsistent names are deprecated with this change. 248 remove old inconsistent enum members after backward compatibility cleanup is 249 done 250 2518. oem-ibm: Alias `pldm_oem_ibm_fru_field_type` members as `PLDM_OEM_IBM_*` 2529. oem: ibm: Add Firmware Update Access Key(UAK) as a FRU field type 25310. platform: Add 3 PDR type enum for Redfish Device Enablement per 254 DSP0248_1.2.0 25511. state_set: Add CONNECTED and DISCONNECTED enum for Link State set 25612. entity: Add enum for Network Interface Connectors and Network Ports 257 Connection Types 25813. pdr: Add decode_numeric_effecter_pdr_data() 25914. oem: ibm: Support for the Real SAI entity id 26015. fw_update: Add encode req & decode resp for query_downstream_devices 26116. fw_update: Add encode req & decode resp for query_downstream_identifiers 26217. platform: Add support for GetStateEffecterStates command 263 264### Changed 265 2661. base: Stabilise pldm_msg_hdr_correlate_response() 2672. transport: af-mctp: Stabilise pldm_transport_af_mctp_bind() 2683. libpldm: Fix header use 2694. libpldm: More fixes for header use 2705. pdr: Stabilise pldm_pdr_find_last_in_range() API 2716. pdr: Stabilise pldm_entity_association_pdr_add_from_node_with_record_handle() 2727. oem: meta: stabilise decode_oem_meta_file_io_req() 2738. pdr: pldm_entity_association_tree_copy_root(): Document preconditions 274 275### Deprecated 276 2771. Deprecate `pldm_oem_ibm_fru_field_type` members that that are not prefixed 278 with `PLDM_OEM_IBM_` 279 280### Fixed 281 2821. libpldm: Rationalise the local and installed path of pldm.h 2832. pdr: Assign record_handle in entity_association_pdr_add_children() 2843. msgbuf: Require sensor data enum in pldm_msgbuf_extract_sensor_value() 2854. pdr: Remove redundant constant for minimum numeric sensor PDR length 2865. tests: oem: meta: Fix fileio use of msgbuf 287 288## [0.7.0] - 2023-08-29 289 290### Added 291 2921. state-set: Add new enum for Operational Fault Status enum 293 294### Changed 295 2961. transport: Match specified metadata in pldm_transport_send_recv_msg() 2972. transport: mctp-demux: Drop ABI annotation for internal symbols 2983. transport: Stabilise core transport and implementation APIs 299 300 This stabilisation covers the following headers and functions: 301 302 - libpldm/transport.h 303 304 - pldm_transport_poll() 305 - pldm_transport_send_msg() 306 - pldm_transport_recv_msg() 307 - pldm_transport_send_recv_msg() 308 309 - libpldm/transport/af-mctp.h 310 311 - pldm_transport_af_mctp_init() 312 - pldm_transport_af_mctp_destroy() 313 - pldm_transport_af_mctp_core() 314 - pldm_transport_af_mctp_init_pollfd() 315 - pldm_transport_af_mctp_map_tid() 316 - pldm_transport_af_mctp_unmap_tid() 317 318 - libpldm/transport/mctp-demux.h 319 - pldm_transport_mctp_demux_init() 320 - pldm_transport_mctp_demux_destroy() 321 - pldm_transport_mctp_demux_core() 322 - pldm_transport_mctp_demux_init_pollfd() 323 - pldm_transport_mctp_demux_map_tid() 324 - pldm_transport_mctp_demux_unmap_tid() 325 326### Deprecated 327 3281. All the existing "requester" APIs from `libpldm/pldm.h` (also known as 329 `libpldm/requester/pldm.h`): 330 331 - pldm_open() 332 - pldm_send_recv() 333 - pldm_send() 334 - pldm_recv() 335 - pldm_recv_any() 336 - pldm_close() 337 338 Users should migrate to the newer "transport" APIs instead. 339 340## Fixed 341 3421. tests: Exclude transport tests when build excludes testing ABIs 3432. abi: Capture deprecation of pldm_close() 344 345## [0.6.0] - 2023-08-22 346 347### Changed 348 3491. pdr: Avoid ID overflow in pldm_entity_association_tree_add_entity() 3502. meson: Apply `b_ndebug=if-release` by default 3513. pdr : Stabilize pldm_entity_association_tree_add_entity() 3524. pdr: Stabilise pldm_entity_association_tree_find_with_locality() 3535. pdr: Stabilize pldm_entity_node_get_remote_container_id() 3546. transport: af-mctp: Assign out-params on success in \*\_recv() 3557. transport: Generalise the pldm_transport_recv_msg() API 356 357### Removed 358 3591. pdr: Remove pldm_entity_association_pdr_add() 3602. state-set: Remove enum pldm_state_set_operational_fault_status_values 361 362### Fixed 363 3641. transport: register init_pollfd callback for af-mctp 3652. transport: fix init_pollfd function parameter 3663. transport: Fix doxygen and variables for send and recv functions 3674. transport: af-mctp: Ensure malloc() succeeds in \*\_recv() 368 369## [0.5.0] - 2023-08-09 370 371### Added 372 3731. pdr: Introduce pldm_entity_association_pdr_add_check() 374 375### Changed 376 3771. pdr: Allow record_handle to be NULL for pldm_pdr_add_check() 3782. transport: pldm_transport_poll(): Adjust return value semantics 3793. transport: free un-wanted responses in pldm_transport_send_recv_msg() 380 381### Deprecated 382 3831. state-set: Enum pldm_state_set_operational_fault_status_values 384 385 The enum operational_fault_status is defined with wrong members and will 386 eventually be replaced with the correct members. Any uses of 387 pldm_state_set_operational_fault_status_values members should move to 388 equivalent pldm_state_set_operational_stress_status_values members if needed. 389 3902. platform: Struct field name in fru_record_set PDR 391 392 References to entity_instance_num should be changed to entity_instance 393 3943. platform: Struct field name in numeric sensor value PDR 395 396 References to entity_instance_num should be changed to entity_instance 397 398### Removed 399 4001. bios_table: Remove pldm_bios_table_attr_entry_integer_encode_length() 4012. bios_table: Remove pldm_bios_table_attr_value_entry_encode_enum() 4023. bios_table: Remove pldm_bios_table_attr_value_entry_encode_string() 4034. bios_table: Remove pldm_bios_table_attr_value_entry_encode_integer() 4045. bios_table: Remove pldm_bios_table_append_pad_checksum() 4056. fru: Remove get_fru_record_by_option() 4067. pdr: Make is_present() static 4078. pdr: Remove pldm_pdr_add() 4089. pdr: Remove pldm_pdr_add_fru_record_set() 40910. pdr: Remove pldm_entity_association_pdr_add_from_node() 41011. pdr: Make find_entity_ref_in_tree() static 41112. pdr: Make entity_association_tree_find() static 412 413### Fixed 414 4151. requester: Fix response buffer cast in pldm_send_recv() 4162. pdr: Hoist record handle overflow test to avoid memory leak 4173. transport: Correct comparison in while loop condition 418 419## [0.4.0] - 2023-07-14 420 421### Added 422 4231. bios_table: Introduce pldm_bios_table_append_pad_checksum_check() 4242. fru: Introduce get_fru_record_by_option_check() 4253. pdr: Introduce pldm_entity_association_pdr_add_from_node_check() 4264. pdr: Introduce pldm_pdr_add_check() 4275. pdr: Introduce pldm_pdr_add_fru_record_set_check() 428 429### Changed 430 4311. requester: Mark pldm_close() as LIBPLDM_ABI_TESTING 4322. requester: Expose pldm_close() in header 4333. bios_table: pldm_bios_table_string_entry_encode_check(): Handle overflow 4344. bios_table: pldm_bios_table_iter_create(): Return NULL on failed alloc 4355. bios_table: pldm_bios_table_iter_next(): Invalid entry halts iteration 4366. pdr: pldm_pdr_init(): Return NULL on allocation failure 4377. pdr: pldm_pdr_destroy(): Exit early if repo is NULL 4388. pdr: Document preconditions for trivial accessor functions 439 440 A trivial accessor function is one that exposes properties of an object in a 441 way can't result in an error, beyond passing an invalid argument to the 442 function. For APIs meeting this definition we define a precondition that 443 struct pointers must point to valid objects to avoid polluting the function 444 prototypes. The following APIs now have this precondition explicitly defined: 445 446 - pldm_entity_extract() 447 - pldm_entity_get_parent() 448 - pldm_entity_is_exist_parent() 449 - pldm_entity_is_node_parent() 450 - pldm_is_current_parent_child 451 - pldm_is_empty_entity_assoc_tree() 452 - pldm_pdr_get_record_count() 453 - pldm_pdr_get_record_handle() 454 - pldm_pdr_get_repo_size() 455 - pldm_pdr_record_is_remote() 456 4579. pdr: pldm_entity_node_get_remote_container_id() is a trivial accessor 45810. pdr: pldm_pdr_fru_record_set_find_by_rsi(): Exit early on NULL arguments 45911. pdr: pldm_entity_association_tree_init(): Return NULL on failed alloc 46012. pdr: pldm_entity_association_tree_visit(): Document preconditions 46113. pdr: pldm_entity_association_tree_visit(): Exit early on failure 46214. pdr: pldm_entity_association_tree_destroy(): Exit early on bad argument 46315. pdr: pldm_entity_get_num_children(): Return zero for invalid arguments 46416. pdr: pldm_is_current_parent_child(): Return false for invalid arguments 46517. pdr: pldm_entity_association_pdr_add(): Exit early on bad arguments 46618. pdr: pldm_find_entity_ref_in_tree(): Exit early on bad arguments 46719. pdr: pldm_entity_association_tree_find(): Early exit on bad arguments 46820. pdr: pldm_entity_association_tree_destroy_root(): Exit early on bad arg 46921. pdr: pldm_entity_association_pdr_extract(): Early exit on bad arguments 47022. pdr: pldm_entity_association_pdr_extract(): Assign out params at exit 47123. pdr: pldm_entity_get_num_children(): Don't return invalid values 47224. libpldm: Lift or remove asserts where a subsequent check exists 473 474### Deprecated 475 4761. pldm_bios_table_attr_entry_integer_encode() 477 478 Migrate to pldm_bios_table_attr_entry_integer_encode_check() 479 4802. bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_enum() 481 482 Migrate to pldm_bios_table_attr_value_entry_encode_enum_check() 483 4843. bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_string() 485 486 Migrate to pldm_bios_table_attr_value_entry_encode_string_check() 487 4884. bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_integer() 489 490 Migrate to pldm_bios_table_attr_value_entry_encode_integer_check() 491 4925. pdr: Deprecate is_present() 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 4986. pdr: Deprecate find_entity_ref_in_tree() 499 500 There should be no users of this symbol. If you are a user, you should figure 501 out how to stop, or get in touch. This symbol will be marked static the 502 release after deprecation. 503 5047. pdr: Deprecate entity_association_tree_find() 505 506 There should be no users of this symbol. If you are a user, you should figure 507 out how to stop, or get in touch. This symbol will be marked static the 508 release after deprecation. 509 5108. bios_table: Stabilise pldm_bios_table_append_pad_checksum_check() 511 512 pldm_bios_table_append_pad_checksum() is deprecated by this change. Users of 513 pldm_bios_table_append_pad_checksum() should migrate to 514 pldm_bios_table_append_pad_checksum_check() 515 5169. fru: Stabilise get_fru_record_by_option_check() 517 518 get_fru_record_by_option() is deprecated by this change. Users of 519 get_fru_record_by_option() should migrate to get_fru_record_by_option_check() 520 52110. pdr: Stabilise pldm_entity_association_pdr_add_from_node_check() 522 523 pldm_entity_association_pdr_add_from_node() is deprecated by this change. 524 Users of pldm_entity_association_pdr_add_from_node() should migrate to 525 pldm_entity_association_pdr_add_from_node_check() 526 52711. pdr: Stabilise pldm_pdr_add_check() 528 529 pldm_pdr_add() is deprecated by this change. Users of pldm_pdr_add() should 530 migrate to pldm_pdr_add_check() 531 53212. pdr: Stabilise pldm_pdr_add_fru_record_set_check() 533 534 pldm_pdr_add_fru_record_set() is deprecated by this change. Users of 535 pldm_pdr_add_fru_record_set() should migrate to 536 pldm_pdr_add_fru_record_set_check() 537 538### Removed 539 5401. bios_table: Remove deprecated APIs sanitized by assert(): 541 542 - pldm_bios_table_string_entry_encode() 543 - pldm_bios_table_string_entry_decode_string() 544 - pldm_bios_table_attr_entry_enum_encode() 545 - pldm_bios_table_attr_entry_enum_decode_pv_num() 546 - pldm_bios_table_attr_entry_enum_decode_def_num() 547 - pldm_bios_table_attr_entry_enum_decode_pv_hdls() 548 - pldm_bios_table_attr_entry_string_encode() 549 - pldm_bios_table_attr_entry_string_decode_def_string_length() 550 551### Fixed 552 5531. pdr: Return success for pldm_pdr_find_child_container_id_range_exclude() API 5542. pdr: Rework pldm_pdr_find_container_id_range_exclude() API 5553. transport: mctp-demux: Don't test socket for non-zero value 5564. requester: Return PLDM_REQUESTER_OPEN_FAIL from pldm_open() on error 5575. pdr: pldm_pdr_fru_record_set_find_by_rsi(): Document reality of return 5586. transport: Fix possible NULL ptr deref in pldm_socket_sndbuf_init() 5597. abi: Update to remove pldm_close() from reference dumps 5608. bios_table: Annotate pldm_bios_table_attr_value_entry_encode_integer() 561 562## [0.3.0] - 2023-06-23 563 564### Added 565 5661. Add encode/decode pldmMessagePollEvent data 5672. README: Add a section on working with libpldm 5683. pdr: Introduce remote_container_id and associated APIs 5694. pdr: Add APIs for creating and locating remote PDRs 5705. pdr: Add pldm_pdr_find_last_in_range() 5716. pdr: Add pldm_entity_association_pdr_add_from_node_with_record_handle() 5727. pdr: Add pldm_pdr_find_container_id_range_exclude() 573 574### Changed 575 5761. include: Move installed transport.h under libpldm/ 5772. libpldm: Explicit deprecated, stable and testing ABI classes 5783. meson: Reduce strength of oem-ibm requirements from enabled to allowed 579 580 The `oem-ibm` feature is now enabled by the default meson configuration, for 581 CI purposes. `oem-ibm` is still disabled by default in the `libpldm` bitbake 582 recipe: 583 584 <https://github.com/openbmc/openbmc/blob/master/meta-phosphor/recipes-phosphor/libpldm/libpldm_git.bb#L10> 585 586 To disable `oem-ibm` in your development builds, pass `-Doem-ibm=disabled` 587 when invoking `meson setup` 588 5894. bios_table: Relax pldm_bios_table_string_entry_decode_string_check() 5905. bios_table: Relax pldm_bios_table_attr_entry_enum_decode_pv_hdls_check() 591 592### Deprecated 593 5941. bios_table: Deprecate APIs with arguments sanitized using assert() 595 596 C provides enough foot-guns without us encoding them into library APIs. 597 Specifically, deprecate the following in favour of their `*_check()` variants 598 which ensure assertions won't fail or otherwise invoke UB: 599 600 - pldm_bios_table_string_entry_encode() 601 - pldm_bios_table_string_entry_decode_string() 602 - pldm_bios_table_attr_entry_enum_encode() 603 - pldm_bios_table_attr_entry_enum_decode_pv_num() 604 - pldm_bios_table_attr_entry_enum_decode_def_num() 605 - pldm_bios_table_attr_entry_enum_decode_pv_hdls() 606 - pldm_bios_table_attr_entry_string_encode() 607 - pldm_bios_table_attr_entry_string_decode_def_string_length() 608 609### Removed 610 6111. libpldm: Remove the requester-api option 612 613### Fixed 614 6151. requester: Make pldm_open() return existing fd 6162. transport: Prevent sticking in waiting for response 6173. transport: Match on response in pldm_transport_send_recv_msg() 6184. requester: Add check before accessing hdr in pldm_recv() 6195. bios_table: pldm_bios_table_attr_entry_string_info_check() NULL deref 620