os: lib: bin2hex: fix memory overwrite
Destination buffer size could be too small by one,
but null termination is still written. This could cause an
overwrite in contiguous memory without notice.
Signed-off-by:
Rico Ganahl <rico.ganahl@bytesatwork.ch>
Loading
Please sign in to comment