As far as I know, there are no issues with vec_sort_with_function. It’s been unchanged for many years. We use it in lots of places, and it does not give trouble.
Unless someone feeds it a dangling vector reference, or writes a broken element comparison function. If after taking a good hard look at your own code, you still believe there’s an issue: please see https://fdio-vpp.readthedocs.io/en/latest/troubleshooting/reportingissues/reportingissues.html. Thanks... Dave P.S. vpp-18.10 is no longer supported. Please consider switching to vpp-19.08. From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of krishnamurthy.m...@gmail.com Sent: Saturday, September 14, 2019 6:52 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Crash in qsort Hi, I am using the API vec_sort_with_function to sort a vector and I am noticing that it crashes. This API uses qsort function to sort the vector. Are there any knows issues with the implementation of qsort? I did see a couple of messages in this list discussing potential buffer overflow issues with this function. Can someone please educate me about other options I can use for sorting the vector (other than writing my own function?) We are using v18.10 version of Fd.Io. Thanks Krishna
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13985): https://lists.fd.io/g/vpp-dev/message/13985 Mute This Topic: https://lists.fd.io/mt/34147878/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-