Skip to content

Fuzz patch 1 original#67

Merged
Konstanty merged 52 commits intoKonstanty:oob_read_fixesfrom
AliceLR:fuzz-patch-1-original
Jan 28, 2022
Merged

Fuzz patch 1 original#67
Konstanty merged 52 commits intoKonstanty:oob_read_fixesfrom
AliceLR:fuzz-patch-1-original

Conversation

@Konstanty
Copy link
Owner

  • Experimenting merging on existing fuzz fixes.

AliceLR added 30 commits June 12, 2021 23:49
* Fix out-of-bounds reads in the DSMI AMF loader caused by missing
  order list bounds checks.
* Fix out-of-bounds reads in the FAR loader caused by not correctly
  bounding the maximum pattern read size.
* Fix out-of-bounds reads in the IT sample decompressors caused by
  allowing ITReadBits to read past the end of the sample buffer.
* Fix out-of-bounds reads in the MED loader caused by the MMD2PLAYSEQ
  table bounds check not including the size of the offset being read.
* Fix out-of-bounds reads in the MIDI loader caused by no bounds
  checks being performed on the mmread* and mid_read* functions.
* Fix leaks in the MIDI loader caused by not freeing MIDTRACKs.
* Fix leak and hangs in the MIDI loader caused by not releasing the
  MIDI structs and reentry flag when m_nChannels is 0.
* Fix out-of-bounds reads in the OKT loader caused by numerous bounds
  checks not correctly including the size of the data being read.
* Fix out-of-bounds reads in the PSM loader caused by dereferencing
  (PSMCHUNK *)lpStream before any bounds checks.
* Fix out-of-bounds reads in the S3M loader due to various absent
  bounds checks.
* Fix out-of-bounds reads in the ULT loader due to incorrect event
  bounding.
* Fix out-of-bounds reads in the XM loader due to not including the
  size of XMINSTRUMENTHEADER in the XMSAMPLEHEADER bounds check.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants