Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in / Register
F
ffmpeg
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • submodule
  • ffmpeg
  • Repository

Switch branch/tag
  • ffmpeg
  • libavformat
  • wavdec.c
Find file
BlameHistoryPermalink
  • Matt Wolenetz's avatar
    lafv/wavdec: Fail bext parsing on incomplete reads · 1ed2fae5
    Matt Wolenetz authored Jul 25, 2019
    avio_read can successfully return even when less than the requested
    amount of input was read. wavdec's bext parsing mistakenly assumed a
    successful avio_read always read the full amount that was requested.
    The result could be dictionary tags populated with partially
    uninitialized values.
    
    This change also fixes a broken assertion in wav_parse_bext_string that
    was off-by-one, though no known current usage of that method hits that
    broken case.
    
    Chromium bug: 987270
    Signed-off-by: 's avatarMatt Wolenetz <wolenetz@chromium.org>
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    (cherry picked from commit 052d4137)
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    1ed2fae5
wavdec.c 28.6 KB
EditWeb IDE

Replace wavdec.c

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.