Menu

#37 poseverts[MAXALIASFRAMES] access is missing bounds check

None
closed-fixed
nobody
None
5
2020-04-13
2019-11-25
No

Currently, .mdl's with >256 frames will cause memory corruption since the limit is not checked.

We could easily lift this limit since protocol 666 already supports 16-bit frame indices on models.
QSS probably has already done this since Spike revamped the mdl loading code there.

Discussion

  • Ozkan Sezer

    Ozkan Sezer - 2019-12-03

    Have a patch for this?

     
  • Eric Wasylishen

    Eric Wasylishen - 2020-04-13

    Fixed in r1670 with Oz's patch

     
  • Eric Wasylishen

    Eric Wasylishen - 2020-04-13
    • status: open --> closed-fixed
     

Log in to post a comment.