lp:libice

Created by VCS imports on 2011-06-12 and last modified on 2019-04-11
Get this branch:
bzr branch lp:libice

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
libice
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://anongit.freedesktop.org/xorg/lib/libICE.

The next import is scheduled to run in 3 hours.

Last successful import was 2 hours ago.

Import started 2 hours ago on izar and finished 2 hours ago taking 15 seconds — see the log
Import started 8 hours ago on alnitak and finished 8 hours ago taking 20 seconds — see the log
Import started 14 hours ago on izar and finished 14 hours ago taking 15 seconds — see the log
Import started 20 hours ago on izar and finished 20 hours ago taking 15 seconds — see the log
Import started on 2019-06-24 on alnitak and finished on 2019-06-24 taking 20 seconds — see the log
Import started on 2019-06-23 on izar and finished on 2019-06-23 taking 20 seconds — see the log
Import started on 2019-06-23 on alnitak and finished on 2019-06-23 taking 20 seconds — see the log
Import started on 2019-06-23 on izar and finished on 2019-06-23 taking 20 seconds — see the log
Import started on 2019-06-23 on alnitak and finished on 2019-06-23 taking 20 seconds — see the log
Import started on 2019-06-22 on alnitak and finished on 2019-06-22 taking 15 seconds — see the log

Recent revisions

172. By Olivier Fourdan <email address hidden> on 2019-04-11

cleanup: Separate variable assignment and test

Assigning and testing a value in a single statement hinders code clarity
and may confuses static code analyzers.

Separate the assignment and the test for clarity.

Signed-off-by: Olivier Fourdan <email address hidden>

171. By Olivier Fourdan <email address hidden> on 2019-04-10

_IceRead: Avoid possible use-after-free

`_IceRead()` gets called from multiple places which do not expect the
connection to be freed.

Do not free the connection data in `_IceRead()` to avoid potential
use-after-free issue in the various callers.

The connection data will be freed eventually in `ProcessWantToClose()`,
so not freeing it in `_IceRead()` should not introduce an memory leak.

Signed-off-by: Olivier Fourdan <email address hidden>

170. By Olivier Fourdan <email address hidden> on 2019-04-10

IceListenForWellKnownConnections: Fix memleak

The function `_IceTransMakeAllCOTSServerListeners` allocates memory for
`transConns` which is leaked in case of error.

Signed-off-by: Olivier Fourdan <email address hidden>

169. By Alan Coopersmith on 2019-03-24

IceWritePad: always use zero values for pad bytes

Previously it would just bump the pointer in the buffer leaving
whatever values were previously there in place.

Signed-off-by: Alan Coopersmith <email address hidden>

168. By Alan Coopersmith on 2019-03-24

IceOpenConnection: check for malloc failure on connect_to_you too

Fixes: https://gitlab.freedesktop.org/xorg/lib/libice/issues/4

Reported-by: mahendra <email address hidden>
Signed-off-by: Alan Coopersmith <email address hidden>

167. By desrt on 2019-03-24

authutil: support $XDG_RUNTIME_DIR/ICEauthority

If we find that $XDG_RUNTIME_DIR is set (and $ICEAUTHORITY is not), then
the ICEauthority file is stored in the XDG_RUNTIME_DIR instead of the
home directory, and without a leading dot.

https://bugs.freedesktop.org/show_bug.cgi?id=49173
Signed-off-by: Alan Coopersmith <email address hidden>

166. By desrt on 2019-03-24

authutil: fix an out-of-bounds access

There is a theoretical edge case where the $HOME environment variable
could be set to the empty string. IceAuthFileName() unconditionally
checks index 1 of this string, which is out of bounds.

Fix that up by rejecting empty strings in the same way as we reject
NULL.

https://bugs.freedesktop.org/show_bug.cgi?id=49173
Signed-off-by: Alan Coopersmith <email address hidden>

165. By Tobias Stoeckmann <email address hidden> on 2019-03-10

Always terminate strncpy results.

The function strncpy does not guarantee to append a terminating
NUL character to the destination.

This patch merges libSM's way of handling this issue into libICE.

Signed-off-by: Tobias Stoeckmann <email address hidden>
Signed-off-by: Alan Coopersmith <email address hidden>

164. By Wharms-bfs on 2019-03-03

iceauth.c: FIX warning: unused variable 'ret' in 'arc4random_buf'

commit ff5e59f32255913bb1cdf51441b98c9107ae165b left ret outside the #if
causing a gcc warning:

 In function 'arc4random_buf':
 iceauth.c:89:13: warning: unused variable 'ret' [-Wunused-variable]

fixed by moving #if 1 up

Signed-off-by: Walter Harms <email address hidden>
Reviewed-by: Alan Coopersmith <email address hidden>
Signed-off-by: Alan Coopersmith <email address hidden>

163. By Alan Coopersmith on 2018-12-08

Update configure.ac bug URL for gitlab migration

Signed-off-by: Alan Coopersmith <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.