This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Correct range checking in mallopt/mxfast/tcache [BZ #25194]


Jonathan Nieder <jrnieder@gmail.com> writes:
> So the only intended callers are set_tcache_max and set_mxfast (today)
> and __libc_mallopt (in the future)?  Makes sense.

Well, mallopt already calls do_set_mxfast, which is where the original
bug came from.

    case M_MXFAST:
      res = do_set_mxfast (value);
      break;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]