HomeFreeBSD

i2c(8): uninitialized variable (UNINIT).

Description

i2c(8): uninitialized variable (UNINIT).

If i2c_opt.width is somehow zero, the bufsize will be left uninitialized
and make cause trouble later on.

CID: 1331549

Details

Provenance
pfgAuthored on
Parents
rS299585: Declare line[] in the outermost scope of retrieve() instead of
Branches
Unknown
Tags
Unknown