Updater: Fix crash when there is an XML error
authorOlivier Goffart <ogoffart@woboq.com>
Fri, 25 Oct 2019 12:14:47 +0000 (14:14 +0200)
committerCamila (Rebase PR Action) <hello@camila.codes>
Tue, 24 Nov 2020 18:22:33 +0000 (18:22 +0000)
commita7f010c3700b09cbc1d1a7ec9109ebb731c55723
treecfcaf50ead352cd281ecf7347f8be2326db237d8
parent1bf895cadcf7b3d1a683f8df34144533c3d1ee25
Updater: Fix crash when there is an XML error

The problem was accessing the lines with an off by one error, while printing
the log.

Other problem included the fact that QDebug added spaces, quotes, and other
things which made the error lot look right in the console.

Issue #7545
src/gui/updater/updateinfo.cpp