ALT Linux Bugzilla
– Attachment 4735 Details for
Bug 24856
unshare: SIGSEGV on invalid command line option
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
[PATCH] unshare: fix SIGSEGV on invalid command line option
0001-unshare-fix-SIGSEGV-on-invalid-command-line-option.patch (text/plain), 822 bytes, created by
Kirill A. Shutemov
on 2011-01-04 15:49:52 MSK
(
hide
)
Description:
[PATCH] unshare: fix SIGSEGV on invalid command line option
Filename:
MIME Type:
Creator:
Kirill A. Shutemov
Created:
2011-01-04 15:49:52 MSK
Size:
822 bytes
patch
obsolete
>From cf744bc02576cb862cc670241b4e26a379f1c9be Mon Sep 17 00:00:00 2001 >From: Kirill A. Shutemov <kirill@shutemov.name> >Date: Tue, 4 Jan 2011 14:42:48 +0200 >Subject: [PATCH] unshare: fix SIGSEGV on invalid command line option > >$ unshare --hel >Segmentation fault > >The last element of longopts has to be filled with zeros. > >Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> >--- > sys-utils/unshare.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/sys-utils/unshare.c b/sys-utils/unshare.c >index 6b6177c..12a725e 100644 >--- a/sys-utils/unshare.c >+++ b/sys-utils/unshare.c >@@ -76,6 +76,7 @@ int main(int argc, char *argv[]) > { "uts", no_argument, 0, 'u' }, > { "ipc", no_argument, 0, 'i' }, > { "net", no_argument, 0, 'n' }, >+ { NULL, 0, 0, 0 } > }; > > int unshare_flags = 0; >-- >1.7.3.4 >
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 24856
: 4735