all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* w32reg.c string search termination
@ 2007-08-22 12:08 Saalmann, Harald
  2007-08-22 14:35 ` Jason Rumney
  0 siblings, 1 reply; 2+ messages in thread
From: Saalmann, Harald @ 2007-08-22 12:08 UTC (permalink / raw)
  To: emacs-pretest-bug

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
 
Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing
list.
 
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
 

In file src/w32reg.c, line 35: The directive
   #define SYSTEM_DEFAULT_RESOURCES  ...
doesn't close the string literal with two adjacent NUL characters,
which is needed by function w32_get_rdb_resource() called from line
142 to terminate the string lookup correctly.  
(It is unlikely that this ever triggered any noticeable bad behavor.)
 
[Appending a "\0" will probably do it.  I haven't tested anything, 
because I don't run Windoze on my own machines, and on this one I even
have to use M$ Outlock to ship this mail out...]
 

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
d:/Program_Files/ntemacs22/etc/DEBUG for instructions.
 

In GNU Emacs 22.0.92.1 (i386-mingw-nt5.1.2600)
 of 2007-01-01 on DTOP
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.1) --cflags  -O2 -g0
-march=i386 -mtune=i686 -pipe -IC:/gnuwin32/include_emacs
-IC:/gnuwin32/lib -IC:/gnuwin32/src --ldflags  -s '
 
Important settings:
 
Major mode: c
 
Minor modes in effect:
 
Recent input:
 

Recent messages:
Loading emacsbug...done
Quit

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: w32reg.c string search termination
  2007-08-22 12:08 w32reg.c string search termination Saalmann, Harald
@ 2007-08-22 14:35 ` Jason Rumney
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Rumney @ 2007-08-22 14:35 UTC (permalink / raw)
  To: Saalmann, Harald; +Cc: emacs-pretest-bug

Saalmann, Harald wrote:
> In file src/w32reg.c, line 35: The directive
>    #define SYSTEM_DEFAULT_RESOURCES  ...
> doesn't close the string literal with two adjacent NUL characters,
> which is needed by function w32_get_rdb_resource() called from line
> 142 to terminate the string lookup correctly.  
> (It is unlikely that this ever triggered any noticeable bad behavor.)
>   

Thanks. I have fixed it now.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-22 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-22 12:08 w32reg.c string search termination Saalmann, Harald
2007-08-22 14:35 ` Jason Rumney

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.