Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
projects
:
webservers
>
cronolog
> cronolog_buffer.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File cronolog_buffer.patch of Package cronolog
diff -uNr src/cronolog.c.orig src/cronolog.c --- src/cronolog.c.orig 2004-07-28 21:09:50.000000000 +0200 +++ src/cronolog.c 2009-02-20 23:57:24.000000000 +0100 @@ -333,11 +333,11 @@ } break; case 'r': - strncat(handler, optarg, MAX_PATH ); + strncat(handler, optarg, MAX_PATH - 1); use_handler=1; break; case 'G': - strncat(handler_arg, optarg, MAX_PATH ); + strncat(handler_arg, optarg, MAX_PATH - 1); use_handler_arg=1; break; case 'n':