dxe: Check for available free descriptors

In dxeRXLogRefillRing, the descriptors are filled till the buffer
becomes empty without considering the avilable free descriptors. Added
check to this, also validated the max buffer length before processing
it.

Change-Id: I4f0a5820c9e639157b5dc1ef51a9dda8cc89aff2
CRs-Fixed: 887264
3 files changed
tree: 2a85b2c099faddf7c3fa0fa80c77a78b3afd5047
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile