Skip to content
  • Timothy B. Terriberry's avatar
    Fix decoder handling of floor0 when the LSP order is 1. · 3ada73cc
    Timothy B. Terriberry authored
    Header setup allows the LSP order to be as low as one, but the code in
     vorbis_lsp_to_curve() assumed it was at least two.
    This wasn't terrible in libvorbis... it would multiply a nonsense (but defined)
     value into the output, and nothing more.
    In Tremor, it referenced several completely undefined (stack) values, which
     could cause out-of-bounds lookup table accesses and crashes.
    
    
    git-svn-id: https://svn.xiph.org/trunk/Tremor@17538 0101bb08-14d6-0310-b084-bc0e0c8e3800
    3ada73cc