Update of bug #43720 (project gettext):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Thanks for the report.  It seems you hit a corner case.  When the read buffer
is filled up, msgfilter.c:prepare_read tries to increase the size by 1.5 times
larger than the previous size:


if (l->length == l->allocated)
  {
    l->allocated = l->allocated + (l->allocated >> 1);
    l->result = (char *) xrealloc (l->result, l->allocated);
  }


However, if the original l->allocated is 1, the size doesn't change.

I've pushed a fix:
http://git.sv.gnu.org/cgit/gettext.git/commit/?id=06e206f5


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43720>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to