Coverity 1373301: Untrusted loop bound
Coverity 1373301: Untrusted loop bound

Problem:
CID 1373301 (#1 of 1): Untrusted loop bound (TAINTED_SCALAR)
17. tainted_data: Using tainted variable msg_len as a loop boundary.

Fix:
Added check for p < ws_buf_.size() to make sure improper msg_len
(user input) would not lead to out of scope write.

PSUdaemon/trafficserver,clearswift/trafficserver,reveller/trafficserver,rahmalik/trafficserver,vmamidi/trafficserver,clearswift/trafficserver,davidbz/trafficserver,reveller/trafficserver,pbchou/trafficserver,clearswift/trafficserver,davidbz/trafficserver,davidbz/trafficserver,rahmalik/trafficserver,dyrock/trafficserver,PSUdaemon/trafficserver,duke8253/trafficserver,persiaAziz/trafficserver,davidbz/trafficserver,rpufky/trafficserver,vmamidi/trafficserver,reveller/trafficserver,dyrock/trafficserver,bryancall/trafficserver,rpufky/trafficserver,taoyunxing/trafficserver,chitianhao/trafficserver,taoyunxing/trafficserver,SolidWallOfCode/trafficserver,chitianhao/trafficserver,SolidWallOfCode/trafficserver,chitianhao/trafficserver,bryancall/trafficserver,taoyunxing/trafficserver,duke8253/trafficserver,PSUdaemon/trafficserver,vmamidi/trafficserver,taoyunxing/trafficserver,reveller/trafficserver,rpufky/trafficserver,duke8253/trafficserver,bryancall/trafficserver,pbchou/trafficserver,persiaAziz/trafficserver,clearswift/trafficserver,PSUdaemon/trafficserver,chitianhao/trafficserver,dyrock/trafficserver,SolidWallOfCode/trafficserver,taoyunxing/trafficserver,rahmalik/trafficserver,clearswift/trafficserver,clearswift/trafficserver,SolidWallOfCode/trafficserver,persiaAziz/trafficserver,SolidWallOfCode/trafficserver,SolidWallOfCode/trafficserver,dyrock/trafficserver,vmamidi/trafficserver,duke8253/trafficserver,PSUdaemon/trafficserver,pbchou/trafficserver,davidbz/trafficserver,clearswift/trafficserver,dyrock/trafficserver,rpufky/trafficserver,rpufky/trafficserver,rahmalik/trafficserver,PSUdaemon/trafficserver,reveller/trafficserver,bryancall/trafficserver,dyrock/trafficserver,duke8253/trafficserver,taoyunxing/trafficserver,reveller/trafficserver,reveller/trafficserver,persiaAziz/trafficserver,rahmalik/trafficserver,bryancall/trafficserver,SolidWallOfCode/trafficserver,chitianhao/trafficserver,duke8253/trafficserver,chitianhao/trafficserver,reveller/trafficserver,rpufky/trafficserver,persiaAziz/trafficserver,persiaAziz/trafficserver,bryancall/trafficserver,pbchou/trafficserver,rahmalik/trafficserver,clearswift/trafficserver,davidbz/trafficserver,pbchou/trafficserver,taoyunxing/trafficserver,vmamidi/trafficserver,chitianhao/trafficserver,persiaAziz/trafficserver,vmamidi/trafficserver,rahmalik/trafficserver,clearswift/trafficserver,taoyunxing/trafficserver,pbchou/trafficserver,rpufky/trafficserver,dyrock/trafficserver,PSUdaemon/trafficserver,rpufky/trafficserver,rpufky/trafficserver,duke8253/trafficserver,reveller/trafficserver,PSUdaemon/trafficserver,taoyunxing/trafficserver,persiaAziz/trafficserver,rahmalik/trafficserver,rahmalik/trafficserver,PSUdaemon/trafficserver