aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/Xi/getmmap.h
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-01-03 01:11:34 +0100
committerUlrich Sibiller <uli42@gmx.de>2018-01-07 01:27:07 +0100
commit56fa234856428ca2de92c27904edb1fe28bc4fdc (patch)
tree63b0ecfc6e9c67d61a6fd118e4707f0f3394d4b5 /nx-X11/programs/Xserver/Xi/getmmap.h
parentcac1af52d93222e3705ea20f999ba7178010963e (diff)
downloadnx-libs-56fa234856428ca2de92c27904edb1fe28bc4fdc.tar.gz
nx-libs-56fa234856428ca2de92c27904edb1fe28bc4fdc.tar.bz2
nx-libs-56fa234856428ca2de92c27904edb1fe28bc4fdc.zip
Font.c: replace memcpy by sprintf preventing possible buffer overflows
I am not sure about the maximum font name length in X but just in case use snprintf instead of memcpy to be sure nothing dangerous can happen here.
Diffstat (limited to 'nx-X11/programs/Xserver/Xi/getmmap.h')
0 files changed, 0 insertions, 0 deletions