[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: extensions for emacsclient (CVS version)
From: |
Miles Bader |
Subject: |
Re: extensions for emacsclient (CVS version) |
Date: |
10 Sep 2003 17:44:28 +0900 |
Andreas Büsching <address@hidden> writes:
> - sprintf (server.sun_path, "/tmp/emacs%d-%s/server", (int) geteuid (),
> system_name);
> + sprintf (server.sun_path, "%s", socket_name);
> + sprintf (server.sun_path, "/tmp/emacs%d-%s/server", (int) geteuid (),
> system_name);
Hmmm, no bounds checking when writing into server.sun_path (the old code
didn't either, but the constructed path is probably less likely to
overflow).
-Miles
--
`Suppose Korea goes to the World Cup final against Japan and wins,' Moon said.
`All the past could be forgiven.' [NYT]
- extensions for emacsclient (CVS version), Andreas Büsching, 2003/09/10
- Re: extensions for emacsclient (CVS version),
Miles Bader <=
- Re: extensions for emacsclient (CVS version), Andreas Büsching, 2003/09/10
- Re: extensions for emacsclient (CVS version), Miles Bader, 2003/09/10
- Re: extensions for emacsclient (CVS version), Andreas Büsching, 2003/09/10
- Re: extensions for emacsclient (CVS version), Miles Bader, 2003/09/10
- Re: extensions for emacsclient (CVS version), Andreas Büsching, 2003/09/10
- Re: extensions for emacsclient (CVS version), Stefan Monnier, 2003/09/10
- Re: extensions for emacsclient (CVS version), Andreas Büsching, 2003/09/10
- Re: extensions for emacsclient (CVS version), Stefan Monnier, 2003/09/10
- Re: extensions for emacsclient (CVS version), Andreas Büsching, 2003/09/10
- Re: extensions for emacsclient (CVS version), Stefan Monnier, 2003/09/10