Title: Issue · GitHub
Open Graph Title: Issue · sezero/mikmod
X Title: Issue · sezero/mikmod
Description: Mikmod Sound System (mirror of git repo at https://sf.net/projects/mikmod/) - Issue · sezero/mikmod
Open Graph Description: Mikmod Sound System (mirror of git repo at https://sf.net/projects/mikmod/) - Issue · sezero/mikmod
X Description: Mikmod Sound System (mirror of git repo at https://sf.net/projects/mikmod/) - Issue · sezero/mikmod
Opengraph URL: https://github.com/sezero/mikmod
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[IT] [XM] OOB reads in envelope code","articleBody":"From a fuzz archive from Aug.2019: Files attached with valgrind outputs.\r\nValgrind runs were made on an i686-linux using examples/test/test.c. An\r\nexample output is inlined below from the 1st file, the rest of them are\r\nsimilar. @AliceLR: Need help with these.\r\n\r\n```\r\nPlaying (1 chn)\r\n==29020== Invalid read of size 2\r\n==29020== at 0x804C888: ProcessEnvelope (mplayer.c:440)\r\n==29020== by 0x8051805: pt_UpdateVoices (mplayer.c:2831)\r\n==29020== by 0x805339A: Player_HandleTick (mplayer.c:3410)\r\n==29020== by 0x8077F3E: VC1_WriteSamples (virtch.c:1161)\r\n==29020== by 0x80776D8: VC1_WriteBytes (virtch_common.c:278)\r\n==29020== by 0x8055F8E: VC_WriteBytes (virtch_common.c:161)\r\n==29020== by 0x8048D87: NS_Update (drv_nos.c:70)\r\n==29020== by 0x804966D: MikMod_Update (mdriver.c:311)\r\n==29020== by 0x8048CB6: main (test.c:84)\r\n==29020== Address 0x404aea0 is 12 bytes after a block of size 4 alloc'd\r\n==29020== at 0x4006041: calloc (vg_replace_malloc.c:593)\r\n==29020== by 0x8048E18: MikMod_calloc (mmalloc.c:118)\r\n==29020== by 0x804B006: AllocTracks (mloader.c:219)\r\n==29020== by 0x806188D: IT_Load (load_it.c:1008)\r\n==29020== by 0x804BB73: Player_LoadGeneric_internal (mloader.c:570)\r\n==29020== by 0x804BE8D: Player_LoadGeneric (mloader.c:647)\r\n==29020== by 0x804BF54: Player_LoadFP (mloader.c:675)\r\n==29020== by 0x804BFA9: Player_Load (mloader.c:689)\r\n==29020== by 0x8048C64: main (test.c:74)\r\n==29020== \r\n==29020== Invalid read of size 2\r\n==29020== at 0x804C89E: ProcessEnvelope (mplayer.c:441)\r\n==29020== by 0x8051805: pt_UpdateVoices (mplayer.c:2831)\r\n==29020== by 0x805339A: Player_HandleTick (mplayer.c:3410)\r\n==29020== by 0x8077F3E: VC1_WriteSamples (virtch.c:1161)\r\n==29020== by 0x80776D8: VC1_WriteBytes (virtch_common.c:278)\r\n==29020== by 0x8055F8E: VC_WriteBytes (virtch_common.c:161)\r\n==29020== by 0x8048D87: NS_Update (drv_nos.c:70)\r\n==29020== by 0x804966D: MikMod_Update (mdriver.c:311)\r\n==29020== by 0x8048CB6: main (test.c:84)\r\n==29020== Address 0x404aea2 is 14 bytes after a block of size 4 alloc'd\r\n==29020== at 0x4006041: calloc (vg_replace_malloc.c:593)\r\n==29020== by 0x8048E18: MikMod_calloc (mmalloc.c:118)\r\n==29020== by 0x804B006: AllocTracks (mloader.c:219)\r\n==29020== by 0x806188D: IT_Load (load_it.c:1008)\r\n==29020== by 0x804BB73: Player_LoadGeneric_internal (mloader.c:570)\r\n==29020== by 0x804BE8D: Player_LoadGeneric (mloader.c:647)\r\n==29020== by 0x804BF54: Player_LoadFP (mloader.c:675)\r\n==29020== by 0x804BFA9: Player_Load (mloader.c:689)\r\n==29020== by 0x8048C64: main (test.c:74)\r\n```\r\n[101-it.tar.gz](https://github.com/sezero/mikmod/files/10421508/101-it.tar.gz)\r\n[103-xm.tar.gz](https://github.com/sezero/mikmod/files/10421509/103-xm.tar.gz)\r\n","author":{"url":"https://github.com/sezero","@type":"Person","name":"sezero"},"datePublished":"2023-01-15T23:22:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/70/mikmod/issues/70"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:2e0898bc-81c8-921c-4350-65d20a1a8634 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB52:139951:393860:50F6BD:6A4BC727 |
| html-safe-nonce | 2ed771f5d29de74fccf605d6ba4e1aa4d93f4e0398e1ca807ea3d030fd0fb20e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjUyOjEzOTk1MTozOTM4NjA6NTBGNkJEOjZBNEJDNzI3IiwidmlzaXRvcl9pZCI6IjY1Mzg4ODA4Njg2MTMzNDMwMTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 96767b84932524c9eab24be5d1f02763165b77ce223991bde3a96f55fe9596b8 |
| hovercard-subject-tag | repository:114225902 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/sezero/mikmod/issues/70 |
| twitter:image | https://opengraph.githubassets.com/1033a18390be119b6990f160107b3db70984b6cf7186ecb2edd3ff7c02c74c75/sezero/mikmod |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1033a18390be119b6990f160107b3db70984b6cf7186ecb2edd3ff7c02c74c75/sezero/mikmod |
| og:image:alt | Mikmod Sound System (mirror of git repo at https://sf.net/projects/mikmod/) - Issue · sezero/mikmod |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 14aa00ce5bdb34d0eefb5facbffd7de9e144c688d8a93ef8df902d5f94b51dd7 |
| turbo-cache-control | no-cache |
| go-import | github.com/sezero/mikmod git https://github.com/sezero/mikmod.git |
| octolytics-dimension-user_id | 4222725 |
| octolytics-dimension-user_login | sezero |
| octolytics-dimension-repository_id | 114225902 |
| octolytics-dimension-repository_nwo | sezero/mikmod |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 114225902 |
| octolytics-dimension-repository_network_root_nwo | sezero/mikmod |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 58b8f89190447502561829f30862aa0a99d53367 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width