Commit 620b4ff
committed
Update fw version string to expected size
changed the 64 byte buffer sent to switchtec_get_fw_version
function to 32. Since we are expecting the version information
to be at most 32 bytes there is no need to have the destination
buffer set to 64 when strncpy is called in the
switchtec_get_fw_version function within lib/platform/platform.c.1 parent 19a570c commit 620b4ff
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
0 commit comments