screensize: Dereference pointers when checking cols/rows
commit4a08db73026a67c8979126008f7801a02ac1647e
authorMatt Fleming <matt.fleming@intel.com>
Tue, 27 Nov 2012 16:03:36 +0000 (27 16:03 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 27 Nov 2012 20:48:33 +0000 (27 20:48 +0000)
treed30a4d5936856a3b12522d1f610a0d16c457e5cd
parentd43c57d945f42dd0dbaca747a646a769e49082da
screensize: Dereference pointers when checking cols/rows

Dereference 'rows' and 'cols' to check whether the data they point to
is zero, which would indicate the screen size is bogus, instead of
checking if they point to NULL.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/lib/sys/screensize.c