zsh-workers
 help / color / mirror / code / Atom feed
From: Felix Rosencrantz <f_rosencrantz@yahoo.com>
To: zsh-workers <zsh-workers@sunsite.auc.dk>
Subject: Re: PATCH: Small memory leak and doc fix
Date: Mon, 5 Jun 2000 22:31:42 -0700 (PDT)	[thread overview]
Message-ID: <20000606053142.20146.qmail@web1303.mail.yahoo.com> (raw)

That last set of patches cleaned up most of the memory leaks found in the
tests, plus all the ones I see from just using the shell.   Thanks, Sven.

Glad they made it into 3.1.9.  Thanks, Peter.

There is only one set of leaks that the tests still find.
These are found by the 08traps.ztst.  (Sorry, I missed sending these before.)

        zcalloc        [mem.c:469]
        dupeprog       [parse.c:2003]
        dosavetrap     [signals.c:675]
        removetrap     [signals.c:756]
        unsettrap      [signals.c:733]
        ------------------------------
        zalloc         [mem.c:453]
        dupeprog       [parse.c:1998]
        dosavetrap     [signals.c:675]
        removetrap     [signals.c:756]
        unsettrap      [signals.c:733]




>> There seems to be some situations when the following code will see
>> uninitialized memory reads from the following stack:
>>       pattern_match  [compmatch.c:1035]
>>         match_str      [compmatch.c:577]
>>         comp_match     [compmatch.c:941]
>>         addmatches     [compcore.c:1954]
>>         bin_compadd    [complete.c:595]
>> I haven't looked into this, so if more details are needed let me know.
>
>Haven't had the time to look at this, but knowing the match specs used
>would help.

I think this comes up while running _path_files.  The match specs used:
	m:{a-zA-Z}={A-Za-z}  r:|[.,_-]=** r:[^0-9]||[0-9]=**


-FR.

__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com


             reply	other threads:[~2000-06-06  5:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-06  5:31 Felix Rosencrantz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-06-09  5:26 Felix Rosencrantz
2000-06-08  9:20 Sven Wischnowsky
2000-06-08  2:50 Felix Rosencrantz
2000-06-07 13:23 Sven Wischnowsky
2000-06-05  7:55 Sven Wischnowsky
2000-06-03  3:23 Felix Rosencrantz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000606053142.20146.qmail@web1303.mail.yahoo.com \
    --to=f_rosencrantz@yahoo.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).