Mark QTimeZone as security-critical:
- qtimezonelocale.cpp: matchOffsetFormat() and findLongNamePrefix() dereference potentially untrusted string. - qtimezoneprivate.cpp: findUtcOffsetPrefix() accesses untrusted string data. - qtimezoneprivate_tz.cpp: loadTzTimeZones() parses POSIX zone-descriptor format. Fixes: QTBUG-135197 Change-Id: Ib5ec53ad8210bd872b06be8b1f71459f8b48b2ab Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
0de9b81a8c
commit
8b67e93694
@ -1,5 +1,6 @@
|
||||
// Copyright (C) 2024 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
// Qt-Security score:critical reason:data-parser
|
||||
|
||||
#include <private/qtimezonelocale_p.h>
|
||||
#include <private/qtimezoneprivate_p.h>
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (C) 2022 The Qt Company Ltd.
|
||||
// Copyright (C) 2013 John Layt <jlayt@kde.org>
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
// Qt-Security score:critical reason:data-parser
|
||||
|
||||
#include "qtimezone.h"
|
||||
#include "qtimezoneprivate_p.h"
|
||||
|
@ -2,6 +2,7 @@
|
||||
// Copyright (C) 2019 Crimson AS <info@crimson.no>
|
||||
// Copyright (C) 2013 John Layt <jlayt@kde.org>
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
// Qt-Security score:critical reason:data-parser
|
||||
|
||||
#include "qtimezone.h"
|
||||
#include "qtimezoneprivate_p.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user