[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 2/2] Do not allow the reference to the local va
From: |
Konstantin Belousov |
Subject: |
[Libunwind-devel] [PATCH 2/2] Do not allow the reference to the local var to outlive the local var scope. |
Date: |
Mon, 17 Sep 2012 17:39:15 +0300 |
From: Konstantin Belousov <address@hidden>
---
tests/test-ptrace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test-ptrace.c b/tests/test-ptrace.c
index 17a1b61..4708293 100644
--- a/tests/test-ptrace.c
+++ b/tests/test-ptrace.c
@@ -178,7 +178,7 @@ main (int argc, char **argv)
if (argc == 1)
{
- char *args[] = { "self", "/bin/ls", "/usr", NULL };
+ static char *args[] = { "self", "/bin/ls", "/usr", NULL };
/* automated test case */
argv = args;
--
1.7.11.5
- [Libunwind-devel] [PATCH 0/2] Two fixes for test suite regressions on FreeBSD., Konstantin Belousov, 2012/09/17
- [Libunwind-devel] [PATCH 1/2] Restore the interpretation of the NULL %rbp location as end of frame chain., Konstantin Belousov, 2012/09/17
- Re: [Libunwind-devel] [PATCH 1/2] Restore the interpretation of the NULL %rbp location as end of frame chain., Lassi Tuura, 2012/09/18
- Re: [Libunwind-devel] [PATCH 1/2] Restore the interpretation of the NULL %rbp location as end of frame chain., Konstantin Belousov, 2012/09/18
- Re: [Libunwind-devel] [PATCH 1/2] Restore the interpretation of the NULL %rbp location as end of frame chain., Lassi Tuura, 2012/09/18
- Re: [Libunwind-devel] [PATCH 1/2] Restore the interpretation of the NULL %rbp location as end of frame chain., Konstantin Belousov, 2012/09/19
- Re: [Libunwind-devel] [PATCH 1/2] Restore the interpretation of the NULL %rbp location as end of frame chain., Lassi Tuura, 2012/09/20
- Re: [Libunwind-devel] [PATCH 1/2] Restore the interpretation of the NULL %rbp location as end of frame chain., Konstantin Belousov, 2012/09/20
- Re: [Libunwind-devel] [PATCH 1/2] Restore the interpretation of the NULL %rbp location as end of frame chain., Arun Sharma, 2012/09/22
- Re: [Libunwind-devel] [PATCH 1/2] Restore the interpretation of the NULL %rbp location as end of frame chain., Lassi Tuura, 2012/09/22
[Libunwind-devel] [PATCH 2/2] Do not allow the reference to the local var to outlive the local var scope.,
Konstantin Belousov <=