Skip to content
Branch: master
Commits on Feb 17, 2019
  1. Fix a crash due to an out-of-bounds array access

    saagarjha authored and jmroot committed Feb 14, 2019
    entry_search had a "type confusion" bug where it would perform array
    accesses that bypassed bounds checks if given arguments that looked like
    strategies. I've rewritten most of the argument parsing loop in a way
    that should eliminate this issue, while being shorter and more
    straightforward (with less duplicated code), only requiring one pass
    through the arguments. The downside is that we allocate a bit more
    memory and have a couple of gotos to handle errors.
You can’t perform that action at this time.