Skip to content
Commit c1132021 authored by Siddhesh Poyarekar's avatar Siddhesh Poyarekar Committed by Adhemerval Zanella
Browse files

Fall back to non-cached sequence traversal and comparison on malloc fail

strcoll currently falls back to alloca if malloc fails, resulting in a
possible stack overflow.  This patch implements sequence traversal and
comparison without caching indices and rules.

Fixes CVE-2012-4424.
parent 2dc811b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment