Fix of a bug

Stream::find(char *target) passes NULL as “terminator” to Stream::findUntil(char *target, char *terminator), which immediately dereferences it by passing it on to strlen():
 
bool Stream::find(char *target)
{
  return findUntil(target, NULL);
}
 
// as find but search ends if the terminator string is found
bool Stream::findUntil(char *target, char *terminator)
{
  return findUntil(target, strlen(target), terminator, strlen(terminator));
}
Fix of a bug

Stream::find(char *target) passes NULL as “terminator” to Stream::findUntil(char *target, char *terminator), which immediately dereferences it by passing it on to strlen() :
 
bool Stream::find(char *target)
{
  return findUntil(target, NULL);
}
 
// as find but search ends if the terminator string is found
bool Stream::findUntil(char *target, char *terminator)
{
  return findUntil(target, strlen(target), terminator, strlen(terminator));
}
Merge pull request #2104 from amulya349/master

Fix of a bug in Stream.cpp
Fixed error in comment
Merge pull request #2117 from amulya349/master

Fixed mistake in comment
Update USBAPI.h

Fixes bug where Serial.read() would always return 0 as the first byte.
Proceed with upload even if port can't be found. (Issue #1791)
Don't wrap a RunnerException in a redundant RunnerException.
Merge pull request #2124 from embmicro/patch-1

Update USBAPI.h
Merge branch 'master' into HEAD
Merge pull request #2126 from damellis/issue-1791

Proceed with upload even if port can't be found.
Merge branch 'ide-1.5.x' into ide-1.5.x-avr-toolchain-gcc-4.8.1
Fixed regression in USBAPI and CDC (xaljox)

See:
https://github.com/arduino/Arduino/commit/9ac7e30252fce5b9dafde3288519b020b73c37bd#commitcomment-6718676
Merge branch 'master' into ide-1.5.x
Merge branch 'ide-1.5.x' into ide-1.5.x-avr-toolchain-gcc-4.8.1