fix read beyond end of input line
fix read beyond end of input line

a line ending in two backslashes would produce a literal backslash and
run off the end.

Task-number: QTCREATORBUG-3360

azat/qtcreator,KDAB/KDAB-Creator,KDE/android-qt-creator,renatofilho/QtCreator,azat/qtcreator,AltarBeastiful/qt-creator,xianian/qt-creator,jonnor/qt-creator,AltarBeastiful/qt-creator,colede/qtcreator,omniacreator/qtcreator,amyvmiwei/qt-creator,yinyunqiao/qtcreator,martyone/sailfish-qtcreator,bakaiadam/collaborative_qt_creator,yinyunqiao/qtcreator,xianian/qt-creator,Distrotech/qtcreator,hdweiss/qt-creator-visualizer,Distrotech/qtcreator,bakaiadam/collaborative_qt_creator,colede/qtcreator,Distrotech/qtcreator,darksylinc/qt-creator,omniacreator/qtcreator,martyone/sailfish-qtcreator,sandsmark/qtcreator-minimap,pcacjr/qt-creator,jonnor/qt-creator,martyone/sailfish-qtcreator,syntheticpp/qt-creator,duythanhphan/qt-creator,darksylinc/qt-creator,KDE/android-qt-creator,xianian/qt-creator,malikcjm/qtcreator,yinyunqiao/qtcreator,duythanhphan/qt-creator,pcacjr/qt-creator,xianian/qt-creator,duythanhphan/qt-creator,colede/qtcreator,amyvmiwei/qt-creator,colede/qtcreator,darksylinc/qt-creator,malikcjm/qtcreator,richardmg/qtcreator,omniacreator/qtcreator,martyone/sailfish-qtcreator,pcacjr/qt-creator,omniacreator/qtcreator,dmik/qt-creator-os2,farseerri/git_code,hdweiss/qt-creator-visualizer,danimo/qt-creator,darksylinc/qt-creator,richardmg/qtcreator,renatofilho/QtCreator,farseerri/git_code,bakaiadam/collaborative_qt_creator,jonnor/qt-creator,kuba1/qtcreator,duythanhphan/qt-creator,AltarBeastiful/qt-creator,KDE/android-qt-creator,xianian/qt-creator,ostash/qt-creator-i18n-uk,syntheticpp/qt-creator,omniacreator/qtcreator,duythanhphan/qt-creator,xianian/qt-creator,amyvmiwei/qt-creator,azat/qtcreator,farseerri/git_code,KDAB/KDAB-Creator,richardmg/qtcreator,kuba1/qtcreator,sandsmark/qtcreator-minimap,AltarBeastiful/qt-creator,kuba1/qtcreator,farseerri/git_code,maui-packages/qt-creator,syntheticpp/qt-creator,renatofilho/QtCreator,sandsmark/qtcreator-minimap,KDE/android-qt-creator,martyone/sailfish-qtcreator,danimo/qt-creator,KDE/android-qt-creator,bakaiadam/collaborative_qt_creator,KDE/android-qt-creator,Distrotech/qtcreator,sandsmark/qtcreator-minimap,maui-packages/qt-creator,xianian/qt-creator,KDAB/KDAB-Creator,ostash/qt-creator-i18n-uk,KDAB/KDAB-Creator,maui-packages/qt-creator,ostash/qt-creator-i18n-uk,dmik/qt-creator-os2,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,colede/qtcreator,farseerri/git_code,danimo/qt-creator,ostash/qt-creator-i18n-uk,malikcjm/qtcreator,richardmg/qtcreator,xianian/qt-creator,danimo/qt-creator,yinyunqiao/qtcreator,farseerri/git_code,yinyunqiao/qtcreator,kuba1/qtcreator,bakaiadam/collaborative_qt_creator,darksylinc/qt-creator,malikcjm/qtcreator,darksylinc/qt-creator,hdweiss/qt-creator-visualizer,pcacjr/qt-creator,dmik/qt-creator-os2,AltarBeastiful/qt-creator,kuba1/qtcreator,sandsmark/qtcreator-minimap,richardmg/qtcreator,kuba1/qtcreator,renatofilho/QtCreator,renatofilho/QtCreator,KDE/android-qt-creator,KDAB/KDAB-Creator,dmik/qt-creator-os2,Distrotech/qtcreator,duythanhphan/qt-creator,martyone/sailfish-qtcreator,azat/qtcreator,yinyunqiao/qtcreator,pcacjr/qt-creator,omniacreator/qtcreator,Distrotech/qtcreator,ostash/qt-creator-i18n-uk,kuba1/qtcreator,richardmg/qtcreator,ostash/qt-creator-i18n-uk,dmik/qt-creator-os2,dmik/qt-creator-os2,bakaiadam/collaborative_qt_creator,syntheticpp/qt-creator,malikcjm/qtcreator,syntheticpp/qt-creator,azat/qtcreator,KDAB/KDAB-Creator,malikcjm/qtcreator,pcacjr/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,danimo/qt-creator,danimo/qt-creator,jonnor/qt-creator,danimo/qt-creator,hdweiss/qt-creator-visualizer,martyone/sailfish-qtcreator,farseerri/git_code,colede/qtcreator,amyvmiwei/qt-creator,sandsmark/qtcreator-minimap,amyvmiwei/qt-creator,renatofilho/QtCreator,dmik/qt-creator-os2,martyone/sailfish-qtcreator,hdweiss/qt-creator-visualizer,martyone/sailfish-qtcreator,richardmg/qtcreator,hdweiss/qt-creator-visualizer,duythanhphan/qt-creator,maui-packages/qt-creator,xianian/qt-creator,jonnor/qt-creator,AltarBeastiful/qt-creator,danimo/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,ostash/qt-creator-i18n-uk,darksylinc/qt-creator,malikcjm/qtcreator,syntheticpp/qt-creator,jonnor/qt-creator,maui-packages/qt-creator,yinyunqiao/qtcreator,pcacjr/qt-creator,omniacreator/qtcreator,darksylinc/qt-creator,colede/qtcreator,maui-packages/qt-creator,Distrotech/qtcreator,KDE/android-qt-creator,kuba1/qtcreator,syntheticpp/qt-creator,farseerri/git_code,bakaiadam/collaborative_qt_creator,danimo/qt-creator,azat/qtcreator,amyvmiwei/qt-creator