[Mono-list] Bug in mono/metadata/debug-helpers.c (Mono release 0.15)

Holger Arnold harnold@gmx.de
Thu, 5 Sep 2002 21:48:09 +0200


Hello,
at least in the Mono release 0.15 there is a bug in 
mono/metadata/debug-helpers.c, mono_method_desc_new (), line 154:

  while (*end) {
      if (*end == ',')
          result->num_args++;
  }

is an endless loop. It should be:

  while (*end) {
      if (*end == ',')
          result->num_args++;
      ++end;
  }

Holger