~ubuntu-branches/ubuntu/oneiric/syslog-ng/oneiric

« back to all changes in this revision

Viewing changes to tests/unit/test_nvtable.c

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2011-05-16 22:02:46 UTC
  • mfrom: (26.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20110516220246-nknmeu831n49bx1z
Tags: 3.2.4-1
* New upstream release, fixing infinite loop via PCRE and global. No CVE
  number yet, Vigil@nce id is 10648.
* Remove all patches, they were applied upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
437
437
  /* the new entry will not fit to the space allocated to the old and neither to the NVTable */
438
438
 
439
439
  /* setup code: add static and a dynamic-direct entry */
440
 
  tab = nv_table_new(STATIC_VALUES, 1, 150);
 
440
  tab = nv_table_new(STATIC_VALUES, 1, 154);
441
441
  success = nv_table_add_value(tab, STATIC_HANDLE, STATIC_NAME, 4, value, 128, NULL);
442
442
  TEST_ASSERT(success == TRUE);
443
443
  success = nv_table_add_value(tab, handle, name, strlen(name), value, 1, NULL);