summaryrefslogtreecommitdiff
path: root/vpx/vpx_codec.h
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2022-07-26 19:08:40 -0700
committerJames Zern <jzern@google.com>2022-07-27 15:37:06 -0700
commit1c0c4d51b474585d05b36d2d70af6b20f507c931 (patch)
tree22bd4c0957d5c3c910f764bda1d22538192a0f71 /vpx/vpx_codec.h
parent9c09d36ee7ac5304c16bc567f3d370c6f96cc7be (diff)
downloadlibvpx-1c0c4d51b474585d05b36d2d70af6b20f507c931.tar
libvpx-1c0c4d51b474585d05b36d2d70af6b20f507c931.tar.gz
libvpx-1c0c4d51b474585d05b36d2d70af6b20f507c931.tar.bz2
libvpx-1c0c4d51b474585d05b36d2d70af6b20f507c931.zip
y4m_input_fetch_frame: fix ubsan null/zero offset warning
reported under clang-13; use a while loop in file_read() to force a size check before attempting to read. buf (aux_buf) may be may be null when no conversion is necessary. y4minput.c:29:43: runtime error: applying zero offset to null pointer Bug: b/229626362 Change-Id: Ia3250d6ff9c325faf48eaa31f4399e20837f8f7b
Diffstat (limited to 'vpx/vpx_codec.h')
0 files changed, 0 insertions, 0 deletions