Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
M
mpd
  • 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
  • Registry
    • Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Иван Мажукин
  • mpd
  • Repository

Switch branch/tag
  • mpd
  • src
  • archive
  • plugins
  • Iso9660ArchivePlugin.cxx
Find file
BlameHistoryPermalink
  • Max Kellermann's avatar
    archive/iso9660: fix off-by-one assertion failure · 3b05c897
    Max Kellermann authored Sep 06, 2022
    Calling data[fill] could trigger an assertion failure if
    fill==data.size(), even if we call it only to take the address.
    
    Instead of doing that, this commit changes the code to pointer
    arithmetic.
    
    Closes https://github.com/MusicPlayerDaemon/MPD/issues/1556
    3b05c897
Iso9660ArchivePlugin.cxx 7.76 KB
EditWeb IDE

Replace Iso9660ArchivePlugin.cxx

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.