commit | 0e7a8af0e50ad352e290e5ba5d63a3f178fb71d9 | [log] [tgz] |
---|---|---|
author | Harvey.Wu <Harvey.Wu@quantatw.com> | Fri Jun 10 16:46:46 2022 +0800 |
committer | Harvey Wu <Harvey.Wu@quantatw.com> | Thu Jun 16 02:57:42 2022 +0000 |
tree | 31fe504c85eb4ec5a689d6ba811769c1f7bddb17 | |
parent | 4376cdf8fa2c2a6311eb541e767d0dfee470deee [diff] |
dbus-sdr: fix the vector size in sdrWriteTable and sdrStatsTable - The original padEntries size is only 0-255 because the input index size is uint8. But if sensor number > 255, the size of padEntries will be different from the size of sensor map, so the result value when using getWritePermission will be incorrect. TEST: Before: ipmitool raw -l 0 0x04 0x30 0x19 0xff 127 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Unable to send RAW command (channel=0x0 netfn=0x4 lun=0x0 cmd=0x30 rsp=0xce): Command response could not be provided ipmitool raw -l 1 0x04 0x30 0x19 0xff 127 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Unable to send RAW command (channel=0x0 netfn=0x4 lun=0x1 cmd=0x30 rsp=0xce): Command response could not be provided After: ipmitool raw -l 0 0x04 0x30 0x19 0xff 127 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ipmitool raw -l 1 0x04 0x30 0x19 0xff 127 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Unable to send RAW command (channel=0x0 netfn=0x4 lun=0x1 cmd=0x30 rsp=0xce): Command response could not be provided Signed-off-by: Harvey.Wu <Harvey.Wu@quantatw.com> Change-Id: Idf6f4f31a1a9d2dd3cc87ebe3a4dc4ca4b283f7c
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
.