--- Begin Message ---
Subject: |
24.3; Crash in cmdproxy.exe |
Date: |
Wed, 23 Apr 2014 23:58:57 -0400 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#17334: 24.3; Crash in cmdproxy.exe |
Date: |
Sat, 26 Apr 2014 10:08:23 +0300 |
> Date: Wed, 23 Apr 2014 23:58:57 -0400
> From: Sohail Somani <address@hidden>
>
> 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, this is now fixed for Emacs 24.4 (revision 117021 on the
emacs-24 branch).
--- End Message ---