commit | 90e81fa2bc1447b1b508200fa05a1b62013ab2d9 | [log] [tgz] |
---|---|---|
author | Chalapathi Venkataramashetty <chalapathix.venkataramashetty@intel.com> | Tue May 11 09:13:23 2021 +0000 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Tue Jun 08 17:19:52 2021 +0000 |
tree | fa7da86fb2ae5dca087b6a3a8ac1a142f715fa72 | |
parent | 61024d7df56eb753173ded7fd2ce9cd30a5be800 [diff] |
dcmihandler: update data_len to zero when getPowerReading command failed Issue: heap data is leaked by sending the getPowerReading command Fix: set the data_len to zero in getPowerReading command so that data is not leaked when error occurred during getPowerReading. Tested: Command: FS1:\cmdtool\> cmdtool.efi 20 B0 02 DC 2c 2d 2f Response: FF DC Command: FS1:\cmdtool\> cmdtool.efi 20 B0 02 DC 2c 2d 2f 02 0d DC Response: FF DC Signed-off-by: Chalapathi Venkataramashetty <chalapathix.venkataramashetty@intel.com> Change-Id: I33657439ffd5a632856382715e22377e18258826
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.