diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-03-09 16:20:48 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-03-09 16:47:45 -0800 |
commit | 69e1e1362bbe7883a34227ac4135dd3cd75a348d (patch) | |
tree | a49fc479d393739896ab74cc2293dfe812b170b0 /include | |
parent | 5d376dd911a50e60631f64637105a2883dd3e7c4 (diff) |
Pass correct number of atoms from SelectSave to _XawTextSaltAwaySelection
When filling in the array, we correctly limited to the 256 slots allocated
but then we reset the value to an unlimited number when passing it on to
the function that walks the array, which could lead to it walking too far.
Fixes https://gitlab.freedesktop.org/xorg/lib/libxaw/issues/2
Reported-by: Praveen Kumar <praveen.pk@samsung.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
(Adapted from libXaw commit c01d47c4c0e0a66e0989d40f73827d0a55f693cc)
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions