am 7852765a: Add length check for attaching a BoS marker.

* commit '7852765a503fe6dab54e1c4ab9e5e6b7bbdc70f2':
  Add length check for attaching a BoS marker.