std::sort instead of qsort: The C++ standard template library (std::sort) uses an entirely different algorithm (Introsort, a hybrid of Quicksort, Heapsort, and Insertion Sort) and does not use musl's flawed smoothsort primitives. It is completely immune to this CVE.qsort on a wasm32 target, implement strict validation to ensure no user-controlled data can feed more than 7 million elements into a single sort call.--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/emscripten-discuss/CAH1xqgkxYUyceur7EGdbMjjZ2EA_i%3Dy7wLDb8nKgDObQnP-rog%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/emscripten-discuss/CACD-exv0UzPQW_HQaQv88cfT7d69iX%3D0jTMhWUaCysVQpjf0WQ%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/emscripten-discuss/CAL_va2-xybTiiyr-_Tjg49it%3DkM6KWL-qopfv3onL2p2VvQVvg%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/emscripten-discuss/CAL_va2-xybTiiyr-_Tjg49it%3DkM6KWL-qopfv3onL2p2VvQVvg%40mail.gmail.com.