TS-827 TSMimeHdrFieldValueStringInsert() can use freed memory to edit headers.
TS-827 TSMimeHdrFieldValueStringInsert() can use freed memory to edit
headers.

This only affects plugins as far as we can tell, but is an important fix,
since it could potentially cause buffer overruns for plugin developers.

Author: William Bardwell
Review: leif

git-svn-id: 2dd0c813ec5e66d7196e5ee63433c56c88d5b4b7@1133071 13f79535-47bb-0310-9956-ffa450edef68

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