Hi,
I have a problem with the latest code. When I execute 'set interface ip' on the 
command line and press TAB, it will crash. The current direct reason is found 
in the qsort function. When comparing strings, the access is Illegal memory, 
the specific code is as follows:

for (min = base; (hi = min += q->qsz) < max;)
    {
      while ((*q->qcmp) (hi -= q->qsz, min) > 0);
      if ((hi += q->qsz) != min)
           {
             for (lo = min + q->qsz; --lo >= min;)
               {
                 c = *lo;
                 for (i = j = lo; (j -= q->qsz) >= hi; i = j)
                          *i = *j;
                 *i = c;
               }
           }
    }
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10391): https://lists.fd.io/g/vpp-dev/message/10391
Mute This Topic: https://lists.fd.io/mt/25216850/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to