Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm looking at the code but I don't quite see that?

  auto start= result.indexOf("http://");
  ...
  auto end= result.indexOf("\r", start);
  ...
  m_describeUrl= result.sliced(start, end - start);
I don't think end can ever be < start (other than < 0 if not found, which is handled).


Because I'm dumb




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: