| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
This fixes a memory leak
|
| |
| |
| |
| |
| |
| |
| |
| | |
This ensures that the buffer is allocated with the correct alignment and
padding for use with sws_scale.
This fixes out-of-bounds writes which would in some cases cause
segmentation faults and/or heap corruption.
|
| |
| |
| |
| | |
This fixes commit a79c33d.
|
| |
| |
| |
| |
| | |
This is a policy decision, so let's not enforce something on our own if
there is a system policy to rely on.
|
| |
| |
| |
| |
| | |
It's not used for Windows or macOS builds, so don't show the setting
there.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Password should not be greater than 8 characters.
Because only 8 valid characters are used.
|
| | |
| | |
| | |
| | |
| | | |
Use the library pwquality to check password complexity and improve security.
Additionally, optional enable support is also set in CMake.
|
|\ \ \ |
|
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The underlying issue requiring this hack was fixed ages ago.
Unfortunately, the fixed GnuTLS doesn't consider static linking. So we
need to add a new hack that permits that.
|
| | |
| | |
| | |
| | |
| | | |
Try to be more clear about what things are external to the current
context, and what aren't.
|
| | |
| | |
| | |
| | |
| | | |
The usage of this is unclear as it is never caught. Use the general
exception class, to stay consistent with all other protocol handling.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It's unclear why this code was ever added, and it can be very confusing
that the window partially adjusts itself. The code is also in conflict
with the earlier comment that states we'll leave the window size alone
if it didn't perfectly match before the resize.
|
| | |
| | |
| | |
| | |
| | | |
This was made obsolete in dd45b44 when we extended the serverInit()
callback.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This method should only be called when the client actually sends a
framebuffer update request, otherwise we might send data the client is
not ready for.
It's unclear what the purpose of this call is, so we have no better fix
than to just remove it.
|
| | |
| | |
| | |
| | |
| | | |
This method is no longer blocking, so the description needed to be
adjusted.
|
| | |
| | |
| | |
| | | |
Let's try to mimic a real event as much as possible to avoid bugs.
|
| | |
| | |
| | |
| | |
| | | |
This is a very limited bit field, so use an 8 bit type to clearly show
how many bits are available.
|
| | |
| | |
| | |
| | |
| | | |
The different uses of this interface are not that closely related and
there is no need for them to have a common interface class.
|
| | |
| | |
| | |
| | | |
This has been unused since 9fe3479.
|
| | |
| | |
| | |
| | | |
This class has been removed since ages.
|
| | |
| | |
| | |
| | |
| | | |
We need to return here or we'll do an out-of-bounds access on the data
array.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This exception is for when the user fails to authenticate, not all
possible errors that might occur during the authentication phase.
Use more appropriate exception types for the various other problems that
might occur, so that we can present things more accurately to the user.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This prefix often just added noise, and could sometimes be added
multiple times. It's better that user interface catch the specific
exception type and give a more descriptive presentation to the user.
This is partially a revert of 1922550.
|
| | |
| | |
| | |
| | |
| | | |
We should not be throwing up error messages, or asking to reconnect, if
the user has actively cancelled the authentication attempt.
|
| | |
| | |
| | |
| | |
| | | |
Follow the standard XK_ prefix, and also include the hex value for
easier debugging.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We implement our own version of this, and because of this we carry our
lookup table generated by the same tool that libX11 uses. Unfortunately,
that table is a global symbol and as such there might be a mismatch of
which table should be used.
Make sure we get our own copy by changing the name of it. We use a
define rather than modifying ks_tables.h as that file is automatically
generated.
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Instead of giving up after all free keycodes have been used, Keycodes from previously added keysyms will be reused.
Re: #93
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Otherwise it merges with the next entry, removing both of them from the
default list.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
An empty shell field in the password file is valid, although not common.
Use /bin/sh in this case, as documented in the passwd(5) man page, since
the vncserver script requires a non-empty SHELL environment variable.
Fixes issue #1786.
Signed-off-by: Carlos Santos <casantos@redhat.com>
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This fixes a regression introduced by
12b3f4021641537b90727b23d42de5dff59006cd.
|
|/ / /
| | |
| | |
| | |
| | | |
This is what Xwayland does, so let's try to do the same to avoid any
incompatibilites with applications.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The rounding misbehaved when the tv_usec calculation overflows.
Fixes issue #1782.
|
| | |
| | |
| | |
| | |
| | |
| | | |
As of 28c3f12, we might now be running the frame clock even without a
framebuffer present. This means we need to be more careful accessing the
ComparingUpdateTracker, as it might be NULL.
|
| | |
| | |
| | |
| | |
| | | |
Otherwise we won't properly guarantee that we'll wait *at least* as long
as the specified time.
|
| | |
| | |
| | |
| | | |
Bug fix for bf28683.
|
|/ / |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Shadowing variable can easily lead to bugs, so let's enforce that this
is not allowed.
|
| | |
| | |
| | |
| | |
| | | |
It's a source of confusion and possibly bugs to reuse the same variable
name for multiple things.
|
| | |
| | |
| | |
| | |
| | | |
These functions act only on the input parameters, so let's make them
static to more clearly indicate that they do not act upon any object.
|