diff options
author | Erkki Seppälä <erkki.seppala@vincit.fi> | 2011-01-31 14:01:57 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-19 21:40:24 +0200 |
commit | 20470a83e3a57f936cd90856325b897fa115b9ad (patch) | |
tree | e057c8621ae78217d5cd403a41bc2514b98d80a1 /nx-X11/x-indent.sh | |
parent | 7576f5f150ee5d6cb32ebc55d2a5b32bd642a32d (diff) | |
download | nx-libs-20470a83e3a57f936cd90856325b897fa115b9ad.tar.gz nx-libs-20470a83e3a57f936cd90856325b897fa115b9ad.tar.bz2 nx-libs-20470a83e3a57f936cd90856325b897fa115b9ad.zip |
XlibInt: Use strncpy+zero termination instead of strcpy to enforce buffer size
Possible overrun of 8192 byte fixed size buffer "buffer" by copying
"ext->name" without length checking
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/x-indent.sh')
0 files changed, 0 insertions, 0 deletions