Commit abb5545c authored by Raine Makelainen's avatar Raine Makelainen

Merge branch 'jb45436' into 'master'

[ssu] Do not accept empty fallback uuid file as deviceUid file. Fixes JB#45436

See merge request !26
parents fc5da0ce eccfeb1e
......@@ -323,7 +323,7 @@ QString SsuDeviceInfo::deviceUid()
foreach (const QString &filename, fallbackFiles) {
QFile machineId(filename);
if ( | QFile::Text)) {
if ( | QFile::Text) && machineId.size() > 0) {
QTextStream in(&machineId);
return normalizeUid(in.readAll());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment