xref: /openbmc/libpldm/CHANGELOG.md (revision bb50a590)
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_sensor_pdr()`
51   - `pldm_pdr_find_record()`
52   - `pldm_pdr_get_next_record()`
53
543. platform: Support PLDM_CPER_EVENT in encode_platform_event_message_req()
55
56### Deprecated
57
581. oem: meta: Deprecate `decode_oem_meta_file_io_req()`
59
60   Users should switch to `decode_oem_meta_file_io_write_req()`. Modify this
61   function to make it safer.
62
63   Modification:
64
65   - The meaning of the returned result.
66   - Change parameters from individual pointers to a struct.
67   - Check the length provided in the message won't exceed the buffer.
68
692. pldm_entity_association_tree_copy_root()
70
71   The implementation allocates, but gives no indication to the caller if an
72   allocation (and hence the copy) has failed. Users should migrate to
73   pldm_entity_association_tree_copy_root_check().
74
75### Removed
76
771. Deprecated functions with the `_check` suffix
78
79   - `get_fru_record_by_option_check()`
80   - `pldm_bios_table_append_pad_checksum_check()`
81   - `pldm_bios_table_attr_entry_enum_decode_def_num_check()`
82   - `pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()`
83   - `pldm_bios_table_attr_entry_enum_decode_pv_num_check()`
84   - `pldm_bios_table_attr_entry_enum_encode_check()`
85   - `pldm_bios_table_attr_entry_integer_encode_check()`
86   - `pldm_bios_table_attr_entry_string_decode_def_string_length_check()`
87   - `pldm_bios_table_attr_entry_string_encode_check()`
88   - `pldm_bios_table_attr_value_entry_encode_enum_check()`
89   - `pldm_bios_table_attr_value_entry_encode_integer_check()`
90   - `pldm_bios_table_attr_value_entry_encode_string_check()`
91   - `pldm_bios_table_string_entry_decode_string_check()`
92   - `pldm_bios_table_string_entry_encode_check()`
93   - `pldm_entity_association_pdr_add_check()`
94   - `pldm_entity_association_pdr_add_from_node_check()`
95   - `pldm_pdr_add_check()`
96   - `pldm_pdr_add_fru_record_set_check()`
97
98### Fixed
99
1001. dsp: bios_table: Null check for pldm_bios_table_iter_is_end()
101
102   Avoid a caller-controlled NULL pointer dereference in the library
103   implementation.
104
1052. platform: fix encode/decode_poll_for_platform_event_message_req
106
107   Update checking of `TransferOperationFlag` and `eventIDToAcknowledge` to
108   follow spec.
109
1103. platform: Fix checking `eventIDToAcknowledge`
111
112   As the event receiver sends `PollForPlatformEventMessage` with the
113   `tranferFlag` is `AcknowledgementOnly`, the value `eventIDToAcknowledge`
114   should be the previously retrieved eventID (from the PLDM terminus).
115
1164. dsp: platform: Prevent overflow of arithmetic on event_data_length
1175. dsp: platform: Bounds check encode_sensor_state_pdr()
118
119## [0.9.1] - 2024-09-07
120
121### Changed
122
1231. Moved evolutions intended for v0.9.0 into place
124
125   Evolutions for the release have been moved from `evolutions/current` to
126   `evolutions/v0.9.1`. Library users can apply them to migrate off of
127   deprecated APIs.
128
129## [0.9.0] - 2024-09-07
130
131### Added
132
1331. base: Define macros for reserved TIDs
1342. pdr: Add pldm_entity_association_pdr_add_contained_entity_to_remote_pdr()
1353. pdr: Add pldm_entity_association_pdr_create_new()
1364. platform: Define macros for the responded transferflags
1375. pdr: Add pldm_pdr_get_terminus_handle() API
1386. pdr: Add related decode_entity_auxiliary_names_pdr() APIs
1397. fw_update: Add encode req & decode resp for get_downstream_fw_params
1408. platform: Add decode_pldm_platform_cper_event() API
1419. decode_get_pdr_repository_info_resp_safe()
142
143   Replaces decode_get_pdr_repository_info_resp() as discussed in the
144   `Deprecated` section below
145
14610. decode_get_pdr_resp_safe()
147
148    Replaces decode_get_pdr_resp() as discussed in the `Deprecated` section
149    below
150
151### Changed
152
1531. pdr: Stabilise related decode_entity_auxiliary_names_pdr() APIs
1542. platform: Rework decode/encode_pldm_message_poll_event_data() APIs
1553. platform: Stabilise decode_pldm_message_poll_event_data() APIs
1564. ABI break for decode_sensor_op_data()
157
158   Applying LIBPLDM_CC_NONNULL to the internal msgbuf APIs caused
159   abi-compliance-checker to flag a change in the register containing the
160   parameter `previous_op_state`.
161
1625. platform: Stabilise decode_pldm_platform_cper_event() API
1636. oem: meta: Stabilise decode_oem_meta_file_io_write_req() API
1647. oem: meta: Stabilise decode_oem_meta_file_io_read_req() API
1658. oem: meta: Stabilise encode_oem_meta_file_io_read_resp() API
166
167### Deprecated
168
1691. Rename and deprecate functions with the `_check` suffix
170
171   All library function return values always need to be checked. The `_check`
172   suffix is redundant, so remove it. Migration to the non-deprecated
173   equivalents without the `_check` suffix can be performed using
174   `scripts/ apply-renames` and the [clang-rename][] configurations under
175   `evolutions/`
176
177   The deprecated functions:
178
179   - `get_fru_record_by_option_check()`
180   - `pldm_bios_table_append_pad_checksum_check()`
181   - `pldm_bios_table_attr_entry_enum_decode_def_num_check()`
182   - `pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()`
183   - `pldm_bios_table_attr_entry_enum_decode_pv_num_check()`
184   - `pldm_bios_table_attr_entry_enum_encode_check()`
185   - `pldm_bios_table_attr_entry_integer_encode_check()`
186   - `pldm_bios_table_attr_entry_string_decode_def_string_length_check()`
187   - `pldm_bios_table_attr_entry_string_encode_check()`
188   - `pldm_bios_table_attr_value_entry_encode_enum_check()`
189   - `pldm_bios_table_attr_value_entry_encode_integer_check()`
190   - `pldm_bios_table_attr_value_entry_encode_string_check()`
191   - `pldm_bios_table_string_entry_decode_string_check()`
192   - `pldm_bios_table_string_entry_encode_check()`
193   - `pldm_entity_association_pdr_add_check()`
194   - `pldm_entity_association_pdr_add_from_node_check()`
195   - `pldm_pdr_add_check()`
196   - `pldm_pdr_add_fru_record_set_check()`
197
198[clang-rename]: https://clang.llvm.org/extra/clang-rename.html
199
2002. `decode_get_pdr_repository_info_resp()`
201
202   Users should move to `decode_get_pdr_repository_info_resp_safe()` which
203   eliminates the opportunity for buffer overruns when extracting objects from
204   the message.
205
2063. `decode_get_pdr_resp()`
207
208   Users should move to `decode_get_pdr_resp_safe()` which reduces the
209   invocation tedium and improves memory safety over `decode_get_pdr_resp()`.
210
211### Removed
212
2131. IBM OEM header compatibility symlinks.
214
215   Anyone left using the deprecated paths can migrate using the coccinelle patch
216   at `evolutions/current/oem-ibm-header-compat.cocci`.
217
218### Fixed
219
2201. requester: instance-id: Release read lock on conflict
2212. pdr: Error propagation for
222   pldm_entity_association_pdr_add_from_node_with_record_handle()
223
224## [0.8.0] - 2024-05-23
225
226### Added
227
2281. base: Provide pldm_msg_hdr_correlate_response()
2292. transport: af-mctp: Add pldm_transport_af_mctp_bind()
2303. oem: ibm: Add chapdata file type support
2314. base: Added PLDM_SMBIOS & PLDM_RDE message types
2325. oem: meta: Add decode_oem_meta_file_io_req()
2336. state-set: Add all state set values to system power state enum as per DSP0249
2347. platform: Add alias members to the enum
235   pldm_pdr_repository_chg_event_change_record_event_data_operation.
236
237   enum constants with inconsistent names are deprecated with this change.
238   remove old inconsistent enum members after backward compatibility cleanup is
239   done
240
2418. oem-ibm: Alias `pldm_oem_ibm_fru_field_type` members as `PLDM_OEM_IBM_*`
2429. oem: ibm: Add Firmware Update Access Key(UAK) as a FRU field type
24310. platform: Add 3 PDR type enum for Redfish Device Enablement per
244    DSP0248_1.2.0
24511. state_set: Add CONNECTED and DISCONNECTED enum for Link State set
24612. entity: Add enum for Network Interface Connectors and Network Ports
247    Connection Types
24813. pdr: Add decode_numeric_effecter_pdr_data()
24914. oem: ibm: Support for the Real SAI entity id
25015. fw_update: Add encode req & decode resp for query_downstream_devices
25116. fw_update: Add encode req & decode resp for query_downstream_identifiers
25217. platform: Add support for GetStateEffecterStates command
253
254### Changed
255
2561. base: Stabilise pldm_msg_hdr_correlate_response()
2572. transport: af-mctp: Stabilise pldm_transport_af_mctp_bind()
2583. libpldm: Fix header use
2594. libpldm: More fixes for header use
2605. pdr: Stabilise pldm_pdr_find_last_in_range() API
2616. pdr: Stabilise pldm_entity_association_pdr_add_from_node_with_record_handle()
2627. oem: meta: stabilise decode_oem_meta_file_io_req()
2638. pdr: pldm_entity_association_tree_copy_root(): Document preconditions
264
265### Deprecated
266
2671. Deprecate `pldm_oem_ibm_fru_field_type` members that that are not prefixed
268   with `PLDM_OEM_IBM_`
269
270### Fixed
271
2721. libpldm: Rationalise the local and installed path of pldm.h
2732. pdr: Assign record_handle in entity_association_pdr_add_children()
2743. msgbuf: Require sensor data enum in pldm_msgbuf_extract_sensor_value()
2754. pdr: Remove redundant constant for minimum numeric sensor PDR length
2765. tests: oem: meta: Fix fileio use of msgbuf
277
278## [0.7.0] - 2023-08-29
279
280### Added
281
2821. state-set: Add new enum for Operational Fault Status enum
283
284### Changed
285
2861. transport: Match specified metadata in pldm_transport_send_recv_msg()
2872. transport: mctp-demux: Drop ABI annotation for internal symbols
2883. transport: Stabilise core transport and implementation APIs
289
290   This stabilisation covers the following headers and functions:
291
292   - libpldm/transport.h
293
294     - pldm_transport_poll()
295     - pldm_transport_send_msg()
296     - pldm_transport_recv_msg()
297     - pldm_transport_send_recv_msg()
298
299   - libpldm/transport/af-mctp.h
300
301     - pldm_transport_af_mctp_init()
302     - pldm_transport_af_mctp_destroy()
303     - pldm_transport_af_mctp_core()
304     - pldm_transport_af_mctp_init_pollfd()
305     - pldm_transport_af_mctp_map_tid()
306     - pldm_transport_af_mctp_unmap_tid()
307
308   - libpldm/transport/mctp-demux.h
309     - pldm_transport_mctp_demux_init()
310     - pldm_transport_mctp_demux_destroy()
311     - pldm_transport_mctp_demux_core()
312     - pldm_transport_mctp_demux_init_pollfd()
313     - pldm_transport_mctp_demux_map_tid()
314     - pldm_transport_mctp_demux_unmap_tid()
315
316### Deprecated
317
3181. All the existing "requester" APIs from `libpldm/pldm.h` (also known as
319   `libpldm/requester/pldm.h`):
320
321   - pldm_open()
322   - pldm_send_recv()
323   - pldm_send()
324   - pldm_recv()
325   - pldm_recv_any()
326   - pldm_close()
327
328   Users should migrate to the newer "transport" APIs instead.
329
330## Fixed
331
3321. tests: Exclude transport tests when build excludes testing ABIs
3332. abi: Capture deprecation of pldm_close()
334
335## [0.6.0] - 2023-08-22
336
337### Changed
338
3391. pdr: Avoid ID overflow in pldm_entity_association_tree_add_entity()
3402. meson: Apply `b_ndebug=if-release` by default
3413. pdr : Stabilize pldm_entity_association_tree_add_entity()
3424. pdr: Stabilise pldm_entity_association_tree_find_with_locality()
3435. pdr: Stabilize pldm_entity_node_get_remote_container_id()
3446. transport: af-mctp: Assign out-params on success in \*\_recv()
3457. transport: Generalise the pldm_transport_recv_msg() API
346
347### Removed
348
3491. pdr: Remove pldm_entity_association_pdr_add()
3502. state-set: Remove enum pldm_state_set_operational_fault_status_values
351
352### Fixed
353
3541. transport: register init_pollfd callback for af-mctp
3552. transport: fix init_pollfd function parameter
3563. transport: Fix doxygen and variables for send and recv functions
3574. transport: af-mctp: Ensure malloc() succeeds in \*\_recv()
358
359## [0.5.0] - 2023-08-09
360
361### Added
362
3631. pdr: Introduce pldm_entity_association_pdr_add_check()
364
365### Changed
366
3671. pdr: Allow record_handle to be NULL for pldm_pdr_add_check()
3682. transport: pldm_transport_poll(): Adjust return value semantics
3693. transport: free un-wanted responses in pldm_transport_send_recv_msg()
370
371### Deprecated
372
3731. state-set: Enum pldm_state_set_operational_fault_status_values
374
375   The enum operational_fault_status is defined with wrong members and will
376   eventually be replaced with the correct members. Any uses of
377   pldm_state_set_operational_fault_status_values members should move to
378   equivalent pldm_state_set_operational_stress_status_values members if needed.
379
3802. platform: Struct field name in fru_record_set PDR
381
382   References to entity_instance_num should be changed to entity_instance
383
3843. platform: Struct field name in numeric sensor value PDR
385
386   References to entity_instance_num should be changed to entity_instance
387
388### Removed
389
3901. bios_table: Remove pldm_bios_table_attr_entry_integer_encode_length()
3912. bios_table: Remove pldm_bios_table_attr_value_entry_encode_enum()
3923. bios_table: Remove pldm_bios_table_attr_value_entry_encode_string()
3934. bios_table: Remove pldm_bios_table_attr_value_entry_encode_integer()
3945. bios_table: Remove pldm_bios_table_append_pad_checksum()
3956. fru: Remove get_fru_record_by_option()
3967. pdr: Make is_present() static
3978. pdr: Remove pldm_pdr_add()
3989. pdr: Remove pldm_pdr_add_fru_record_set()
39910. pdr: Remove pldm_entity_association_pdr_add_from_node()
40011. pdr: Make find_entity_ref_in_tree() static
40112. pdr: Make entity_association_tree_find() static
402
403### Fixed
404
4051. requester: Fix response buffer cast in pldm_send_recv()
4062. pdr: Hoist record handle overflow test to avoid memory leak
4073. transport: Correct comparison in while loop condition
408
409## [0.4.0] - 2023-07-14
410
411### Added
412
4131. bios_table: Introduce pldm_bios_table_append_pad_checksum_check()
4142. fru: Introduce get_fru_record_by_option_check()
4153. pdr: Introduce pldm_entity_association_pdr_add_from_node_check()
4164. pdr: Introduce pldm_pdr_add_check()
4175. pdr: Introduce pldm_pdr_add_fru_record_set_check()
418
419### Changed
420
4211. requester: Mark pldm_close() as LIBPLDM_ABI_TESTING
4222. requester: Expose pldm_close() in header
4233. bios_table: pldm_bios_table_string_entry_encode_check(): Handle overflow
4244. bios_table: pldm_bios_table_iter_create(): Return NULL on failed alloc
4255. bios_table: pldm_bios_table_iter_next(): Invalid entry halts iteration
4266. pdr: pldm_pdr_init(): Return NULL on allocation failure
4277. pdr: pldm_pdr_destroy(): Exit early if repo is NULL
4288. pdr: Document preconditions for trivial accessor functions
429
430   A trivial accessor function is one that exposes properties of an object in a
431   way can't result in an error, beyond passing an invalid argument to the
432   function. For APIs meeting this definition we define a precondition that
433   struct pointers must point to valid objects to avoid polluting the function
434   prototypes. The following APIs now have this precondition explicitly defined:
435
436   - pldm_entity_extract()
437   - pldm_entity_get_parent()
438   - pldm_entity_is_exist_parent()
439   - pldm_entity_is_node_parent()
440   - pldm_is_current_parent_child
441   - pldm_is_empty_entity_assoc_tree()
442   - pldm_pdr_get_record_count()
443   - pldm_pdr_get_record_handle()
444   - pldm_pdr_get_repo_size()
445   - pldm_pdr_record_is_remote()
446
4479. pdr: pldm_entity_node_get_remote_container_id() is a trivial accessor
44810. pdr: pldm_pdr_fru_record_set_find_by_rsi(): Exit early on NULL arguments
44911. pdr: pldm_entity_association_tree_init(): Return NULL on failed alloc
45012. pdr: pldm_entity_association_tree_visit(): Document preconditions
45113. pdr: pldm_entity_association_tree_visit(): Exit early on failure
45214. pdr: pldm_entity_association_tree_destroy(): Exit early on bad argument
45315. pdr: pldm_entity_get_num_children(): Return zero for invalid arguments
45416. pdr: pldm_is_current_parent_child(): Return false for invalid arguments
45517. pdr: pldm_entity_association_pdr_add(): Exit early on bad arguments
45618. pdr: pldm_find_entity_ref_in_tree(): Exit early on bad arguments
45719. pdr: pldm_entity_association_tree_find(): Early exit on bad arguments
45820. pdr: pldm_entity_association_tree_destroy_root(): Exit early on bad arg
45921. pdr: pldm_entity_association_pdr_extract(): Early exit on bad arguments
46022. pdr: pldm_entity_association_pdr_extract(): Assign out params at exit
46123. pdr: pldm_entity_get_num_children(): Don't return invalid values
46224. libpldm: Lift or remove asserts where a subsequent check exists
463
464### Deprecated
465
4661. pldm_bios_table_attr_entry_integer_encode()
467
468   Migrate to pldm_bios_table_attr_entry_integer_encode_check()
469
4702. bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_enum()
471
472   Migrate to pldm_bios_table_attr_value_entry_encode_enum_check()
473
4743. bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_string()
475
476   Migrate to pldm_bios_table_attr_value_entry_encode_string_check()
477
4784. bios_table: Deprecate pldm_bios_table_attr_value_entry_encode_integer()
479
480   Migrate to pldm_bios_table_attr_value_entry_encode_integer_check()
481
4825. pdr: Deprecate is_present()
483
484   There should be no users of this symbol. If you are a user, you should figure
485   out how to stop, or get in touch. This symbol will be marked static the
486   release after deprecation.
487
4886. pdr: Deprecate find_entity_ref_in_tree()
489
490   There should be no users of this symbol. If you are a user, you should figure
491   out how to stop, or get in touch. This symbol will be marked static the
492   release after deprecation.
493
4947. pdr: Deprecate entity_association_tree_find()
495
496   There should be no users of this symbol. If you are a user, you should figure
497   out how to stop, or get in touch. This symbol will be marked static the
498   release after deprecation.
499
5008. bios_table: Stabilise pldm_bios_table_append_pad_checksum_check()
501
502   pldm_bios_table_append_pad_checksum() is deprecated by this change. Users of
503   pldm_bios_table_append_pad_checksum() should migrate to
504   pldm_bios_table_append_pad_checksum_check()
505
5069. fru: Stabilise get_fru_record_by_option_check()
507
508   get_fru_record_by_option() is deprecated by this change. Users of
509   get_fru_record_by_option() should migrate to get_fru_record_by_option_check()
510
51110. pdr: Stabilise pldm_entity_association_pdr_add_from_node_check()
512
513    pldm_entity_association_pdr_add_from_node() is deprecated by this change.
514    Users of pldm_entity_association_pdr_add_from_node() should migrate to
515    pldm_entity_association_pdr_add_from_node_check()
516
51711. pdr: Stabilise pldm_pdr_add_check()
518
519    pldm_pdr_add() is deprecated by this change. Users of pldm_pdr_add() should
520    migrate to pldm_pdr_add_check()
521
52212. pdr: Stabilise pldm_pdr_add_fru_record_set_check()
523
524    pldm_pdr_add_fru_record_set() is deprecated by this change. Users of
525    pldm_pdr_add_fru_record_set() should migrate to
526    pldm_pdr_add_fru_record_set_check()
527
528### Removed
529
5301. bios_table: Remove deprecated APIs sanitized by assert():
531
532   - pldm_bios_table_string_entry_encode()
533   - pldm_bios_table_string_entry_decode_string()
534   - pldm_bios_table_attr_entry_enum_encode()
535   - pldm_bios_table_attr_entry_enum_decode_pv_num()
536   - pldm_bios_table_attr_entry_enum_decode_def_num()
537   - pldm_bios_table_attr_entry_enum_decode_pv_hdls()
538   - pldm_bios_table_attr_entry_string_encode()
539   - pldm_bios_table_attr_entry_string_decode_def_string_length()
540
541### Fixed
542
5431. pdr: Return success for pldm_pdr_find_child_container_id_range_exclude() API
5442. pdr: Rework pldm_pdr_find_container_id_range_exclude() API
5453. transport: mctp-demux: Don't test socket for non-zero value
5464. requester: Return PLDM_REQUESTER_OPEN_FAIL from pldm_open() on error
5475. pdr: pldm_pdr_fru_record_set_find_by_rsi(): Document reality of return
5486. transport: Fix possible NULL ptr deref in pldm_socket_sndbuf_init()
5497. abi: Update to remove pldm_close() from reference dumps
5508. bios_table: Annotate pldm_bios_table_attr_value_entry_encode_integer()
551
552## [0.3.0] - 2023-06-23
553
554### Added
555
5561. Add encode/decode pldmMessagePollEvent data
5572. README: Add a section on working with libpldm
5583. pdr: Introduce remote_container_id and associated APIs
5594. pdr: Add APIs for creating and locating remote PDRs
5605. pdr: Add pldm_pdr_find_last_in_range()
5616. pdr: Add pldm_entity_association_pdr_add_from_node_with_record_handle()
5627. pdr: Add pldm_pdr_find_container_id_range_exclude()
563
564### Changed
565
5661. include: Move installed transport.h under libpldm/
5672. libpldm: Explicit deprecated, stable and testing ABI classes
5683. meson: Reduce strength of oem-ibm requirements from enabled to allowed
569
570   The `oem-ibm` feature is now enabled by the default meson configuration, for
571   CI purposes. `oem-ibm` is still disabled by default in the `libpldm` bitbake
572   recipe:
573
574   <https://github.com/openbmc/openbmc/blob/master/meta-phosphor/recipes-phosphor/libpldm/libpldm_git.bb#L10>
575
576   To disable `oem-ibm` in your development builds, pass `-Doem-ibm=disabled`
577   when invoking `meson setup`
578
5794. bios_table: Relax pldm_bios_table_string_entry_decode_string_check()
5805. bios_table: Relax pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()
581
582### Deprecated
583
5841. bios_table: Deprecate APIs with arguments sanitized using assert()
585
586   C provides enough foot-guns without us encoding them into library APIs.
587   Specifically, deprecate the following in favour of their `*_check()` variants
588   which ensure assertions won't fail or otherwise invoke UB:
589
590   - pldm_bios_table_string_entry_encode()
591   - pldm_bios_table_string_entry_decode_string()
592   - pldm_bios_table_attr_entry_enum_encode()
593   - pldm_bios_table_attr_entry_enum_decode_pv_num()
594   - pldm_bios_table_attr_entry_enum_decode_def_num()
595   - pldm_bios_table_attr_entry_enum_decode_pv_hdls()
596   - pldm_bios_table_attr_entry_string_encode()
597   - pldm_bios_table_attr_entry_string_decode_def_string_length()
598
599### Removed
600
6011. libpldm: Remove the requester-api option
602
603### Fixed
604
6051. requester: Make pldm_open() return existing fd
6062. transport: Prevent sticking in waiting for response
6073. transport: Match on response in pldm_transport_send_recv_msg()
6084. requester: Add check before accessing hdr in pldm_recv()
6095. bios_table: pldm_bios_table_attr_entry_string_info_check() NULL deref
610