Menu

#59 Segfault with vorbis

1.04
closed
nobody
None
2022-12-29
2019-06-22
kasymovga
No

segfault with vorbis, buffer have wrong size, possible solution in attachment

1 Attachments

Discussion

  • TimeServ

    TimeServ - 2019-07-07

    Do you have an example or stack trace on this?

     
  • kasymovga

    kasymovga - 2019-07-08

    If i remember correct SND_ResampleStream expect outspeed bytes in buffer.
    But memory allocation occured when only less than 128 bytes leaves in buffer.
    That cause buffer overflow.
    Also segfaults occured not on this part of code, corrupted memory caused it later.

     
  • eukara

    eukara - 2022-03-06
    • status: open --> closed
     
  • eukara

    eukara - 2022-03-06

    (going through old issues)
    has since been addressed upstream.

     
  • Xylemon

    Xylemon - 2022-12-29
     

Log in to post a comment.