Skip to content
  • tsdgeos's avatar
    Make sure nSelectors is not out of range · 74de1e2e
    tsdgeos authored and Federico Mena Quintero's avatar Federico Mena Quintero committed
    nSelectors is used in a loop from 0 to nSelectors to access selectorMtf
    which is
    	UChar    selectorMtf[BZ_MAX_SELECTORS];
    so if nSelectors is bigger than BZ_MAX_SELECTORS it'll do an invalid memory
    access
    
    Fixes out of bounds access discovered while fuzzying karchive
    74de1e2e