diff options
author | Sean Anderson <sean.anderson@seco.com> | 2022-04-22 14:50:23 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-05-05 15:06:02 -0400 |
commit | bfae2744dd136198a97b480bc0cc1814663fe33b (patch) | |
tree | 4db0bd4c46aecceff6c32be3017cefaa33372df2 /lib | |
parent | 30705cd89271ea05ff6c65552af3dc4f0680a03c (diff) | |
download | u-boot-bfae2744dd136198a97b480bc0cc1814663fe33b.tar.gz |
serial: smh: Check return value of strndup
strndup can fail. Check for it.
Fixes: 4855b39be ("serial: smh: Implement puts for DM")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions