The code in 10.10 explicitly abort(3)s instead of generating an error.

aspell-0.60.6/lib/find_speller.cpp:
   375        //
   376        // Retrieve size
   377        //
   378        str = config->retrieve("size");
   379        p = str.data.c_str();
   380        if (p[0] == '+' || p[0] == '-' || p[0] == '<' || p[0] == '>') {
   381          b_size.req_type = p[0];
   382          ++p;
   383        } else {
   384          b_size.req_type = '+';
   385        }
   386        if (!asc_isdigit(p[0]) || !asc_isdigit(p[1]) || p[2] != '\0')
   387          abort(); //FIXME: create an error condition here
   388        b_size.requested = atoi(p);
   389        b_size.init();

** Changed in: aspell (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/710915

Title:
  aspell aborts with --size less than 10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aspell/+bug/710915/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to