[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdelibs/dcop
From: Kevin Puetz <puetzk () iastate ! edu>
Date: 2002-12-12 18:33:34
[Download RAW message or body]
Lubos Lunak wrote:
> CVS commit by lunakl:
>
> Call me pedantic.
>
>
> M +1 -0 dcopserver_shutdown.c 1.8
>
>
> --- kdelibs/dcop/dcopserver_shutdown.c #1.7:1.8
> @@ -83,4 +83,5 @@ static void getDCOPFile(char *dcop_file,
> home_dir = getenv("HOME");
> strncpy(dcop_file, home_dir, n);
> + dcop_file[ n - 1 ] = '\0';
> n -= strlen(home_dir);
why not just start changing these to strlcpy now that we have it?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic