Merge "procrank: fix bounds check to prevent heap overflow" into nyc-mr1-dev