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
  • id3v2.c
Find file
BlameHistoryPermalink
  • Andreas Rheinhardt's avatar
    avformat/id3v2: Fix double-free on error · d39a0587
    Andreas Rheinhardt authored Nov 10, 2019
    ff_id3v2_parse_priv_dict() uses av_dict_set() with the flags
    AV_DICT_DONT_STRDUP_KEY and AV_DICT_DONT_STRDUP_VAL. In this case both
    key and value are freed on error (and owned by the destination
    dictionary on success), so that freeing them again on error is a
    double-free and therefore forbidden. But it nevertheless happened.
    
    Fixes CID 1452489 and 1452421.
    Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    (cherry picked from commit 67d4940a)
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    d39a0587
id3v2.c 36 KB
EditWeb IDE

Replace id3v2.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.