zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Small fix for uninitialized variable
@ 2000-05-26  5:35 Felix Rosencrantz
  0 siblings, 0 replies; only message in thread
From: Felix Rosencrantz @ 2000-05-26  5:35 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

Here's a small patch that fixes uninitialized memory accesses found
at run-time via the tests.

-FR.



__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

[-- Attachment #2: patch4.txt --]
[-- Type: text/plain, Size: 333 bytes --]

Index: Src/pattern.c
===================================================================
--- zsh/Src/opattern.c	Thu Apr 27 03:58:49 2000
+++ zsh/Src/pattern.c	Thu May 25 22:49:05 2000
@@ -631,7 +631,7 @@
 patcompbranch(int *flagp)
 {
     long chain, latest, starter;
-    int flags;
+    int flags = 0;
 
     *flagp = P_PURESTR;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-26  5:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-26  5:35 PATCH: Small fix for uninitialized variable Felix Rosencrantz

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).