-
67beb3d0
by Fuminobu TAKEYAMA
at 2013-09-29T09:21:05-07:00
XauFileName: reset bsize when malloc failed
https://bugs.freedesktop.org/show_bug.cgi?id=69929
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
304a11be
by Alan Coopersmith
at 2013-09-29T09:23:45-07:00
XauFileName: always go through buf allocation if buf is NULL
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
1e4635be
by Jeremy Huddleston Sequoia
at 2014-01-02T01:07:41-08:00
Silence a benign static analysis warning with an assert of allocation size
AuFileName.c:72:8: warning: Call to 'malloc' has an allocation size of 0 bytes
buf = malloc (size);
^~~~~~~~~~~~~
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-
33f792eb
by Peter Hutterer
at 2017-01-26T11:59:25+10:00
autogen.sh: use exec instead of waiting for configure to finish
Syncs the invocation of configure with the one from the server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-
fca98447
by Emil Velikov
at 2017-01-26T11:59:25+10:00
autogen.sh: use quoted string variables
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
fall-outs, when they contain space.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-
42e152c6
by Mihail Konev
at 2017-01-26T13:52:49+10:00
autogen: add default patch prefix
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
-
987fee49
by Tobias Stoeckmann
at 2017-10-20T14:51:03-04:00
Avoid out of boundary read access
If the environment variable HOME is empty, XauFileName triggers an
out of boundary read access (name[1]). If HOME consists of a single
character relative path, the output becomes unexpected, because
"HOME=a" leads to "a.Xauthority" instead of "a/.Xauthority". Granted,
a relative HOME path leads to trouble in general, the code should
properly return "a/.Xauthority" nonetheless.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
fdbb2127
by walter harms
at 2017-10-30T15:49:11+00:00
AuDispose.c:remove redundant null check on calling free()
redundant null check on auth->address calling free()
redundant null check on auth->number calling free()
redundant null check on auth->name calling free()
Signed-off-by: Walter Harms <wharms@bfs.de>
Reviewed-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-
cf6cc845
by walter harms
at 2017-10-30T15:49:38+00:00
Au FileName.c: remove redundant null check on calling free()
remove redundant null check on calling free()
Signed-off-by: Walter Harms <wharms@bfs.de>
Reviewed-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-
7ba7085b
by walter harms
at 2017-10-30T15:49:41+00:00
AuRead.c: remove redundant null check on calling free()
this removes simply unneeded code from XauReadAuth
Signed-off-by: Walter Harms <wharms@bfs.de>
Reviewed-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-
6f0b6fcf
by Alan Coopersmith
at 2018-12-07T19:38:53-08:00
Update configure.ac bug URL for gitlab migration
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-
d9443b2c
by Alan Coopersmith
at 2019-02-10T14:42:30-08:00
libXau 1.0.9
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>