| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Avoid parsing over the buffer limit, or interpreting non-hex as hex.
This still leaves parsing of lines longer than 300 chars unreliable.
Based on Qt5 patch for CVE-2020-17507.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 9d7d238e9efc673a0dbda1140e2eaa740fe00d6b)
|
|
|
|
|
| |
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit a35e51a4fde9d292e94e824454d5d589f22b0f19)
|
|
|
|
|
|
|
| |
Prevent to build MIT_SHM related codes for !QT_MITSHM condition.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 82d40179adeb02d3012e10c45ffde20e0e60fcd1)
|
|
|
|
|
|
|
|
| |
If `_POSIX_THREAD_PRIORITY_SCHEDULING == 0`, it must be checked
with sysconf(_SC_THREAD_PRIORITY_SCHEDULING) at runtime.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit d61a821ad0c5508dd2e34232370a66034b348886)
|
|
|
|
|
|
|
|
| |
`info_ptr->channels` will be set in the next called `png_set_IHDR()`,
so it is no effect.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit b00b5ea1c5e0cecd50b928a5d88b3be8560c18e7)
|
|
|
|
|
|
|
| |
It is suggested in png.h for applications.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 2283b5627da2a075591f4376666781b5a4be4c23)
|
|
|
|
|
|
|
| |
unnecessary actions. This relates loosely to bug 2955.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit bc1b1fed7dda5d3143e1fc9f6a38783ff8389f4d)
|
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 961eb3f6e276b4a3609328a3076ef790026e9c03)
|
|
|
|
|
|
|
|
|
|
|
| |
The ppm format specifies that the maximum color value field must be
less than 65536. The handler did not enforce this, leading to
potentional overflow when the value was used in 16 bits context.
Based on Qt5 patch for CVE-2018-19872.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit b08a6d71ba872e67b75a822fcd44670126975818)
|
|
|
|
|
|
|
|
|
|
|
| |
in the Qt plugins directory, instead of the TDE plugins
directory, which cannot be known at Qt build time.
This resolves issue #3.
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1ef55acbce6782803def9c2cc7bbc6a15dd9d6c9)
|
|
|
|
|
|
|
|
|
|
| |
Make the decoder fail early to avoid spending time and memory on
attempting to decode a corrupt image file.
Based on Qt5 patch for CVE-2018-19873.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a00e43bd1ce54de39f807ae5acbcaa52b15be844)
|
|
|
|
|
|
|
|
|
|
| |
Since image files easily can be (or corrupt files claim to be) huge,
it is worth checking for out of memory situations.
Based on Qt5 patch for CVE-2018-19870.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a04cfea092d974109c6a883f26762be984805c8e)
|
|
|
|
|
|
|
|
|
| |
This resolves bug 2991.
Thanks to Nikolaus Klepp for initial patch.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ee61bf8d1a23872f247f6b1c2ba387fb7ae98e43)
|
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 5431226296e2607b37b4f666ee970bddb5fd5707)
|
|
|
|
|
|
|
|
| |
The code partially taken from Qt4
This relates to bug 2775
Signed-off-by: Roman Savochenko <rom_as@oscada.org>
(cherry picked from commit 02405c8411cbdf42fa8f73ce93598eb6f5cec0fe)
|
|
|
|
|
|
|
|
|
| |
currentThreadObject() returns a null pointer if the
current thread was not started using the QThread API.
This relates to bug 1748.
(cherry picked from commit dad70b4c5201ece044ecb663bb91b48ba8bd84a3)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
| |
[taken from RedHat Qt3 patches]
(cherry picked from commit 538d6a2440fbe645b970402fa7e86dfd3e36192b)
|
|
|
|
|
| |
[taken from RedHat Qt3 patches]
(cherry picked from commit b3037160f25730efca66966559779559a4946bf3)
|
|
|
|
|
| |
[taken from RedHat Qt3 patches]
(cherry picked from commit ad74a11abf9d62389a6bd74a6edf9cd73e36c8f7)
|
|
|
|
| |
This relates to Bug 1489
|
|
|
|
| |
This relates to Bug 1489
|
|
|
|
| |
This relates to Bug 1820
|
| |
|
| |
|
|
|
|
|
|
| |
If the passed object is the same, the warning message is not displayed any more.
If the passed object is different, a message is still displayed.
This resolves bug 1947.
|
|
|
|
|
|
|
| |
invoked twice."
because of wrong reference to bug 1887.
This reverts commit 41f30477dd877e37ed79b42253b79d6441dab7d9.
|
|
|
|
|
|
| |
If the passed object is the same, the warning message is not displayed any more.
If the passed object is different, a message is still displayed.
This resolves bug 1887.
|
|
|
|
|
|
|
| |
handlers
This resolves Bug 1816
Fix FTBFS in style examples
|
|
|
|
| |
This resolves bug 1901 and 1909.
|
|
|
|
| |
This resolves Bug 2033
|
|
|
|
| |
This resolves Bug 1602
|
| |
|
| |
|
| |
|
|
|
|
| |
This relates to Bug 1703
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This resolves Bug 1674
|
| |
|
|
|
|
| |
This relates to Bug 1627
|
| |
|
| |
|
|
|
|
| |
This relates to Bug 760
|
|
|
|
| |
This resolves Bug 1581
|
|
|
|
|
| |
This resolves Bug 1521
Make double free or delete of QString objects more obvious
|
| |
|
| |
|
|
|
|
|
| |
Add proper thread termination handler
This partially resolves Bug 1508
|