1.8.1
This release fixes the --enable-thread-safety-constructor option to the
configure script to work as intended. In the previous release, the changes
for this option may not have been enabled when the option was not specified
or when the --enable option was specified.
While we have enabled it by default, believing that doing so will reduce
the number of bugs users encounter running libX11 clients, in some cases
it may expose bugs in which clients had previously gotten away with calling
libX11 functions while a libX11 lock is already held, and thus now deadlock,
as discussed in https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/157 .
Alan Coopersmith (2):
configure.ac: Fix --enable-thread-safety-constructor
libX11 1.8.1
1.8
The highlight of this release is that we now try to initialize thread
safety ourselves, rather than hope the application does it. This should
resolve a number of long-standing bugs with the libxcb integration,
since the socket handoff mechanism essentially has to be thread-safe.
But regressions are always possible, so please report any issues
introduced by this release.
Adam Jackson (2):
global: call XInitThreads() from the library's constructor
libX11 1.8
Alan Coopersmith (4):
XkbUpdateKeyTypeVirtualMods: always initialize mask
XKBgeom.h: Remove XKB_IN_SERVER section
XKBgeom.h: Add _Xconst qualifier to char * arguments in functions
XkbOpenDisplay: Add _Xconst qualifier to display name argument
Benno Schulenberg (7):
nls: remove redundant Khmer digraphs, already defined in included file
nls: remove misplaced sequences from Ethiopian and Greek compose files
nls: remove eight pointless self-producing compose sequences
nls: add Multi-key sequences for abovedot, diaeresis, and ogonek
nls: make the Ethiopian compose sequences actually work
lcCT: use the correct index for checking the second byte
docs: add release notes for versions 1.7.3, 1.7.4, and 1.7.5
Adam Jackson (1):
xcb: Clarify the XInitThreads error message
Alan Coopersmith (1):
gitlab CI: enable Static Application Security Testing (SAST)
Antti Savolainen (1):
nls: add two compose sequences for an upwards arrow using dead_circumflex
ArenaL5 (2):
nls: add a compose sequence for the middle dot (·) using dead_circumflex
nls: add a compose sequence for the copyleft symbol
Benno Schulenberg (30):
lcUTF8: remove two unneeded ifs and two elses that are never reached
XKBMAlloc: use the correct first-key variable when extending a key range
docs: unwrap some mistakenly wrapped lines, and correct a comment
docs: unwrap the comments of structure elements in the man pages
nls: remove redundant compose sequences with the deprecated 'underbar'
nls: remove redundant compose sequences with deprecated Hebrew symbols
nls: group some compose sequences better, and add some comments
nls: delete some ineffective compose sequences (that were commented out)
nls: move the block of Jamo to its logical place (ascending Unicodes)
nls: remove the compose sequences with the deviant KP_Space symbol
nls: fix a typo (be_BG => bg_BG) and drop an obsolete comment
nls: put some entries in their alphabetical order, and adjust alignment
nls: remove some obsolete Norwegian and Yugoslavian locale names
nls: add the es_CU locale name, for Cuba
XKBCvt: remove an if that never gets triggered
remove a commented-out code fragment, and remove a stray blank line
KeyBind: update the Greek case-conversion tables to Unicode Data 14.0
KeyBind: slightly speed up some case conversions by adding missing returns
KeyBind: reshuffle two ifs into the general order of ascending codes
docs: add missing word, wrap line, fix typo, and trim an excess space
nls: among the compose sequences, replace all runs of spaces with tabs
nls: do some manual adjustment of whitespace in the compose sequences
imDefLkup: verify that a pointer isn't NULL before using it
nls: add compose sequences for leftward, upward and downward double arrow
nls: use shape-based compose sequences for hammer-and-sickle instead
nls: group the compose sequences for tilde, degree, and cedilla together
nls: remove the mistaken eo_EO names -- EO is not a valid country code
nls: map eo.UTF-8 directly to en_US.UTF-8 instead of using a relay alias
nls: remove obsolete locale aliases with uppercase in the language code
nls: add a compose sequence for the peace symbol
Christopher Chavez (2):
Xlib.h: spelling fix in comment
Xlib.h: fix spelling in comment
Denis Drakhnia (1):
nls: Add ru_UA.utf8 locale alias.
Giovanni Mascellani (1):
xcb_io: Allow jumps backwards when widening the request number.
Hodong (2):
specs/XIM: fix a missing "EXT" in the documentation
Fix two memory leaks in _XFreeX11XCBStructure()
Matt Turner (1):
libX11 1.7.4
iyzana (1):
nls: add locale alias from eo.UTF-8 to eo_XX.UTF-8
This release of libX11 corrects a packaging problem in 1.7.3 which caused
the m4 files needed for autoreconf to not be included in the tarballs.
(ProTip: if you have an ACLOCAL variable set in your environment, and it
doesn't have "-I m4" ahead of any other -I options, then automake may
assume that any m4 files found via those other -I options don't need to
be included in the tarballs when you run "make dist".)
As a bonus, this release also includes one tiny typo fix in the XIM specs.
This release includes a number of bug fixes and adds support for the
_EVDEVK keysyms added in xorgproto 2021.2.
Alan Coopersmith (2):
Build xz tarballs instead of bzip2
libX11 1.7.3
Alex Richardson (2):
Fix cross-compilation from macOS
Avoid undefined behaviour after realloc()
Hodong (1):
Fix a typo
Igor V. Kovalenko (1):
libX11: do not crash in GetResReq() macro
Lev Korol (1):
nls: Add en_IL locale
Liang Chang (1):
Make Xutf8DrawString works correctly with ISO10646 fonts.
Matthieu Herrb (1):
Avoid NULL pointer deref. Fixes issue #47.
Peter Hutterer (2):
makekeys: handle the new _EVDEVK xorgproto symbols
gitlab CI: update to use the ci-fairy image
Tatu Frisk (1):
Fix hanging issue in _XReply
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Unfetchable distfiles (fetched conditionally?):
./x11/py-qt4/distinfo PyQt4_gpl_mac-4.12.3.tar.gz
This is a bug fix release, correcting a regression [1] introduced by and
improving the checks from the fix for CVE-2021-31535.
[1] https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/133
Alan Coopersmith (1):
libX11 1.7.2
Matthieu Herrb (2):
include <limits.h> always, not if HAVE_CONFIG_H is set.
Check for NULL strings before getting their lengths
Tobias Stoeckmann (1):
Protect against overly long strings
Benno Schulenberg (3):
nls: add 'C.utf8' as an alias for 'en_US.UTF-8'
nls: allow composing all breved letters also with a lowercase "u"
nls: adjust three comments about the APL compose sequences
Christopher Chavez (1):
Xlib.h: spelling fix in comment
Gaurav Ujjwal (1):
Fix out-of-bound access in KeySymToUcs4()
Matthieu Herrb (2):
Reject string longer than USHRT_MAX before sending them on the wire
Version 1.7.1
Walter Harms (8):
FIX: warning: macro `Pn' not defined
FIX: warning: macro `hN' not defined
fix warning: macro `s' not defined
FIX: warning: macro `IN' not defined
FIX: warning: macro `hN' not defined
fix broken nroff coding for code comments
Fix some roff code add see also
fix same roff code
libX11 version 1.7.0 includes a new API, hence the change from the 1.6
series to 1.7:
* XSetIOErrorExitHandler which provides a mechanism for applications
to recover from I/O error conditions instead of being forced to
exit. Thanks to Carlos Garnacho for this.
This release includes a bunch of bug fixes, some which have been pending for over three years:
* A bunch of nls cleanups to remove obsolete entries and clean up
formatting of the ist. Thanks to Benno Schulenberg for these.
* Warning fixes and other cleanups across a huge swath of the
library. Thanks to Alan Coopersmith for these.
* Memory allocation bugs, including leaks and use after free in the
locale code. Thanks to Krzesimir Nowak, Jacek Caban and Vittorio
Zecca for these.
* Thread safety fixes in the locale code. Thanks to Jacek Caban for
these.
* poll_for_response race condition fix. Thanks to Frediano Ziglio for
the bulk of this effort, and to Peter Hutterer for careful review
and improvements.
Version 1.7.0 includes a couple of new locales:
* ia and ie locales. Thanks to Carmina16 for these.
There are also numerous compose entries added, including:
* |^ or ^| for ↑, |v or v| for ↓, ~~ for ≈. Thanks to Antti
Savolainen for this.
* Allowing use of 'v' for caron, in addition to 'c', so things like
vC for Č, vc for č. Thanks to Benno Schulenberg for this.
* Compose sequences LT, lt for '<', and GT, gt for '>' for keyboards
where those are difficult to access. Thanks to Jonathan Belsewir
for this.
Christopher Chavez (1):
Fix typo GCCLipYOrigin -> GCClipYOrigin in XCreateGC() manpage
Felix Yan (1):
Correct a typo in GetStCmap.c
Matthieu Herrb (2):
Fix an integer overflow in init_om()
libX11 1.6.12
Maya Rashish (1):
Avoid the use of "register" keyword in XkbTranslateKeySym.
Niclas Zeising (1):
Fix input clients connecting to server
Heap corruption in the X input method client in libX11
======================================================
CVE-2020-14344
The X Input Method (XIM) client implementation in libX11 has some
integer overflows and signed/unsigned comparison issues that can lead
to heap corruption when handling malformed messages from an input
method.
Patches
=======
Patches for these issues have been commited to the libX11 git repository.
libX11 1.6.10 will be released shortly and will include those patches.
https://gitlab.freedesktop.org/xorg/lib/libx11
commit 1703b9f3435079d3c6021e1ee2ec34fd4978103d (HEAD -> master)
Change the data_len parameter of _XimAttributeToValue() to CARD16
It's coming from a length in the protocol (unsigned) and passed
to functions that expect unsigned int parameters (_XCopyToArg()
and memcpy()).
commit 1a566c9e00e5f35c1f9e7f3d741a02e5170852b2
Zero out buffers in functions
It looks like uninitialized stack or heap memory can leak
out via padding bytes.
commit 2fcfcc49f3b1be854bb9085993a01d17c62acf60
Fix more unchecked lengths
commit 388b303c62aa35a245f1704211a023440ad2c488
fix integer overflows in _XimAttributeToValue()
commit 0e6561efcfaa0ae7b5c74eac7e064b76d687544e
Fix signed length values in _XimGetAttributeID()
The lengths are unsigned according to the specification. Passing
negative values can lead to data corruption.
Thanks
======
X.Org thanks Todd Carson for reporting these issues to our security
team and assisting them in understanding them and providing fixes.
pkglint --only "https instead of http" -r -F
With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.
This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
1.6.9
A collection of build and documentation fixes, one preparatory change
for a new xorgproto release, and a fix for a deadlock bug in _XReply.
Thanks to all who contributed.
Adam Jackson (3):
makekeys: Detach ourselves from X headers entirely
xkb: Provide <X11/extensions/XKBgeom.h> ourselves
libX11 1.6.9
Dmitry Osipenko (1):
Fix lockup in _XReply() caused by recursive synchronization
Ross Burton (1):
src/util/Makefile: explicitly reset LINK to not use libtool
Thomas E. Dickey (6):
the last commit overlooked some fake-quote pairs
another fake-quote fix
trim trailing whitespace from manpages
split lines at sentence endings
fix a substitution error from recent commit, e.g, "s/^\.EE/XDe/"
improve some formatting
Walter Harms (8):
note that we can handle kbd==NULL
remove in-text macros
replace home grown .ZN with std, .B and .BR
fix TBL format
Replace home-grown .Ds .De macro with man page .EX/.EE macro
remove all private macro defines
get rid of ``fake quotes''
fix ``fake quotes'' in text
1.6.8
Adam Jackson (2):
_XDefaultIOError: Reformat to be less ugly
_XDefaultIOError: Do better at detecting explicit shutdown
Alan Coopersmith (23):
Remove documentation of obsolete B16 & B32 tags in specs/libX11
Update README for gitlab migration
Import reallocarray() from OpenBSD
Convert main src directory to use reallocarray()
Convert src/XKB to use reallocarray()
Convert src/xcms to use reallocarray()
Add some missing allocation failure checks in src/xcms
Replace _XkbTypedRealloc & _XkbClearElems with new _XkbResizeArray
Replace Xmalloc+strcpy pairs with strdup calls
Convert src/xlibi18n to use reallocarray()
Fix out-of-tree builds after commit 8a62e26515e528bb47917ec4a55cc2b492419eeb
Remove no-longer-used name variable in _XGetAtomName
Fix implicit conversion warnings in _XlcCreateDefaultCharSet
Avoid use-after-free in _XimProtoSetIMValues()
Fix man page typo: XkbAllBellNotifyMask -> XkbAllBellEventsMask
XkbAllocGeomOverlayKey man page should be named XkbAllocGeomOverlayKeys
specs/XKB: Fix misprint in documentation of XkbGetNamedGeometry()
specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayRows()
specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayKeys()
specs/XKB: Fix misprint in documentation of XkbFreeGeomOverlayKeys()
XlibInt.c: include headers needed for ioctl(...FIONREAD...) on Solaris
Include reallocarray.h in tarballs so "make distcheck" passes
Add missing close paren to XrmGetStringDatabase synopsis in man page
Albert Astals Cid (2):
compose.dir: Add ast_ES.UTF-8
locale.dir: Add ast_ES.UTF-8
Jon Turney (4):
Add autoconf checks for headers we include for FIONREAD
Remove makekeys dependency on X headers
Use EXEEXT_FOR_BUILD for makekeys
Avoid using libtool wrapper for makekeys
Josh Triplett (1):
compose.dir.pre: Give the C.UTF-8 locale a full set of UTF-8 compose sequences
Matt Turner (2):
Use AC_SYS_LARGEFILE
libX11 1.6.8
Matthias Dieter Wallnöfer (5):
locale.dir.pre - fix the de_LI latin15 locale
Update locale.alias.pre - introduce the de_LI aliases (equivalent to de_CH)
compose.dir.pre - add de_IT locale
locale.dir.pre - add the de_IT locale
locale.alias.pre - add the de_IT locale
Pavel Labath (1):
Fix a leak in XCreateFontSet
Ran Benita (1):
Compose.man: fix escaped hexadecimal char description
Samuel Thibault (1):
Braille: Fix typing quickly
Tapani Pälli (1):
Protect colormap add/removal with display lock
ojab (1):
Compose sequences for rouble sign
Bhavi Dhingra (1):
XcmsLookupColor: fully initialize XColor structs passed to _XColor_to_XcmsRGB
Matt Turner (1):
libX11 1.6.7
Michel Dänzer (2):
poll_for_response: Call poll_for_event again if xcb_poll_for_reply fails
poll_for_event: Allow using xcb_poll_for_queued_event
Security fix release.
Alan Coopersmith (6):
Make Xkb{Get,Set}NamedIndicator spec & manpages match code
Clarify state parameter to XkbSetNamedDeviceIndicator
Improve table formatting in XkbChangeControls & XkbKeyNumGroups man pages
If XGetImage fails to create image, don't dereference it to bounds check
Use size_t for buffer sizes in SetHints.c
Change fall through comment in lcDB.c to match gcc's requirements
Arthur Huillet (1):
_XDefaultError: set XlibDisplayIOError flag before calling exit
Bhavi Dhingra (1):
Fix possible memory leak in cmsProp.c:140
Martin Natano (1):
Don't rebuild ks_tables.h if nothing changed.
Matthieu Herrb (2):
Remove statement with no effect.
libX11 1.6.6
Michal Srb (1):
Use flexible array member instead of fake size.
Ryan C. Gordon (1):
Valgrind fix for XStoreColor and XStoreColors.
Samuel Thibault (1):
XkbOpenDisplay.3: fix typo
Tobias Stoeckmann (4):
Validation of server response in XListHosts.
Fixed off-by-one writes (CVE-2018-14599).
Fixed out of boundary write (CVE-2018-14600).
Fixed crash on invalid reply (CVE-2018-14598).
walter harms (13):
fix shadow warning
_XIOError(dpy); will never return so remore dead
remove argument check for free() adjust one inden
fix shadow char_size
fix more shadow warning
no need to check argument for _XkbFree()
remove stray extern
no need to check args for Xfree()
fix memleak in error path
fix memleak in error path
no need to check XFree arguments
mark _XDefaultIOError as no_return
Fixes: warning: variable 'req' set but not,used
wharms (3):
add _X_UNUSED to avoid unused variable warnings
remove empty line
silence gcc warning assignment discards 'const' qualifier from pointer target type
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.
There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
Adam Jackson (1):
Revert "Compose sequences for rouble sign"
Alan Coopersmith (6):
specs/libX11: More synopsis fixes
specs/libX11: Fix paramdef entries listing multiple parameters
specs/libX11: Make paramdef spacing more consistent
specs/libX11: Add missing parameter types for XGetWindowProperty()
specs/libX11: Fix broken synopsis for Data/Data16/Data32
specs/libX11: Update Portability Considerations for the 21st century
Emil Velikov (1):
autogen.sh: use quoted string variables
Emilio Pozuelo Monfort (1):
Plug a memory leak
Julien Cristau (1):
Fix wrong Xfree in XListFonts failure path
Lucien Gentis (1):
Typos in "Xlib - C Language X Interface" document - Chapter 02
Matt Turner (1):
libX11 1.6.5
Mihail Konev (2):
autogen: add default patch prefix
Compose sequences for rouble sign
Peter Hutterer (1):
autogen.sh: use exec instead of waiting for configure to finish
Petr Písař (1):
Revert cs_CZ.UTF-8 XLC_LOCALE to en_US.UTF-8
Alan Coopersmith (20):
Move Compose \ o / to be with other emoji compose sequences
Replace Xmalloc+memset pairs with Xcalloc calls
Get rid of some extraneous ; at the end of C source lines
Remove unused definition of XCONN_CHECK_FREQ
Bug 93184: read_EncodingInfo invalid free
Bug 93183: _XDefaultOpenIM memory leaks in out-of-memory error paths
Delete #if 0 hunks of code
Use strdup instead of Xmalloc+strcpy in _XDefaultOpenIM
XDefaultOMIF: replace strlen+Xmalloc+strcpy with strdup
XDefaultOMIF: additional code simplification
XDefaultOMIF: Remove comments referring to ancient Sun bug ids
XlcDL.c: replace strcpy+strcat sequences with snprintf
XlcDL.c: reduce code duplication
lcPubWrap: replace malloc(strlen) + strcpy with strdup
Stop checking XTRANS_SECURE_RPC_FLAGS since we no longer use them
Stop checking for preferred order of local transports
Don't need to link libX11-xcb against libX11
xcms: use size_t for strlen/sizeof values instead of converting to int & back
xcms: use unsigned indexes when looping through unsigned values
xcms: use size_t for pointer offsets passed to strncmp
Bhavi Dhingra (1):
omGeneric.c: Correct the parameter usage of sizeof
Christian Linhart (1):
fix for Xlib 32-bit request number issues
Daniel Albers (1):
Add Compose sequence for U+1F4A9.
Dominik Muth (1):
Xlib.h: Fix macros imitating C functions.
Gunnar Hjalmarsson (1):
Add compose file for pt_PT similar to pt_BR
James Cloos (2):
Fix missing update in cf4d5989383a
Fix another missing update in cf4d5989383a
Julien Cristau (1):
Mark _XNextRequest as hidden
Mats Blakstad (1):
New compose keys for local languages in Togo
Matthew D. Fuller (1):
Fixup param specification for XChangeProperty()
Matthieu Herrb (1):
libX11 1.6.4
Mike FABIAN (3):
add be_BY.UTF-8@latin and sr_RS.UTF-8@latin to locale.dir
fix spelling mistakes in ks_IN and sd_IN devanagari locales
Fix spelling mistake introduced by 748d47e69f5c12d8557d56a8a8ec166588da7b93
Olivier Fourdan (1):
XKB: fix XkbGetKeyboardByName with Xming server
Peter Hutterer (3):
Fix potential memory leak
Fix an indentation issue
Fix three "use of uninitialized variable" coverity warnings
Ross Burton (1):
Add missing NULL checks to ICWrap
Thomas Klausner (2):
Do not return() after exit().
Ignore test-driver (used by newer autoconf).
Tobias Stoeckmann (2):
The validation of server responses avoids out of boundary accesses.
Validation of server responses in XGetImage()
walter harms (1):
XFree will accept NULL as argument
Problems found locating distfiles:
Package modular-xorg-server: missing distfile xorg-server-1.17.4.tar.bz2
Package py-qt4: missing distfile PyQt-mac-gpl-4.11.1.tar.gz
Package xservers: missing distfile xservers-3.3.6.5.tar.bz2
Package xview-clients: missing distfile xview3.2p1-X11R6.tar.gz
Package xview-lib: missing distfile xview3.2p1-X11R6.tar.gz
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
configure due to missing pthread library. Buildlink pthread. Don't hardcode
-pthread for OSF1, MirBSD, and OpenBSD, but use PTHREAD_{C,LD}FLAGS
instead. Add pthread in bl3, but for the above targets.
This release of libX11 includes a number of fixes to handle realloc() failure
better, resolves a number of compiler & static analyzer warnings, fixes several
bugs in the X Input Method framework, and cleans up the XKB code to be a little
more maintainable.
Alan Coopersmith (28):
Fix file leak on malloc error in XlcDL.c:resolve_object()
lcfile: skip over any null entries in args list
xlibi18n: convert sprintf calls to snprintf
ximcp/imRm.c: convert sprintf calls to snprintf
omGeneric.c: convert sprintf calls to snprintf
Avoid memory leak/corruption if realloc fails in XlcDL.c:resolve_object()
lcDB.c: ensure buffer size is updated correctly if realloc fails
Avoid memory leak/corruption if realloc fails in imLcPrs.c:parseline()
Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro
miRegionCopy(): handle realloc failure better
miRegionOp(): ensure region size is not updated if realloc fails
Delete unused XKB_INSURE_SIZE macro from XKBlibint.h
init_om: remove unneeded extra copy of string to local buffer
Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName()
Fix const handling in XSetLocaleModifiers
xlibi18n: Fix a bunch of const cast warnings
i18n modules: Fix some const cast warnings
xlibi18n: fix argsize argument to _XlcParsePath
Remove even more casts of return values from Xmalloc/Xrealloc
Don't cast sizeof() results to unsigned when passing to Xmalloc/Xcalloc
Remove unnecessary casts of pointers to (char *) in calls to Xfree()
Remove long unused src/udcInf.c
Fix overflow checks in _XkbReadKeySyms when key_sym_map is already created
Reindent XKB code to X.Org standard style
Rearrange some variable declarations & initializations in XKB
Stop checking for HAVE_DIX_CONFIG_H on the client side
Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size
libX11 1.6.2
Benno Schulenberg (1):
nls: Adding more accessible compose sequences for J́ and j́.
Egbert Eich (2):
XIM: Fix race on focus change: set 'FABRICATED' only when keyev filters in place.
XIM: Fix sync problem on focus change.
ISHIKAWA,chiaki (1):
Fix bogus timestamp generated by XIM
Julien Cristau (1):
Add missing locales to configure.ac
This release includes fixes to the code, docs & build system.
It makes both clang & doclifter happier. It includes patches
upstreamed from Ubuntu, NetBSD, and Solaris.
Alan Coopersmith (10):
Update README to reflect where to find the Xlib specs now
specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder
troff macro expansion in specs/libX11
Require ANSI C89 pre-processor, drop pre-C89 token pasting support
XSetModifierMapping: Use Data instead of GetReqExtra
Refactor common code from XAddHost & XRemoveHost into single function
omGeneric: remove space between struct name & member name
Add ku_TR.UTF-8 (Kurdish language, Turkey region) to compose/locale.dir
Fix undefined XCMSDIR error when building lint library
libX11 1.6.1
Eric S. Raymond (2):
Remove call to undefined macro.
Remove call to undefined macro.
Kees Cook (2):
libX11: check size of GetReqExtra after XFlush
libX11: check "req" when calling GetReqExtra
Thomas Klausner (6):
Deal with the limited range of VAX floating point numbers when compiling for VAX.
Stop truncating source to destination length if it is larger.
Use newer callback-based API for XIM.
Check for symbol existence with #ifdef, not #if
Fix out-of-range comparison in _XF86BigfontQueryFont
Tighten out-of-range comparisons.
Changes since libX11 1.5 (found in the release candidates) include fixes
for the recently announced security issues CVE-2013-1981, CVE-2013-1997,
and CVE-2013-2004; the addition of the _XEatDataWords API for use by
Xlib-based extension libraries, to help them avoid integer overflows when
it is necessary to discard data; removal of ancient, unused, incomplete
support for the Cray Unicos OS, and the DECnet and TLI transport types;
numerous improvements to compose files and locale data; man page macro
cleanups to improve compatibility with doclifter; and various other
code cleanups and compiler warning fixes.
Alan Coopersmith (1):
libX11 1.6.0
Thomas Klausner (2):
XCreateGC man page: Avoid .TS H and .TH macros
cmsMath.c: Add missing stdio header for printf(3) in DEBUG build.
- Tool-depend on xproto for data for a tool that libX11 builds and
runs.
- No need to pass CPPFLAGS_FOR_BUILD=-I${PREFIX}/include.
- Pass CC_FOR_BUILD=${NATIVE_CC:Q} in CONFIGURE_ENV, not MAKE_ENV.
There are at least two packages ("graphics/cairo" and "x11/xlsclients")
which require this. And we definitely want to avoid the situation where
both the based and "pkgsrc" version get used at the same time.
Bump all the packages which use the "x11/libxcb" package except the two
which already require version 1.6. For those package remove the manually
set minimum required version.
Change discussed with Thomas Klausner in private e-mail.
[ANNOUNCE] libX11 1.5.0
------------------------
At long last, the stable release of Xlib 1.5.0.
While it only strictly requires libxcb 1.2, it's recommended that libxcb 1.8.1
be used to get the fix for network connection fallback from Unix sockets to
TCP that replaces the code previously found in libX11.
Since there have been no changes since the final release candidate,
here's the full list of changes since libX11 1.4.4:
( Some 150 lines omitted, see following URL for detail )
http://lists.x.org/archives/xorg-announce/2012-June/001970.html
[ANNOUNCE] libX11 1.4.4
-----------------------
Thu, 28 Jul 2011 20:05:49 -0700 by Alan Coopersmith
Another bug fix release of libX11 brings another large set of fixes
found by static analysis or to ease further static analysis, many
documentation fixes and improvments, and improved assertions to
help users and developers figure out why Xlib just crashed on them.
[ANNOUNCE] libX11 1.4.3
-----------------------
Tue Apr 5 14:18:18 PDT 2011 by Alan Coopersmith
A minor release of libX11 to add support for the Sinhala keysyms required
by the recent xkb-config 2.2 release. Note that to get full support for
these keysyms you will also need to upgrade to x11proto 7.0.21 before
building the new libX11.
[ANNOUNCE] libX11 1.4.2
-----------------------
This bugfix release pulls in a ton of fixes for problems found by code static
analysis tools. Many thanks to everyone who has helped find and fix these
issues before they turned into nasty problems.
Additionally, Jamey Sharp has provided some fixes for Display lock handling
that caused some deadlocks when using xcb for transport (which was optional
in 1.3.x and is required in 1.4.x), so this update is highly recomended to
users of multi-threaded Xlib applications.
[ANNOUNCE] libX11 1.4.1
------------------------
Tue, 11 Jan 2011 22:35:19 -0800 by Alan Coopersmith
This bugfix release corrects two small issues in Xlib event handling,
and provides, for the first time ever, the XKB API spec in DocBook format.
[ANNOUNCE] libX11 1.4.0
------------------------
Sun Nov 21 14:38:32 PST 2010 by Alan Coopersmith
After 3 release candidates, it's finally done - libX11 1.4 is released.
As previously warned, libX11 1.4 *requires* libxcb. The Xlib 1.3 branch
continues to support the --without-xcb option for the benefit of any
remaining distributors who do not yet ship XCB in their stable releases.
[ANNOUNCE] libX11 1.3.6
------------------------
2010-09-20 6:16:18 by Daniel Stone
Just a small maintenance release for libX11; pending any catastrophic
bugs, this will probably be the last release from the 1.3.x branch. The
XStringToKeysym changes should provide a not-insignificant speedup for
X server and application startup.
I think that patch-aa is incorrect, at least on MirBSD. It supposes that
pthread_self is already in libc. However, I won't touch the patches
during the freeze.