commit | 537cf08b2d9aa38476f1854770ce5445f89b2ff8 | [log] [tgz] |
---|---|---|
author | Sean Anderson <sean.anderson@seco.com> | Fri Apr 22 14:50:23 2022 -0400 |
committer | Tom Rini <trini@konsulko.com> | Thu May 05 15:06:02 2022 -0400 |
tree | 4db0bd4c46aecceff6c32be3017cefaa33372df2 | |
parent | 7ba97fa4af6bd471afa1f5a5dada42185bcb54d8 [diff] |
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>