* [EDT][prelink-cross] possible memory leak in opd_size
@ 2015-05-06 6:33 Maninder Singh
2015-05-06 19:15 ` Mark Hatle
2015-09-09 22:21 ` Mark Hatle
0 siblings, 2 replies; 3+ messages in thread
From: Maninder Singh @ 2015-05-06 6:33 UTC (permalink / raw)
To: mark.hatle@windriver.com
Cc: AJEET YADAV, yocto@yoctoproject.org, AKHILESH KUMAR,
v.narang@samsung.com
EP-F6AA0618C49C4AEDA73BFF1B39950BAB
Hi,
we found one issue through code-walk through
and it seems we are creating unusable OPD table , Not sure about fix, please check below fix.
Signed-off-by: Vaneet Narang <v.narang@samsung.com>
Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Reviewed-by: Ajeet Yadav <ajeet.y@samsung.com>
---
trunk/src/fptr.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/trunk/src/fptr.c b/trunk/src/fptr.c
index cfe3aed..39271d5 100644
--- a/trunk/src/fptr.c
+++ b/trunk/src/fptr.c
@@ -458,6 +458,7 @@ opd_size (struct prelink_info *info, GElf_Word entsize)
e->val = f->val;
e->gp = f->gp;
e->opd = ret | OPD_ENT_NEW;
+ f->ent = e;
ret += entsize;
}
--
1.7.1
Thanks and Regards,
Maninder Singh
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [EDT][prelink-cross] possible memory leak in opd_size
2015-05-06 6:33 [EDT][prelink-cross] possible memory leak in opd_size Maninder Singh
@ 2015-05-06 19:15 ` Mark Hatle
2015-09-09 22:21 ` Mark Hatle
1 sibling, 0 replies; 3+ messages in thread
From: Mark Hatle @ 2015-05-06 19:15 UTC (permalink / raw)
To: maninder1.s
Cc: AJEET YADAV, yocto@yoctoproject.org, AKHILESH KUMAR,
v.narang@samsung.com
I will hopefully get to reviewing this and the other 3 patches by early next week.
Thanks for the submission, I'll let you know what the outcome is.
--Mark
On 5/6/15 1:33 AM, Maninder Singh wrote:
> EP-F6AA0618C49C4AEDA73BFF1B39950BAB
>
> Hi,
>
> we found one issue through code-walk through
> and it seems we are creating unusable OPD table , Not sure about fix, please check below fix.
>
> Signed-off-by: Vaneet Narang <v.narang@samsung.com>
> Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
> Reviewed-by: Ajeet Yadav <ajeet.y@samsung.com>
> ---
> trunk/src/fptr.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/trunk/src/fptr.c b/trunk/src/fptr.c
> index cfe3aed..39271d5 100644
> --- a/trunk/src/fptr.c
> +++ b/trunk/src/fptr.c
> @@ -458,6 +458,7 @@ opd_size (struct prelink_info *info, GElf_Word entsize)
> e->val = f->val;
> e->gp = f->gp;
> e->opd = ret | OPD_ENT_NEW;
> + f->ent = e;
> ret += entsize;
> }
>
> --
> 1.7.1
>
>
> Thanks and Regards,
> Maninder Singh
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [EDT][prelink-cross] possible memory leak in opd_size
2015-05-06 6:33 [EDT][prelink-cross] possible memory leak in opd_size Maninder Singh
2015-05-06 19:15 ` Mark Hatle
@ 2015-09-09 22:21 ` Mark Hatle
1 sibling, 0 replies; 3+ messages in thread
From: Mark Hatle @ 2015-09-09 22:21 UTC (permalink / raw)
To: maninder1.s
Cc: AJEET YADAV, yocto@yoctoproject.org, AKHILESH KUMAR,
v.narang@samsung.com
I'm finally getting caught up on these items. I've looked at this, the function
in question is only used on arch-ia64. I don't have any way to test arch-ia64,
nor do I think it's used much anymore (especially in the embedded space). So
I'm going to be skipping this particular patch -- unless someone can convince me
it is the right fix -- or can verify behavior on an IA64 system. (Note, ia64,
not x86-64)
--Mark
On 5/6/15 1:33 AM, Maninder Singh wrote:
> EP-F6AA0618C49C4AEDA73BFF1B39950BAB
>
> Hi,
>
> we found one issue through code-walk through
> and it seems we are creating unusable OPD table , Not sure about fix, please check below fix.
>
> Signed-off-by: Vaneet Narang <v.narang@samsung.com>
> Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
> Reviewed-by: Ajeet Yadav <ajeet.y@samsung.com>
> ---
> trunk/src/fptr.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/trunk/src/fptr.c b/trunk/src/fptr.c
> index cfe3aed..39271d5 100644
> --- a/trunk/src/fptr.c
> +++ b/trunk/src/fptr.c
> @@ -458,6 +458,7 @@ opd_size (struct prelink_info *info, GElf_Word entsize)
> e->val = f->val;
> e->gp = f->gp;
> e->opd = ret | OPD_ENT_NEW;
> + f->ent = e;
> ret += entsize;
> }
>
> --
> 1.7.1
>
>
> Thanks and Regards,
> Maninder Singh
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-09-09 22:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-06 6:33 [EDT][prelink-cross] possible memory leak in opd_size Maninder Singh
2015-05-06 19:15 ` Mark Hatle
2015-09-09 22:21 ` Mark Hatle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.