Displaying 3 results from an estimated 3 matches for "5f8643d".
Did you mean:
58643
2014 Apr 03
2
[PATCH] bios: fix a potential NULL deref in the PROM shadowing function
Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
Signed-off-by: Martin Peres <martin.peres at free.fr>
---
nvkm/subdev/bios/base.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/nvkm/subdev/bios/base.c b/nvkm/subdev/bios/base.c
index 3de7d81..5f8643d 100644
--- a/nvkm/subdev/bios/base.c
+++ b/nvkm/subdev/bios/base.c
@@ -183,10 +183,11 @@ nouveau_bios_shadow_prom(struct nouveau_bios *bios)
goto out;
bios->data = kmalloc(bios->size, GFP_KERNEL);
- if (bios->data) {
- for (i = 0; i < bios->size; i += 4)
- ((u32 *)bios->...
2014 May 29
1
[PATCH] bios: fix a potential NULL deref in the PROM shadowing function
...>
>> Signed-off-by: Martin Peres <martin.peres at free.fr>
>> ---
>> nvkm/subdev/bios/base.c | 9 +++++----
>> 1 file changed, 5 insertions(+), 4 deletions(-)
>>
>> diff --git a/nvkm/subdev/bios/base.c b/nvkm/subdev/bios/base.c
>> index 3de7d81..5f8643d 100644
>> --- a/nvkm/subdev/bios/base.c
>> +++ b/nvkm/subdev/bios/base.c
>> @@ -183,10 +183,11 @@ nouveau_bios_shadow_prom(struct nouveau_bios *bios)
>> goto out;
>>
>> bios->data = kmalloc(bios->size, GFP_KERNEL);
>> - i...
2014 May 27
0
[PATCH] bios: fix a potential NULL deref in the PROM shadowing function
...;dan.carpenter at oracle.com>
> Signed-off-by: Martin Peres <martin.peres at free.fr>
> ---
> nvkm/subdev/bios/base.c | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/nvkm/subdev/bios/base.c b/nvkm/subdev/bios/base.c
> index 3de7d81..5f8643d 100644
> --- a/nvkm/subdev/bios/base.c
> +++ b/nvkm/subdev/bios/base.c
> @@ -183,10 +183,11 @@ nouveau_bios_shadow_prom(struct nouveau_bios *bios)
> goto out;
>
> bios->data = kmalloc(bios->size, GFP_KERNEL);
> - if (bios->data) {
> - for (i = 0; i < bios...