Dan Carpenter wrote: > The original code had ENDPOINT_MAX and HST_ENDPOINT_MAX switched. > > Also the first loop was off by one, it started past the end of the array > and went down to 1 instead of going down to 0. The test at the end of > the loop to see if we exited via a break wasn't right because > "tmp_endpoint" is always non-null here.
This is a very good catch and fixes a stack corruption issue. Do you mind if I work upon this patch and send out an updated fix ? Sujith _______________________________________________ ath9k-devel mailing list [email protected] https://lists.ath9k.org/mailman/listinfo/ath9k-devel
