Univention Bugzilla – Attachment 6598 Details for
Bug 37269
computerroom segfault due to libqjpeg.so
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch: fix_computerroom_segfault_due_to_libqjpeg
009_fix_computerroom_segfault_due_to_libqjpeg.patch (text/plain), 768 bytes, created by
Alexander Kramer
on 2015-01-13 16:33 CET
(
hide
)
Description:
patch: fix_computerroom_segfault_due_to_libqjpeg
Filename:
MIME Type:
Creator:
Alexander Kramer
Created:
2015-01-13 16:33 CET
Size:
768 bytes
patch
obsolete
>diff --git a/lib/src/ItalcVncConnection.cpp b/lib/src/ItalcVncConnection.cpp >index 363b5ff..3ec6e62 100644 >--- a/lib/src/ItalcVncConnection.cpp >+++ b/lib/src/ItalcVncConnection.cpp >@@ -118,6 +118,8 @@ rfbBool ItalcVncConnection::hookNewClient( rfbClient *cl ) > > const int size = (int) cl->width * cl->height * > ( cl->format.bitsPerPixel / 8 ); >+ if(t->m_image.width() != cl->width && t->m_image.height() != cl->height) >+ { > if( t->m_frameBuffer ) > { > // do not leak if we get a new framebuffer size >@@ -134,6 +136,7 @@ rfbBool ItalcVncConnection::hookNewClient( rfbClient *cl ) > cl->format.redMax = 0xff; > cl->format.greenMax = 0xff; > cl->format.blueMax = 0xff; >+ } > > // only use remote cursor for remote control > cl->appData.useRemoteCursor = false;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 37269
:
6517
|
6548
|
6597
| 6598