Commit 1/2: add patches for security advisory.
Patch batch for 2014-10-22.