Commit f3adcab3 authored by Federico Vaga's avatar Federico Vaga

Merge branch 'release/v1.1.4'

parents a16ab11e fe524c4c
Pipeline #3251 canceled with stages
......@@ -7,6 +7,12 @@
Changelog
=========
1.1.4 - 2022-02-23
==================
Fixed
-----
- sw: ensure to have NULL terminated strings
1.1.3 - 2021-07-29
==================
Fixed
......
......@@ -47,7 +47,7 @@ static void fmc_slot_eeprom_init(struct fmc_slot *slot,
struct i2c_board_info *info,
const char *name)
{
strncpy(info->type, name, I2C_NAME_SIZE);
strncpy(info->type, name, I2C_NAME_SIZE - 1);
info->addr = FMC_EEPROM_ADDR_SPACE;
info->platform_data = &slot->at24_data;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment