This strdup() is missing a check. Add it.
Signed-off-by: Simon Glass
---
drivers/i2c/i2c-uclass.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/i2c/i2c-uclass.c b/drivers/i2c/i2c-uclass.c
index a6991bf..b890806 100644
--- a/drivers/i2c/i2c-uclass.c
+++ b/drivers/i2c/i2c-uclass.c
Hello Simon,
Am 18.02.2015 22:10, schrieb Simon Glass:
This strdup() is missing a check. Add it.
Signed-off-by: Simon Glass
---
drivers/i2c/i2c-uclass.c | 2 ++
1 file changed, 2 insertions(+)
Good catch, Thanks!
Acked-by: Heiko Schocher
bye,
Heiko
diff --git a/drivers/i2c/i2c-uclas
On 19 February 2015 at 00:41, Heiko Schocher wrote:
> Hello Simon,
>
> Am 18.02.2015 22:10, schrieb Simon Glass:
>>
>> This strdup() is missing a check. Add it.
>>
>> Signed-off-by: Simon Glass
>> ---
>>
>> drivers/i2c/i2c-uclass.c | 2 ++
>> 1 file changed, 2 insertions(+)
>
>
> Good catch, T
3 matches
Mail list logo