diff options
| author | Vince Chang <vince_chang@aspeedtech.com> | 2025-04-16 12:20:15 +0300 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2025-04-16 16:04:01 +0300 |
| commit | 36d626ab36102f241ce100f5cf485ef277c7e942 (patch) | |
| tree | 0b448a9d8033199d0818d3d75bc3dcd2db7625ab /meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib | |
| parent | e7542368176fa98154cedf98a7bb877db2fdbbf1 (diff) | |
| download | openbmc-36d626ab36102f241ce100f5cf485ef277c7e942.tar.xz | |
meta-phosphor: i2c-tools: resolve segmentation fault in i2cdump
Fixes: 6b3686d12349 ("meta-phosphor: i2c-tools: rebase patch for 4.4")
Corrected the argument index for checking "d" from `argv[optind+3]` to
`argv[optind+2]`. The incorrect index caused segmentation fault.
Tested:
```
root@ast2700-default:~# i2cdump -fy 0 0x30 i
No segmentation fault
```
Change-Id: I5c10fe00cebcd52dee379678e47105717c33afc8
Signed-off-by: Vince Chang <vince_chang@aspeedtech.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib')
0 files changed, 0 insertions, 0 deletions
