FreeBSD Bugzilla – Attachment 85762 Details for
Bug 122049
[maintainer update] security/vlock v2.1 -> v2.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-script.c
patch-script.c (text/x-csrc), 627 bytes, created by
Ganael LAPLANCHE
on 2008-03-26 11:07:09 UTC
(
hide
)
Description:
patch-script.c
Filename:
MIME Type:
Creator:
Ganael LAPLANCHE
Created:
2008-03-26 11:07:09 UTC
Size:
627 bytes
patch
obsolete
>--- src/script.c.orig 2008-03-26 08:45:24.000000000 +0100 >+++ src/script.c 2008-03-26 08:47:20.000000000 +0100 >@@ -119,12 +119,14 @@ > if (context != NULL) { > free(context->path); > >- /* Close the pipe. */ >- (void) close(context->fd); >- >- /* Kill the child process. */ >- if (!wait_for_death(context->pid, 0, 500000L)) >- ensure_death(context->pid); >+ if (context->launched) { >+ /* Close the pipe. */ >+ (void) close(context->fd); >+ >+ /* Kill the child process. */ >+ if (!wait_for_death(context->pid, 0, 500000L)) >+ ensure_death(context->pid); >+ } > > free(context); > }
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 Raw
Actions:
View
Attachments on
bug 122049
:
85761
| 85762