GNU bug report logs - #17334
24.3; Crash in cmdproxy.exe

Previous Next

Package: emacs;

Reported by: Sohail Somani <sohail <at> taggedtype.net>

Date: Thu, 24 Apr 2014 16:38:02 UTC

Severity: normal

Found in version 24.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sohail Somani <sohail <at> taggedtype.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; Crash in cmdproxy.exe
Date: Wed, 23 Apr 2014 23:58:57 -0400
There is a "bug" in cmdproxy.exe which should never happen, but does
anyway. In make_absolute, there is the following code:

  strncpy(dir, path, p - path);
  dir[p - path] = '\0';

If p-path > sizeof(dir), a buffer overrun occurs.

I came across this problem because I accidentally used ':' as a
separator when constructing the PATH variable in Emacs.

Thanks,

Sohail




This bug report was last modified 11 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.