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.
Merge pull request #2124 from embmicro/patch-1

Update USBAPI.h
Merge branch 'master' into HEAD