Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 101769 Details for
Bug 154924
sys-fs/evms-2.5.5-r3 release patches necessary for kernels >= 2.6.17
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
$PORTDIR/sys-fs/evms/files/2.5.5/cli_query_segfault.patch
cli_query_segfault.patch (text/plain), 1.23 KB, created by
Brad Allen
on 2006-11-12 12:34:28 UTC
(
hide
)
Description:
$PORTDIR/sys-fs/evms/files/2.5.5/cli_query_segfault.patch
Filename:
MIME Type:
Creator:
Brad Allen
Created:
2006-11-12 12:34:28 UTC
Size:
1.23 KB
patch
obsolete
>Fix for a segfault in the CLI when doing a query -- not enough memory declared >for a handle array. > >--- evms-2.5.5/ui/cli/interpreter.c 2005-06-01 10:20:32.000000000 -0500 >+++ evms-2.5.5-fix/ui/cli/interpreter.c 2006-09-14 09:47:16.480084103 -0500 >@@ -3326,7 +3326,8 @@ > dlist_t Return_Values; > object_handle_t Object_Handle; > handle_array_t * Object_List; >- handle_array_t Tmp_Array; >+ char Tmp_Buffer[sizeof(handle_array_t) + sizeof(object_handle_t)]; >+ handle_array_t * Tmp_Array = (handle_array_t *)Tmp_Buffer; > handle_object_info_t * Object_Info; > expand_handle_array_t * Expand_Points; > shrink_handle_array_t * Shrink_Points; >@@ -3477,9 +3478,9 @@ > case EVMS_OBJECT: > Object_List = Object_Info->info.object.parent_objects; > if (Object_List->count == 0 && Object_Info->info.object.volume != 0) { >- Tmp_Array.count = 1; >- Tmp_Array.handle[0] = Object_Info->info.object.volume; >- Object_List = &Tmp_Array; >+ Tmp_Array->count = 1; >+ Tmp_Array->handle[0] = Object_Info->info.object.volume; >+ Object_List = Tmp_Array; > } > break; > default:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 154924
:
101765
|
101766
|
101767
|
101768
| 101769 |
101770
|
101773
|
101775