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_pdr_find_record()` 54 - `pldm_pdr_get_next_record()` 55 563. platform: Support PLDM_CPER_EVENT in encode_platform_event_message_req() 57 58### Deprecated 59 601. oem: meta: Deprecate `decode_oem_meta_file_io_req()` 61 62 Users should switch to `decode_oem_meta_file_io_write_req()`. Modify this 63 function to make it safer. 64 65 Modification: 66 67 - The meaning of the returned result. 68 - Change parameters from individual pointers to a struct. 69 - Check the length provided in the message won't exceed the buffer. 70 712. pldm_entity_association_tree_copy_root() 72 73 The implementation allocates, but gives no indication to the caller if an 74 allocation (and hence the copy) has failed. Users should migrate to 75 pldm_entity_association_tree_copy_root_check(). 76 77### Removed 78 791. Deprecated functions with the `_check` suffix 80 81 - `get_fru_record_by_option_check()` 82 - `pldm_bios_table_append_pad_checksum_check()` 83 - `pldm_bios_table_attr_entry_enum_decode_def_num_check()` 84 - `pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()` 85 - `pldm_bios_table_attr_entry_enum_decode_pv_num_check()` 86 - `pldm_bios_table_attr_entry_enum_encode_check()` 87 - `pldm_bios_table_attr_entry_integer_encode_check()` 88 - `pldm_bios_table_attr_entry_string_decode_def_string_length_check()` 89 - `pldm_bios_table_attr_entry_string_encode_check()` 90 - `pldm_bios_table_attr_value_entry_encode_enum_check()` 91 - `pldm_bios_table_attr_value_entry_encode_integer_check()` 92 - `pldm_bios_table_attr_value_entry_encode_string_check()` 93 - `pldm_bios_table_string_entry_decode_string_check()` 94 - `pldm_bios_table_string_entry_encode_check()` 95 - `pldm_entity_association_pdr_add_check()` 96 - `pldm_entity_association_pdr_add_from_node_check()` 97 - `pldm_pdr_add_check()` 98 - `pldm_pdr_add_fru_record_set_check()` 99 100### Fixed 101 1021. dsp: bios_table: Null check for pldm_bios_table_iter_is_end() 103 104 Avoid a caller-controlled NULL pointer dereference in the library 105 implementation. 106 1072. platform: fix encode/decode_poll_for_platform_event_message_req 108 109 Update checking of `TransferOperationFlag` and `eventIDToAcknowledge` to 110 follow spec. 111 1123. platform: Fix checking `eventIDToAcknowledge` 113 114 As the event receiver sends `PollForPlatformEventMessage` with the 115 `tranferFlag` is `AcknowledgementOnly`, the value `eventIDToAcknowledge` 116 should be the previously retrieved eventID (from the PLDM terminus). 117 1184. dsp: platform: Prevent overflow of arithmetic on event_data_length 1195. dsp: platform: Bounds check encode_sensor_state_pdr() 1206. dsp: platform: Bounds check encode_state_effecter_pdr() 1217. dsp: pdr: Bounds check pldm_entity_association_pdr_extract() 1228. dsp: bios_table: Bounds check pldm_bios_table_append_pad_checksum() 123 124## [0.9.1] - 2024-09-07 125 126### Changed 127 1281. Moved evolutions intended for v0.9.0 into place 129 130 Evolutions for the release have been moved from `evolutions/current` to 131 `evolutions/v0.9.1`. Library users can apply them to migrate off of 132 deprecated APIs. 133 134## [0.9.0] - 2024-09-07 135 136### Added 137 1381. base: Define macros for reserved TIDs 1392. pdr: Add pldm_entity_association_pdr_add_contained_entity_to_remote_pdr() 1403. pdr: Add pldm_entity_association_pdr_create_new() 1414. platform: Define macros for the responded transferflags 1425. pdr: Add pldm_pdr_get_terminus_handle() API 1436. pdr: Add related decode_entity_auxiliary_names_pdr() APIs 1447. fw_update: Add encode req & decode resp for get_downstream_fw_params 1458. platform: Add decode_pldm_platform_cper_event() API 1469. decode_get_pdr_repository_info_resp_safe() 147 148 Replaces decode_get_pdr_repository_info_resp() as discussed in the 149 `Deprecated` section below 150 15110. decode_get_pdr_resp_safe() 152 153 Replaces decode_get_pdr_resp() as discussed in the `Deprecated` section 154 below 155 156### Changed 157 1581. pdr: Stabilise related decode_entity_auxiliary_names_pdr() APIs 1592. platform: Rework decode/encode_pldm_message_poll_event_data() APIs 1603. platform: Stabilise decode_pldm_message_poll_event_data() APIs 1614. ABI break for decode_sensor_op_data() 162 163 Applying LIBPLDM_CC_NONNULL to the internal msgbuf APIs caused 164 abi-compliance-checker to flag a change in the register containing the 165 parameter `previous_op_state`. 166 1675. platform: Stabilise decode_pldm_platform_cper_event() API 1686. oem: meta: Stabilise decode_oem_meta_file_io_write_req() API 1697. oem: meta: Stabilise decode_oem_meta_file_io_read_req() API 1708. oem: meta: Stabilise encode_oem_meta_file_io_read_resp() API 171 172### Deprecated 173 1741. Rename and deprecate functions with the `_check` suffix 175 176 All library function return values always need to be checked. The `_check` 177 suffix is redundant, so remove it. Migration to the non-deprecated 178 equivalents without the `_check` suffix can be performed using 179 `scripts/ apply-renames` and the [clang-rename][] configurations under 180 `evolutions/` 181 182 The deprecated functions: 183 184 - `get_fru_record_by_option_check()` 185 - `pldm_bios_table_append_pad_checksum_check()` 186 - `pldm_bios_table_attr_entry_enum_decode_def_num_check()` 187 - `pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()` 188 - `pldm_bios_table_attr_entry_enum_decode_pv_num_check()` 189 - `pldm_bios_table_attr_entry_enum_encode_check()` 190 - `pldm_bios_table_attr_entry_integer_encode_check()` 191 - `pldm_bios_table_attr_entry_string_decode_def_string_length_check()` 192 - `pldm_bios_table_attr_entry_string_encode_check()` 193 - `pldm_bios_table_attr_value_entry_encode_enum_check()` 194 - `pldm_bios_table_attr_value_entry_encode_integer_check()` 195 - `pldm_bios_table_attr_value_entry_encode_string_check()` 196 - `pldm_bios_table_string_entry_decode_string_check()` 197 - `pldm_bios_table_string_entry_encode_check()` 198 - `pldm_entity_association_pdr_add_check()` 199 - `pldm_entity_association_pdr_add_from_node_check()` 200 - `pldm_pdr_add_check()` 201 - `pldm_pdr_add_fru_record_set_check()` 202 203[clang-rename]: https://clang.llvm.org/extra/clang-rename.html 204 2052. `decode_get_pdr_repository_info_resp()` 206 207 Users should move to `decode_get_pdr_repository_info_resp_safe()` which 208 eliminates the opportunity for buffer overruns when extracting objects from 209 the message. 210 2113. `decode_get_pdr_resp()` 212 213 Users should move to `decode_get_pdr_resp_safe()` which reduces the 214 invocation tedium and improves memory safety over `decode_get_pdr_resp()`. 215 216### Removed 217 2181. IBM OEM header compatibility symlinks. 219 220 Anyone left using the deprecated paths can migrate using the coccinelle patch 221 at `evolutions/current/oem-ibm-header-compat.cocci`. 222 223### Fixed 224 2251. requester: instance-id: Release read lock on conflict 2262. pdr: Error propagation for 227 pldm_entity_association_pdr_add_from_node_with_record_handle() 228 229## [0.8.0] - 2024-05-23 230 231### Added 232 2331. base: Provide pldm_msg_hdr_correlate_response() 2342. transport: af-mctp: Add pldm_transport_af_mctp_bind() 2353. oem: ibm: Add chapdata file type support 2364. base: Added PLDM_SMBIOS & PLDM_RDE message types 2375. oem: meta: Add decode_oem_meta_file_io_req() 2386. state-set: Add all state set values to system power state enum as per DSP0249 2397. platform: Add alias members to the enum 240 pldm_pdr_repository_chg_event_change_record_event_data_operation. 241 242 enum constants with inconsistent names are deprecated with this change. 243 remove old inconsistent enum members after backward compatibility cleanup is 244 done 245 2468. oem-ibm: Alias `pldm_oem_ibm_fru_field_type` members as `PLDM_OEM_IBM_*` 2479. oem: ibm: Add Firmware Update Access Key(UAK) as a FRU field type 24810. platform: Add 3 PDR type enum for Redfish Device Enablement per 249 DSP0248_1.2.0 25011. state_set: Add CONNECTED and DISCONNECTED enum for Link State set 25112. entity: Add enum for Network Interface Connectors and Network Ports 252 Connection Types 25313. pdr: Add decode_numeric_effecter_pdr_data() 25414. oem: ibm: Support for the Real SAI entity id 25515. fw_update: Add encode req & decode resp for query_downstream_devices 25616. fw_update: Add encode req & decode resp for query_downstream_identifiers 25717. platform: Add support for GetStateEffecterStates command 258 259### Changed 260 2611. base: Stabilise pldm_msg_hdr_correlate_response() 2622. transport: af-mctp: Stabilise pldm_transport_af_mctp_bind() 2633. libpldm: Fix header use 2644. libpldm: More fixes for header use 2655. pdr: Stabilise pldm_pdr_find_last_in_range() API 2666. pdr: Stabilise pldm_entity_association_pdr_add_from_node_with_record_handle() 2677. oem: meta: stabilise decode_oem_meta_file_io_req() 2688. pdr: pldm_entity_association_tree_copy_root(): Document preconditions 269 270### Deprecated 271 2721. Deprecate `pldm_oem_ibm_fru_field_type` members that that are not prefixed 273 with `PLDM_OEM_IBM_` 274 275### Fixed 276 2771. libpldm: Rationalise the local and installed path of pldm.h 2782. pdr: Assign record_handle in entity_association_pdr_add_children() 2793. msgbuf: Require sensor data enum in pldm_msgbuf_extract_sensor_value() 2804. pdr: Remove redundant constant for minimum numeric sensor PDR length 2815. tests: oem: meta: Fix fileio use of msgbuf 282 283## [0.7.0] - 2023-08-29 284 285### Added 286 2871. state-set: Add new enum for Operational Fault Status enum 288 289### Changed 290 2911. transport: Match specified metadata in pldm_transport_send_recv_msg() 2922. transport: mctp-demux: Drop ABI annotation for internal symbols 2933. transport: Stabilise core transport and implementation APIs 294 295 This stabilisation covers the following headers and functions: 296 297 - libpldm/transport.h 298 299 - pldm_transport_poll() 300 - pldm_transport_send_msg() 301 - pldm_transport_recv_msg() 302 - pldm_transport_send_recv_msg() 303 304 - libpldm/transport/af-mctp.h 305 306 - pldm_transport_af_mctp_init() 307 - pldm_transport_af_mctp_destroy() 308 - pldm_transport_af_mctp_core() 309 - pldm_transport_af_mctp_init_pollfd() 310 - pldm_transport_af_mctp_map_tid() 311 - pldm_transport_af_mctp_unmap_tid() 312 313 - libpldm/transport/mctp-demux.h 314 - pldm_transport_mctp_demux_init() 315 - pldm_transport_mctp_demux_destroy() 316 - pldm_transport_mctp_demux_core() 317 - pldm_transport_mctp_demux_init_pollfd() 318 - pldm_transport_mctp_demux_map_tid() 319 - pldm_transport_mctp_demux_unmap_tid() 320 321### Deprecated 322 3231. All the existing "requester" APIs from `libpldm/pldm.h` (also known as 324 `libpldm/requester/pldm.h`): 325 326 - pldm_open() 327 - pldm_send_recv() 328 - pldm_send() 329 - pldm_recv() 330 - pldm_recv_any() 331 - pldm_close() 332 333 Users should migrate to the newer "transport" APIs instead. 334 335## Fixed 336 3371. tests: Exclude transport tests when build excludes testing ABIs 3382. abi: Capture deprecation of pldm_close() 339 340## [0.6.0] - 2023-08-22 341 342### Changed 343 3441. pdr: Avoid ID overflow in pldm_entity_association_tree_add_entity() 3452. meson: Apply `b_ndebug=if-release` by default 3463. pdr : Stabilize pldm_entity_association_tree_add_entity() 3474. pdr: Stabilise pldm_entity_association_tree_find_with_locality() 3485. pdr: Stabilize pldm_entity_node_get_remote_container_id() 3496. transport: af-mctp: Assign out-params on success in \*\_recv() 3507. transport: Generalise the pldm_transport_recv_msg() API 351 352### Removed 353 3541. pdr: Remove pldm_entity_association_pdr_add() 3552. state-set: Remove enum pldm_state_set_operational_fault_status_values 356 357### Fixed 358 3591. transport: register init_pollfd callback for af-mctp 3602. transport: fix init_pollfd function parameter 3613. transport: Fix doxygen and variables for send and recv functions 3624. transport: af-mctp: Ensure malloc() succeeds in \*\_recv() 363 364## [0.5.0] - 2023-08-09 365 366### Added 367 3681. pdr: Introduce pldm_entity_association_pdr_add_check() 369 370### Changed 371 3721. pdr: Allow record_handle to be NULL for pldm_pdr_add_check() 3732. transport: pldm_transport_poll(): Adjust return value semantics 3743. transport: free un-wanted responses in pldm_transport_send_recv_msg() 375 376### Deprecated 377 3781. state-set: Enum pldm_state_set_operational_fault_status_values 379 380 The enum operational_fault_status is defined with wrong members and will 381 eventually be replaced with the correct members. Any uses of 382 pldm_state_set_operational_fault_status_values members should move to 383 equivalent pldm_state_set_operational_stress_status_values members if needed. 384 3852. platform: Struct field name in fru_record_set PDR 386 387 References to entity_instance_num should be changed to entity_instance 388 3893. platform: Struct field name in numeric sensor value PDR 390 391 References to entity_instance_num should be changed to entity_instance 392 393### Removed 394 3951. bios_table: Remove pldm_bios_table_attr_entry_integer_encode_length() 3962. bios_table: Remove pldm_bios_table_attr_value_entry_encode_enum() 3973. bios_table: Remove pldm_bios_table_attr_value_entry_encode_string() 3984. bios_table: Remove pldm_bios_table_attr_value_entry_encode_integer() 3995. bios_table: Remove pldm_bios_table_append_pad_checksum() 4006. fru: Remove get_fru_record_by_option() 4017. pdr: Make is_present() static 4028. pdr: Remove pldm_pdr_add() 4039. pdr: Remove pldm_pdr_add_fru_record_set() 40410. pdr: Remove pldm_entity_association_pdr_add_from_node() 40511. pdr: Make find_entity_ref_in_tree() static 40612. pdr: Make entity_association_tree_find() static 407 408### Fixed 409 4101. requester: Fix response buffer cast in pldm_send_recv() 4112. pdr: Hoist record handle overflow test to avoid memory leak 4123. transport: Correct comparison in while loop condition 413 414## [0.4.0] - 2023-07-14 415 416### Added 417 4181. bios_table: Introduce pldm_bios_table_append_pad_checksum_check() 4192. fru: Introduce get_fru_record_by_option_check() 4203. pdr: Introduce pldm_entity_association_pdr_add_from_node_check() 4214. pdr: Introduce pldm_pdr_add_check() 4225. pdr: Introduce pldm_pdr_add_fru_record_set_check() 423 424### Changed 425 4261. requester: Mark pldm_close() as LIBPLDM_ABI_TESTING 4272. requester: Expose pldm_close() in header 4283. bios_table: pldm_bios_table_string_entry_encode_check(): Handle overflow 4294. bios_table: pldm_bios_table_iter_create(): Return NULL on failed alloc 4305. bios_table: pldm_bios_table_iter_next(): Invalid entry halts iteration 4316. pdr: pldm_pdr_init(): Return NULL on allocation failure 4327. pdr: pldm_pdr_destroy(): Exit early if repo is NULL 4338. pdr: Document preconditions for trivial accessor functions 434 435 A trivial accessor function is one that exposes properties of an object in a 436 way can't result in an error, beyond passing an invalid argument to the 437 function. For APIs meeting this definition we define a precondition that 438 struct pointers must point to valid objects to avoid polluting the function 439 prototypes. The following APIs now have this precondition explicitly defined: 440 441 - pldm_entity_extract() 442 - pldm_entity_get_parent() 443 - pldm_entity_is_exist_parent() 444 - pldm_entity_is_node_parent() 445 - pldm_is_current_parent_child 446 - pldm_is_empty_entity_assoc_tree() 447 - pldm_pdr_get_record_count() 448 - pldm_pdr_get_record_handle() 449 - pldm_pdr_get_repo_size() 450 - pldm_pdr_record_is_remote() 451 4529. pdr: pldm_entity_node_get_remote_container_id() is a trivial accessor 45310. pdr: pldm_pdr_fru_record_set_find_by_rsi(): Exit early on NULL arguments 45411. pdr: pldm_entity_association_tree_init(): Return NULL on failed alloc 45512. pdr: pldm_entity_association_tree_visit(): Document preconditions 45613. pdr: pldm_entity_association_tree_visit(): Exit early on failure 45714. pdr: pldm_entity_association_tree_destroy(): Exit early on bad argument 45815. pdr: pldm_entity_get_num_children(): Return zero for invalid arguments 45916. pdr: pldm_is_current_parent_child(): Return false for invalid arguments 46017. pdr: pldm_entity_association_pdr_add(): Exit early on bad arguments 46118. pdr: pldm_find_entity_ref_in_tree(): Exit early on bad arguments 46219. pdr: pldm_entity_association_tree_find(): Early exit on bad arguments 46320. pdr: pldm_entity_association_tree_destroy_root(): Exit early on bad arg 46421. pdr: pldm_entity_association_pdr_extract(): Early exit on bad arguments 46522. pdr: pldm_entity_association_pdr_extract(): Assign out params at exit 46623. pdr: pldm_entity_get_num_children(): Don't return invalid values 46724. libpldm: Lift or remove asserts where a subsequent check exists 468 469### Deprecated 470 4711. pldm_bios_table_attr_entry_integer_encode() 472 473 Migrate to pldm_bios_table_attr_entry_integer_encode_check() 474 4752. bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_enum() 476 477 Migrate to pldm_bios_table_attr_value_entry_encode_enum_check() 478 4793. bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_string() 480 481 Migrate to pldm_bios_table_attr_value_entry_encode_string_check() 482 4834. bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_integer() 484 485 Migrate to pldm_bios_table_attr_value_entry_encode_integer_check() 486 4875. pdr: Deprecate is_present() 488 489 There should be no users of this symbol. If you are a user, you should figure 490 out how to stop, or get in touch. This symbol will be marked static the 491 release after deprecation. 492 4936. pdr: Deprecate find_entity_ref_in_tree() 494 495 There should be no users of this symbol. If you are a user, you should figure 496 out how to stop, or get in touch. This symbol will be marked static the 497 release after deprecation. 498 4997. pdr: Deprecate entity_association_tree_find() 500 501 There should be no users of this symbol. If you are a user, you should figure 502 out how to stop, or get in touch. This symbol will be marked static the 503 release after deprecation. 504 5058. bios_table: Stabilise pldm_bios_table_append_pad_checksum_check() 506 507 pldm_bios_table_append_pad_checksum() is deprecated by this change. Users of 508 pldm_bios_table_append_pad_checksum() should migrate to 509 pldm_bios_table_append_pad_checksum_check() 510 5119. fru: Stabilise get_fru_record_by_option_check() 512 513 get_fru_record_by_option() is deprecated by this change. Users of 514 get_fru_record_by_option() should migrate to get_fru_record_by_option_check() 515 51610. pdr: Stabilise pldm_entity_association_pdr_add_from_node_check() 517 518 pldm_entity_association_pdr_add_from_node() is deprecated by this change. 519 Users of pldm_entity_association_pdr_add_from_node() should migrate to 520 pldm_entity_association_pdr_add_from_node_check() 521 52211. pdr: Stabilise pldm_pdr_add_check() 523 524 pldm_pdr_add() is deprecated by this change. Users of pldm_pdr_add() should 525 migrate to pldm_pdr_add_check() 526 52712. pdr: Stabilise pldm_pdr_add_fru_record_set_check() 528 529 pldm_pdr_add_fru_record_set() is deprecated by this change. Users of 530 pldm_pdr_add_fru_record_set() should migrate to 531 pldm_pdr_add_fru_record_set_check() 532 533### Removed 534 5351. bios_table: Remove deprecated APIs sanitized by assert(): 536 537 - pldm_bios_table_string_entry_encode() 538 - pldm_bios_table_string_entry_decode_string() 539 - pldm_bios_table_attr_entry_enum_encode() 540 - pldm_bios_table_attr_entry_enum_decode_pv_num() 541 - pldm_bios_table_attr_entry_enum_decode_def_num() 542 - pldm_bios_table_attr_entry_enum_decode_pv_hdls() 543 - pldm_bios_table_attr_entry_string_encode() 544 - pldm_bios_table_attr_entry_string_decode_def_string_length() 545 546### Fixed 547 5481. pdr: Return success for pldm_pdr_find_child_container_id_range_exclude() API 5492. pdr: Rework pldm_pdr_find_container_id_range_exclude() API 5503. transport: mctp-demux: Don't test socket for non-zero value 5514. requester: Return PLDM_REQUESTER_OPEN_FAIL from pldm_open() on error 5525. pdr: pldm_pdr_fru_record_set_find_by_rsi(): Document reality of return 5536. transport: Fix possible NULL ptr deref in pldm_socket_sndbuf_init() 5547. abi: Update to remove pldm_close() from reference dumps 5558. bios_table: Annotate pldm_bios_table_attr_value_entry_encode_integer() 556 557## [0.3.0] - 2023-06-23 558 559### Added 560 5611. Add encode/decode pldmMessagePollEvent data 5622. README: Add a section on working with libpldm 5633. pdr: Introduce remote_container_id and associated APIs 5644. pdr: Add APIs for creating and locating remote PDRs 5655. pdr: Add pldm_pdr_find_last_in_range() 5666. pdr: Add pldm_entity_association_pdr_add_from_node_with_record_handle() 5677. pdr: Add pldm_pdr_find_container_id_range_exclude() 568 569### Changed 570 5711. include: Move installed transport.h under libpldm/ 5722. libpldm: Explicit deprecated, stable and testing ABI classes 5733. meson: Reduce strength of oem-ibm requirements from enabled to allowed 574 575 The `oem-ibm` feature is now enabled by the default meson configuration, for 576 CI purposes. `oem-ibm` is still disabled by default in the `libpldm` bitbake 577 recipe: 578 579 <https://github.com/openbmc/openbmc/blob/master/meta-phosphor/recipes-phosphor/libpldm/libpldm_git.bb#L10> 580 581 To disable `oem-ibm` in your development builds, pass `-Doem-ibm=disabled` 582 when invoking `meson setup` 583 5844. bios_table: Relax pldm_bios_table_string_entry_decode_string_check() 5855. bios_table: Relax pldm_bios_table_attr_entry_enum_decode_pv_hdls_check() 586 587### Deprecated 588 5891. bios_table: Deprecate APIs with arguments sanitized using assert() 590 591 C provides enough foot-guns without us encoding them into library APIs. 592 Specifically, deprecate the following in favour of their `*_check()` variants 593 which ensure assertions won't fail or otherwise invoke UB: 594 595 - pldm_bios_table_string_entry_encode() 596 - pldm_bios_table_string_entry_decode_string() 597 - pldm_bios_table_attr_entry_enum_encode() 598 - pldm_bios_table_attr_entry_enum_decode_pv_num() 599 - pldm_bios_table_attr_entry_enum_decode_def_num() 600 - pldm_bios_table_attr_entry_enum_decode_pv_hdls() 601 - pldm_bios_table_attr_entry_string_encode() 602 - pldm_bios_table_attr_entry_string_decode_def_string_length() 603 604### Removed 605 6061. libpldm: Remove the requester-api option 607 608### Fixed 609 6101. requester: Make pldm_open() return existing fd 6112. transport: Prevent sticking in waiting for response 6123. transport: Match on response in pldm_transport_send_recv_msg() 6134. requester: Add check before accessing hdr in pldm_recv() 6145. bios_table: pldm_bios_table_attr_entry_string_info_check() NULL deref 615