~bregma/geis/lp-891731

« back to all changes in this revision

Viewing changes to libutouch-geis/geis_filter.c

  • Committer: Chase Douglas
  • Date: 2011-03-23 17:49:29 UTC
  • mfrom: (123.1.1 clone-fix)
  • Revision ID: chase.douglas@ubuntu.com-20110323174929-0ylmnfijoutcaeuq
Merge buffer overrun fix when cloning a filter bag.

Show diffs side-by-side

added added

removed removed

Lines of Context:
250
250
    goto final_exit;
251
251
  }
252
252
 
253
 
  filter->terms = geis_filter_term_bag_new();
 
253
  filter->terms = geis_filter_term_bag_new(0);
254
254
  if (!filter->terms)
255
255
  {
256
256
    geis_error_push(geis, GEIS_STATUS_UNKNOWN_ERROR);