Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!news From: flee@cs.psu.edu (Felix Lee) Newsgroups: comp.lang.perl Subject: Re: possible perl bug (was Re: compiling perl patch 10 on HPUX) Message-ID: Date: 20 Jun 91 03:44:43 GMT References: <1991Jun19.211543.17886@apollo.hp.com> Sender: news@cs.psu.edu (Usenet) Organization: Penn State Computer Science Lines: 11 Nntp-Posting-Host: guardian.cs.psu.edu >I believe this test tickles a bug involving a bad pointer >dereference. When the regexec() function is called from do_match() at >line 197 the variable "s" Someone reported this early last week. In reference to the new m//g operator, something gets allocated with New() rather than Newz(), which leaves garbage in a structure that gets dereferenced as a pointer. I didn't save the article and I don't have a patch handy, but if anyone's interested, I can track down the bug again. -- Felix Lee flee@cs.psu.edu