fix buffer overflow
fix buffer overflow

mihadyuk/qgroundcontrol,scott-eddy/qgroundcontrol,jy723/qgroundcontrol,scott-eddy/qgroundcontrol,hejunbok/qgroundcontrol,CornerOfSkyline/qgroundcontrol,ethz-asl/qgc_asl,dagoodma/qgroundcontrol,RedoXyde/PX4_qGCS,jy723/qgroundcontrol,kd0aij/qgroundcontrol,BMP-TECH/qgroundcontrol,caoxiongkun/qgroundcontrol,ethz-asl/qgc_asl,scott-eddy/qgroundcontrol,kd0aij/qgroundcontrol,fizzaly/qgroundcontrol,caoxiongkun/qgroundcontrol,kd0aij/qgroundcontrol,fizzaly/qgroundcontrol,mihadyuk/qgroundcontrol,kd0aij/qgroundcontrol,Hunter522/qgroundcontrol,CornerOfSkyline/qgroundcontrol,caoxiongkun/qgroundcontrol,cfelipesouza/qgroundcontrol,mihadyuk/qgroundcontrol,ethz-asl/qgc_asl,remspoor/qgroundcontrol,BMP-TECH/qgroundcontrol,remspoor/qgroundcontrol,hejunbok/qgroundcontrol,cfelipesouza/qgroundcontrol,catch-twenty-two/qgroundcontrol,catch-twenty-two/qgroundcontrol,fizzaly/qgroundcontrol,hejunbok/qgroundcontrol,jy723/qgroundcontrol,hejunbok/qgroundcontrol,jy723/qgroundcontrol,LIKAIMO/qgroundcontrol,mihadyuk/qgroundcontrol,RedoXyde/PX4_qGCS,hejunbok/qgroundcontrol,RedoXyde/PX4_qGCS,cfelipesouza/qgroundcontrol,fizzaly/qgroundcontrol,cfelipesouza/qgroundcontrol,remspoor/qgroundcontrol,ethz-asl/qgc_asl,scott-eddy/qgroundcontrol,mihadyuk/qgroundcontrol,fizzaly/qgroundcontrol,CornerOfSkyline/qgroundcontrol,mihadyuk/qgroundcontrol,Hunter522/qgroundcontrol,dagoodma/qgroundcontrol,RedoXyde/PX4_qGCS,dagoodma/qgroundcontrol,Hunter522/qgroundcontrol,dagoodma/qgroundcontrol,ethz-asl/qgc_asl,dagoodma/qgroundcontrol,caoxiongkun/qgroundcontrol,cfelipesouza/qgroundcontrol,catch-twenty-two/qgroundcontrol,cfelipesouza/qgroundcontrol,Hunter522/qgroundcontrol,remspoor/qgroundcontrol,jy723/qgroundcontrol,caoxiongkun/qgroundcontrol,BMP-TECH/qgroundcontrol,remspoor/qgroundcontrol,kd0aij/qgroundcontrol,scott-eddy/qgroundcontrol,RedoXyde/PX4_qGCS,fizzaly/qgroundcontrol,dagoodma/qgroundcontrol,LIKAIMO/qgroundcontrol,BMP-TECH/qgroundcontrol,catch-twenty-two/qgroundcontrol,CornerOfSkyline/qgroundcontrol,catch-twenty-two/qgroundcontrol,caoxiongkun/qgroundcontrol,BMP-TECH/qgroundcontrol,CornerOfSkyline/qgroundcontrol,hejunbok/qgroundcontrol,RedoXyde/PX4_qGCS,LIKAIMO/qgroundcontrol,BMP-TECH/qgroundcontrol,Hunter522/qgroundcontrol,CornerOfSkyline/qgroundcontrol,scott-eddy/qgroundcontrol,LIKAIMO/qgroundcontrol,LIKAIMO/qgroundcontrol,Hunter522/qgroundcontrol,catch-twenty-two/qgroundcontrol,remspoor/qgroundcontrol,LIKAIMO/qgroundcontrol,kd0aij/qgroundcontrol,jy723/qgroundcontrol