summaryrefslogtreecommitdiff
path: root/src/AsciiSrc.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2019-03-09 16:20:48 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-03-09 16:47:45 -0800
commit69e1e1362bbe7883a34227ac4135dd3cd75a348d (patch)
treea49fc479d393739896ab74cc2293dfe812b170b0 /src/AsciiSrc.c
parent5d376dd911a50e60631f64637105a2883dd3e7c4 (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 'src/AsciiSrc.c')
0 files changed, 0 insertions, 0 deletions