FreeRDP/FreeRDP — pull request #1656 by hardening (2014-01-08 16:00:26+00:00)
Title: Fix CVE-2014-0791

This patch fixes CVE-2014-0791, the remaining length in the stream is checked before doing some malloc().

This one does the length check correctly.