commit | 0877a709f4fb6e61b913324642d21238d98e974d | [log] [tgz] |
---|---|---|
author | Qiang Chen <quic_qianch@quicinc.com> | Wed Jul 20 16:03:37 2022 +0800 |
committer | Qiang Chen <quic_qianch@quicinc.com> | Wed Jul 20 16:03:37 2022 +0800 |
tree | 7a590b00c12d40459d1c5f6c1e499ee1b2fc55ba | |
parent | 70e5c81ec2f78b00f915fd1c281222eff81e0d09 [diff] |
agm: fix overflow issue due to sscanf overflow one byte The '\0' terminator added by sscanf will overflow one byte, oob write to other field in struct device_obj. The format for device_obj->name should be %79 or less. Change-Id: Idf925bf6d508d10b102d70080b0cf429e1cebeb0