diff options
| author | Zane Shelley <zshelle@us.ibm.com> | 2017-01-31 10:21:32 -0600 |
|---|---|---|
| committer | Zane C. Shelley <zshelle@us.ibm.com> | 2017-02-10 17:34:54 -0500 |
| commit | a56b9bde18a2baac1b4e9b8f31ba1d7ff8f4ca71 (patch) | |
| tree | 50ffe23b298c73f48e625f3563d2cda875328844 /src/usr/diag/prdf/test | |
| parent | 500d4171608d4619d547f3a4dccedc67a3278561 (diff) | |
| download | blackbird-hostboot-a56b9bde18a2baac1b4e9b8f31ba1d7ff8f4ca71.tar.gz blackbird-hostboot-a56b9bde18a2baac1b4e9b8f31ba1d7ff8f4ca71.zip | |
PRD: cleaned BitString::Pattern()
This function had a off-by-one error that could access memory beyond
the available memory space.
Change-Id: I762d0e24f0cc7ecd42e7f9393b0dc5b3b8bddefc
RTC: 167819
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35688
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com>
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36201
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/test')
| -rw-r--r-- | src/usr/diag/prdf/test/prdfTest_ScomAccessInterface.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/diag/prdf/test/prdfTest_ScomAccessInterface.H b/src/usr/diag/prdf/test/prdfTest_ScomAccessInterface.H index 492e5e376..b5c73081c 100644 --- a/src/usr/diag/prdf/test/prdfTest_ScomAccessInterface.H +++ b/src/usr/diag/prdf/test/prdfTest_ScomAccessInterface.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016 */ +/* Contributors Listed Below - COPYRIGHT 2016,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -99,7 +99,7 @@ public: TS_FAIL("Unexpected error calling PRDF::PlatServices::putScom"); break; } - bs.Clear(); + bs.clearAll(); rc = PRDF::PlatServices::getScom(target, bs, address); |

