util/os_file: resize buffer to what was actually needed
Fixes: 31696470 "util: add os_read_file() helper" Reported-by:Jason Ekstrand <jason@jlekstrand.net> Signed-off-by:
Eric Engestrom <eric.engestrom@intel.com> Reviewed-by:
Tapani Pälli <tapani.palli@intel.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> (cherry picked from commit 955c63d3)
Loading
Please register or sign in to comment