home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / mail / mush / 327 < prev    next >
Encoding:
Internet Message Format  |  1992-09-07  |  2.5 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!ucbvax!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
  2. From: bart@zigzag.UUCP (Bart Schaefer)
  3. Newsgroups: comp.mail.mush
  4. Subject: Re: Bug in mush 7.2.4
  5. Message-ID: <9209070853.ZM13844@zigzag>
  6. Date: 7 Sep 92 15:53:41 GMT
  7. Sender: daemon@athena.mit.edu (Mr Background)
  8. Reply-To: bart@zigzag.z-code.com
  9. Organization: The Internet
  10. Lines: 54
  11.  
  12. On Aug 29,  2:33am, Roger Cornelius wrote:
  13. } Subject: Re: Bug in mush 7.2.4
  14. }
  15. } In article <1052@alsys1.aecom.yu.edu>, rnb@alsys1.aecom.yu.edu (Robert N. Berlinger) writes:
  16. } > Also, for the last several version of mush at least, pick -ago seems
  17. } > to glitch out, e.g., doing a pick -ago -1w says
  18. } > 
  19. } > Searching for messages that contain "w l
  20. } >                     ".
  21. } I can confirm this also, in 7.2.4 at least.  I don't have time to
  22. } track it down unfortunately.  mush is compiled using regcmp() and
  23. } friends, if that's any help.  regcmp is mentioned in the error message.
  24. } It appears regcmp is being passed an unitialized pointer.
  25.  
  26. Has nothing to do with regcmp().  The patch below will be included in patch
  27. #5, to be out Real Soon Now [next week].  Mush has now been sent through the
  28. "purify" memory leak/corruption checker and a lot of bugs in the new POP
  29. code were squashed.  Mush itself passes with flying colors (no warnings and
  30. zero leaked bytes, though I haven't purified the SunView part).
  31.  
  32. *** pick.c    Wed Nov 20 23:42:33 1991
  33. --- /tmp/d13841    Mon Sep  7 08:52:10 1992
  34. ***************
  35. *** 74,80 ****
  36.       head_cnt = tail_cnt = -1;
  37.       match_priority = 0;
  38.       icase = before = after = search_from = search_subj = search_to = xflg = 0;
  39. !     mdy[0] = mdy[1] = search_hdr[0] = 0;
  40.       while (*argv && *++argv && (**argv == '-' || **argv == '+'))
  41.       if (**argv == '+' || isdigit(argv[0][1])) {
  42.           if (**argv == '+')
  43. --- 74,80 ----
  44.       head_cnt = tail_cnt = -1;
  45.       match_priority = 0;
  46.       icase = before = after = search_from = search_subj = search_to = xflg = 0;
  47. !     pattern[0] = mdy[0] = mdy[1] = search_hdr[0] = 0;
  48.       while (*argv && *++argv && (**argv == '-' || **argv == '+'))
  49.       if (**argv == '+' || isdigit(argv[0][1])) {
  50.           if (**argv == '+')
  51. ***************
  52. *** 166,172 ****
  53.       return -1;
  54.       }
  55.       if (!mdy[1]) {
  56. -     pattern[0] = 0;
  57.       (void) argv_to_string(pattern, argv);
  58.       if (pattern[0] == '\0' && match_priority == 0 &&
  59.           head_cnt + tail_cnt < 0) {
  60. --- 166,171 ----
  61.  
  62. -- 
  63. Bart Schaefer                                     schaefer@zigzag.z-code.com
  64. Z-Code Software Corp.                             schaefer@z-code.com
  65.