diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2018-01-03 01:11:34 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2018-01-07 01:27:07 +0100 |
commit | 56fa234856428ca2de92c27904edb1fe28bc4fdc (patch) | |
tree | 63b0ecfc6e9c67d61a6fd118e4707f0f3394d4b5 /nx-X11/include/Xthreads.h | |
parent | cac1af52d93222e3705ea20f999ba7178010963e (diff) | |
download | nx-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/include/Xthreads.h')
0 files changed, 0 insertions, 0 deletions