Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/cderror.h
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jcapimin.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jcapistd.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jccoefct.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jccolor.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jcdctmgr.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jchuff.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jchuff.h
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jcinit.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jcmainct.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jcmarker.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jcmaster.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jcomapi.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jconfig.h
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jcparam.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jcphuff.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jcprepct.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jcsample.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jctrans.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdapimin.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdapistd.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdatadst.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdatasrc.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdcoefct.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdcolor.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdct.h
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jddctmgr.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdhuff.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdhuff.h
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdinput.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdmainct.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdmarker.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdmaster.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdmerge.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdphuff.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdpostct.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdsample.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdtrans.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jerror.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jerror.h
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jfdctflt.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jfdctfst.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jfdctint.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jidctflt.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jidctfst.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jidctint.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jidctred.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jinclude.h
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jmemmgr.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jmemnobs.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jmemsys.h
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jmorecfg.h
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jpegint.h
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jpeglib.h
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jquant1.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jquant2.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jutils.c
Examining data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jversion.h
Examining data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc
Examining data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock/gmock.h
Examining data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock_main.cc
Examining data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gtest/gtest.h
Examining data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinystr.cpp
Examining data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinystr.h
Examining data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.cpp
Examining data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.h
Examining data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxmlerror.cpp
Examining data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxmlparser.cpp
Examining data/openni-1.5.4.0+dfsg/Include/ARC/XnOSARC.h
Examining data/openni-1.5.4.0+dfsg/Include/ARC/XnPlatformARC.h
Examining data/openni-1.5.4.0+dfsg/Include/Android-Arm/XnPlatformAndroid-Arm.h
Examining data/openni-1.5.4.0+dfsg/Include/IXnNodeAllocator.h
Examining data/openni-1.5.4.0+dfsg/Include/Linux-Arm/XnPlatformLinux-Arm.h
Examining data/openni-1.5.4.0+dfsg/Include/Linux-x86/XnOSLinux-x86.h
Examining data/openni-1.5.4.0+dfsg/Include/Linux-x86/XnPlatformLinux-x86.h
Examining data/openni-1.5.4.0+dfsg/Include/MacOSX/XnPlatformMacOSX.h
Examining data/openni-1.5.4.0+dfsg/Include/Win32/XnOSWin32.h
Examining data/openni-1.5.4.0+dfsg/Include/Win32/XnPlatformWin32.h
Examining data/openni-1.5.4.0+dfsg/Include/Win32/usb100.h
Examining data/openni-1.5.4.0+dfsg/Include/XnAlgorithms.h
Examining data/openni-1.5.4.0+dfsg/Include/XnArray.h
Examining data/openni-1.5.4.0+dfsg/Include/XnBaseNode.h
Examining data/openni-1.5.4.0+dfsg/Include/XnBitSet.h
Examining data/openni-1.5.4.0+dfsg/Include/XnCallback.h
Examining data/openni-1.5.4.0+dfsg/Include/XnCodecIDs.h
Examining data/openni-1.5.4.0+dfsg/Include/XnContext.h
Examining data/openni-1.5.4.0+dfsg/Include/XnCppWrapper.h
Examining data/openni-1.5.4.0+dfsg/Include/XnCyclicQueueT.h
Examining data/openni-1.5.4.0+dfsg/Include/XnCyclicStackT.h
Examining data/openni-1.5.4.0+dfsg/Include/XnDataTypes.h
Examining data/openni-1.5.4.0+dfsg/Include/XnDerivedCast.h
Examining data/openni-1.5.4.0+dfsg/Include/XnDump.h
Examining data/openni-1.5.4.0+dfsg/Include/XnDumpWriters.h
Examining data/openni-1.5.4.0+dfsg/Include/XnEnumerationErrors.h
Examining data/openni-1.5.4.0+dfsg/Include/XnEvent.h
Examining data/openni-1.5.4.0+dfsg/Include/XnEventT.h
Examining data/openni-1.5.4.0+dfsg/Include/XnFPSCalculator.h
Examining data/openni-1.5.4.0+dfsg/Include/XnGeneralBuffer.h
Examining data/openni-1.5.4.0+dfsg/Include/XnHash.h
Examining data/openni-1.5.4.0+dfsg/Include/XnHashT.h
Examining data/openni-1.5.4.0+dfsg/Include/XnInternalDefs.h
Examining data/openni-1.5.4.0+dfsg/Include/XnLicensing.h
Examining data/openni-1.5.4.0+dfsg/Include/XnList.h
Examining data/openni-1.5.4.0+dfsg/Include/XnListT.h
Examining data/openni-1.5.4.0+dfsg/Include/XnLog.h
Examining data/openni-1.5.4.0+dfsg/Include/XnLogTypes.h
Examining data/openni-1.5.4.0+dfsg/Include/XnLogWriterBase.h
Examining data/openni-1.5.4.0+dfsg/Include/XnMacros.h
Examining data/openni-1.5.4.0+dfsg/Include/XnModuleCFunctions.h
Examining data/openni-1.5.4.0+dfsg/Include/XnModuleCppInterface.h
Examining data/openni-1.5.4.0+dfsg/Include/XnModuleCppRegistratration.h
Examining data/openni-1.5.4.0+dfsg/Include/XnModuleInterface.h
Examining data/openni-1.5.4.0+dfsg/Include/XnNode.h
Examining data/openni-1.5.4.0+dfsg/Include/XnNodeAllocator.h
Examining data/openni-1.5.4.0+dfsg/Include/XnOSCpp.h
Examining data/openni-1.5.4.0+dfsg/Include/XnOSMemory.h
Examining data/openni-1.5.4.0+dfsg/Include/XnOSStrings.h
Examining data/openni-1.5.4.0+dfsg/Include/XnOpenNI.h
Examining data/openni-1.5.4.0+dfsg/Include/XnPrdNode.h
Examining data/openni-1.5.4.0+dfsg/Include/XnPrdNodeInfo.h
Examining data/openni-1.5.4.0+dfsg/Include/XnPrdNodeInfoList.h
Examining data/openni-1.5.4.0+dfsg/Include/XnProfiling.h
Examining data/openni-1.5.4.0+dfsg/Include/XnPropNames.h
Examining data/openni-1.5.4.0+dfsg/Include/XnQueries.h
Examining data/openni-1.5.4.0+dfsg/Include/XnQueue.h
Examining data/openni-1.5.4.0+dfsg/Include/XnQueueT.h
Examining data/openni-1.5.4.0+dfsg/Include/XnScheduler.h
Examining data/openni-1.5.4.0+dfsg/Include/XnStack.h
Examining data/openni-1.5.4.0+dfsg/Include/XnStackT.h
Examining data/openni-1.5.4.0+dfsg/Include/XnStatus.h
Examining data/openni-1.5.4.0+dfsg/Include/XnStatusCodes.h
Examining data/openni-1.5.4.0+dfsg/Include/XnStatusRegister.h
Examining data/openni-1.5.4.0+dfsg/Include/XnStringsHash.h
Examining data/openni-1.5.4.0+dfsg/Include/XnStringsHashT.h
Examining data/openni-1.5.4.0+dfsg/Include/XnThreadSafeQueue.h
Examining data/openni-1.5.4.0+dfsg/Include/XnTypes.h
Examining data/openni-1.5.4.0+dfsg/Include/XnUSB.h
Examining data/openni-1.5.4.0+dfsg/Include/XnUtils.h
Examining data/openni-1.5.4.0+dfsg/Include/XnVersion.h
Examining data/openni-1.5.4.0+dfsg/Include/Linux-Powerpc/XnPlatformLinux-Powerpc.h
Examining data/openni-1.5.4.0+dfsg/Include/Linux-AArch64/XnPlatformLinux-AArch64.h
Examining data/openni-1.5.4.0+dfsg/Include/Linux-Mips/XnPlatformLinux-Mips.h
Examining data/openni-1.5.4.0+dfsg/Include/XnOS.h
Examining data/openni-1.5.4.0+dfsg/Include/XnUSBDevice.h
Examining data/openni-1.5.4.0+dfsg/Include/XnPlatform.h
Examining data/openni-1.5.4.0+dfsg/Platform/Android/Samples/SamplesAssistant/jni/jni.h
Examining data/openni-1.5.4.0+dfsg/Platform/Android/Samples/SamplesAssistant/jni/jni_md.h
Examining data/openni-1.5.4.0+dfsg/Platform/Android/Samples/SamplesAssistant/jni/org_OpenNI_Samples_Assistant_NativeMethods.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Android/Samples/SamplesAssistant/jni/org_OpenNI_Samples_Assistant_NativeMethods.h
Examining data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/dpfp.c
Examining data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/dpfp_threaded.c
Examining data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/lsusb.c
Examining data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/config.h
Examining data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/core.c
Examining data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/descriptor.c
Examining data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/io.c
Examining data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/libusb.h
Examining data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/libusbi.h
Examining data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/darwin_usb.c
Examining data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/darwin_usb.h
Examining data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c
Examining data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.h
Examining data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/sync.c
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Res/Resource-OpenNI.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/amextra.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/amextra.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/amfilter.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/amfilter.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/amvideo.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/arithutil.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/cache.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/checkbmi.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/combase.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/combase.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/cprop.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/cprop.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/ctlutil.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/ctlutil.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/ddmm.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/ddmm.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/dllentry.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/dllsetup.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/dllsetup.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/dxmperf.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/fourcc.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/measure.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/msgthrd.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/mtype.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/mtype.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/outputq.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/outputq.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/perflog.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/perflog.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/perfstruct.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/pstream.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/pstream.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/pullpin.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/pullpin.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/refclock.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/refclock.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/reftime.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/renbase.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/renbase.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/schedule.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/schedule.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/seekpt.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/seekpt.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/source.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/source.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/streams.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/strmctl.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/strmctl.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/sysclock.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/sysclock.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/transfrm.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/transfrm.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/transip.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/transip.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/videoctl.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/videoctl.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/vtrans.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/vtrans.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/winctrl.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/winctrl.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/winutil.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/winutil.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxlist.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxlist.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxutil.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxutil.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/Guids.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/IAdditionalControls.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/Setup.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/XnAdditionalControlsPropertyPage.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/XnAdditionalControlsPropertyPage.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/XnVideoSource.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/XnVideoSource.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/XnVideoStream.cpp
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/XnVideoStream.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/resource.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Driver/Build/sys/PSDrvBulk.c
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Driver/Build/sys/PSDrvDevice.c
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Driver/Build/sys/PSDrvDriver.c
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Driver/Build/sys/PSDrvIOCtls.c
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Driver/Build/sys/PSDrvIso.c
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Driver/Build/sys/PSDrvPrivate.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Driver/Build/sys/PSDrvPublic.h
Examining data/openni-1.5.4.0+dfsg/Platform/Win32/Driver/Build/sys/PSDrvVersion.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiAudioSample/NiAudioSample.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiBackRecorder/main.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiCRead/NiCRead.c
Examining data/openni-1.5.4.0+dfsg/Samples/NiConvertXToONI/NiConvertXToONI.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/GL/gl.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/GL/glext.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/GL/glut.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/GL/wglext.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/NiHandTracker.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/NiHandTracker.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/NiHandViewer.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/NiHandViewer.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/NiSimpleViewer.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/NiSimpleViewer.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_array.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_convenience.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_cube_map.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_extensions.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_genext.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_glut.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_glut2.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_glut_callfunc.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_glut_replay.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_glut_text.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_interactors.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_linear.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_mipmaps.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_obs.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_text.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/main.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiRecordRaw/NiRecordRaw.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiRecordSynthetic/NiRecordSynthetic.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiSampleExtensionModule/ExportedRotatingDevice.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiSampleExtensionModule/ExportedRotatingDevice.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSampleExtensionModule/Registration.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiSampleExtensionModule/RotatingDeviceExtension.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiSampleExtensionModule/RotatingDeviceExtension.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSampleExtensionModule/SampleRotatingDevice.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiSampleExtensionModule/SampleRotatingDevice.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSampleModule/ExportedSampleDepth.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiSampleModule/ExportedSampleDepth.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSampleModule/Registration.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiSampleModule/SampleDepth.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiSampleModule/SampleDepth.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleCreate/NiSimpleCreate.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleRead/NiSimpleRead.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleSkeleton/NiSimpleSkeleton.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/GL/gl.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/GL/glext.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/GL/glut.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/GL/wglext.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_array.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_convenience.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_cube_map.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_extensions.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_genext.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_glut.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_glut2.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_glut_callfunc.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_glut_replay.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_glut_text.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_interactors.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_linear.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_mipmaps.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_obs.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_text.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/NiSimpleViewer.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiSkeletonBenchmark/NiSkeletonBenchmark.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUseExtension/NiUseExtension.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/ClosestUserSelector.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/ClosestUserSelector.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/DefaultTrackingInitializer.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/DefaultTrackingInitializer.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/Documentation.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/ExitPoseDetector.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/ExitPoseDetector.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/GL/gl.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/GL/glext.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/GL/glut.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/GL/wglext.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/GLES/egl.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/GLES/egl_1_0.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/GLES/egltypes.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/GLES/gl.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/GLES/gl_1_0.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/PoseToggleUserSelector.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/PoseToggleUserSelector.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/PoseUserSelector.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/PoseUserSelector.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/SampleManager.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/SampleManager.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/SceneDrawer.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/SceneDrawer.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/SinglePoseUserSelector.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/SinglePoseUserSelector.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/TrackingInitializer.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/TrackingInitializer.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/UserSelectionStructures.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/UserSelector.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/UserSelector.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/UserTracker.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_array.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_convenience.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_cube_map.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_extensions.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_genext.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_glut.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_glut2.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_glut_callfunc.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_glut_replay.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_glut_text.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_interactors.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_linear.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_mipmaps.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_obs.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_text.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/main.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/opengles.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/opengles.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/UserTracker.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/GL/gl.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/GL/glext.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/GL/glut.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/GL/wglext.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/GLES/egl.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/GLES/egl_1_0.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/GLES/egltypes.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/GLES/gl.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/GLES/gl_1_0.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/SceneDrawer.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/SceneDrawer.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_array.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_convenience.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_cube_map.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_extensions.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_genext.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_glut.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_glut2.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_glut_callfunc.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_glut_replay.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_glut_text.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_interactors.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_linear.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_mipmaps.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_obs.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_text.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/opengles.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/opengles.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/main.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/Audio.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/Audio.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/Capture.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/Capture.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/Device.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/Device.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/GL/gl.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/GL/glext.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/GL/glut.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/GL/wglext.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/Keyboard.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/Keyboard.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/Menu.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/Menu.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/MouseInput.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/MouseInput.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/Statistics.cpp
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/Statistics.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_array.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_convenience.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_cube_map.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_extensions.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_genext.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_glut.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_glut2.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_glut_callfunc.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_glut_replay.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_glut_text.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_interactors.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_mipmaps.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_obs.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_text.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_linear.h
Examining data/openni-1.5.4.0+dfsg/Samples/NiViewer/NiViewer.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/Common/DataRecords.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/Common/DataRecords.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/Common/InternalPropNames.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/ExportedCodec.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/ExportedCodec.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/Xn16zCodec.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/Xn16zCodec.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/Xn16zEmbTablesCodec.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/Xn16zEmbTablesCodec.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/Xn8zCodec.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/Xn8zCodec.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/XnCodec.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/XnCodec.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/XnCodecs.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/XnJpegCodec.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/XnJpegCodec.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/XnStreamCompression.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/XnStreamCompression.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/XnUncompressedCodec.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/XnUncompressedCodec.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/ExportedMockNodes.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/ExportedMockNodes.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockAudioGenerator.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockAudioGenerator.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockDepthGenerator.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockDepthGenerator.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockDevice.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockDevice.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockGenerator.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockGenerator.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockIRGenerator.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockIRGenerator.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockImageGenerator.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockImageGenerator.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockMapGenerator.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockMapGenerator.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockProductionNode.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockProductionNode.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/nimMockNodes.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/nimMockNodes.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimRecorder/ExportedPlayer.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimRecorder/ExportedPlayer.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimRecorder/ExportedRecorder.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimRecorder/ExportedRecorder.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimRecorder/PlayerNode.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimRecorder/PlayerNode.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimRecorder/RecorderDefines.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimRecorder/RecorderNode.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimRecorder/RecorderNode.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimRecorder/RecorderTypes.h
Examining data/openni-1.5.4.0+dfsg/Source/Modules/nimRecorder/nimRecorder.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyCriticalSections.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyEvents.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyFiles.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyINI.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyMemory.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyMutex.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyNetwork.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlySharedLibs.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyStrings.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyThreads.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyTime.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/XnOSFilesOnly.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/XnUSBFilesOnly.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/XnUSBFilesOnly.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxCriticalSections.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxDebug.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxEvents.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxEvents.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxFiles.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxINI.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxKeyboard.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxMemory.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxMutex.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxNetwork.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxPosixEvents.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxPosixEvents.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxPosixNamedEvents.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxPosixNamedEvents.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxProcesses.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxSharedLibs.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxSharedMemory.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxSysVNamedEvents.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxSysVNamedEvents.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxThreads.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxTime.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxUSBDevice.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/XnUSBLinux.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/XnUSBLinux.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32CriticalSections.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Debug.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Events.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Files.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32INI.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Keyboard.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Memory.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Mutex.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Network.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Processes.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Semaphore.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32SharedLibs.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32SharedMemory.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Strings.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Threads.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Time.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/XnOSWin32.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/XnOSWin32Internal.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/XnUSBWin32.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/XnUSBWin32.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/devioctl.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/usb.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/usb100.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/usb200.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnBaseNode.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnDump.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnDumpFileWriter.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnDumpFileWriter.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnEnum.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnEnumerationErrors.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnExportedNodes.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnFPSCalculator.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnInternalTypes.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnLicensing.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnLicensingInternal.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnLog.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnLogConsoleWriter.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnLogConsoleWriter.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnLogFileWriter.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnLogFileWriter.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnMockNotifier.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnMockNotifier.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnModuleInterfaceContainers.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnModuleLoader.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnModuleLoader.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnNodeManager.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnNodeManager.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnNodeWatcher.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnNodeWatcher.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnOS.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnOSMemoryProfiling.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnPlayerImpl.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnPlayerImpl.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnProfiling.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnQueries.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnRecorderImpl.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnRecorderImpl.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnScheduler.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnStatusRegister.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnTypeManager.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnTypeManager.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnUSB.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnUSBInternal.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnUtils.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnXml.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnXml.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnXmlScriptNode.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnXmlScriptNode.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnXmlScriptNodeExporter.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnXmlScriptNodeExporter.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/openNI.cpp
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/xnInternalFuncs.h
Examining data/openni-1.5.4.0+dfsg/Source/OpenNI/XnOpenNI.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Utils/niLicense/niLicense.cpp
Examining data/openni-1.5.4.0+dfsg/Source/Utils/niReg/niReg.cpp
Examining data/openni-1.5.4.0+dfsg/Testing/OpenNITester/EventTests.cpp
Examining data/openni-1.5.4.0+dfsg/Testing/OpenNITester/ListTests.cpp
Examining data/openni-1.5.4.0+dfsg/Testing/OpenNITester/ProductionGraphEvents_C.cpp
Examining data/openni-1.5.4.0+dfsg/Testing/OpenNITester/ProductionGraphEvents_Cpp.cpp
Examining data/openni-1.5.4.0+dfsg/Testing/OpenNITester/QueueTests.cpp
Examining data/openni-1.5.4.0+dfsg/Wrappers/OpenNI.jni/OpenNI.jni.cpp
Examining data/openni-1.5.4.0+dfsg/Wrappers/OpenNI.jni/jni.h
Examining data/openni-1.5.4.0+dfsg/Wrappers/OpenNI.jni/jni_md.h
Examining data/openni-1.5.4.0+dfsg/Wrappers/OpenNI.jni/org_OpenNI_NativeMethods.cpp
Examining data/openni-1.5.4.0+dfsg/Wrappers/OpenNI.jni/org_OpenNI_NativeMethods.h

FINAL RESULTS:

data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/XnOSWin32.cpp:265:16:  [5] (misc) SetSecurityDescriptorDacl:
  Never create NULL ACLs; an attacker can set it to Everyone (Deny All
  Access), which would even forbid administrator access (CWE-732).
		if (FALSE == SetSecurityDescriptorDacl(&securityDesc, TRUE, NULL, FALSE))
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/XnOSWin32.cpp:265:16:  [5] (misc) SetSecurityDescriptorDacl:
  Never create NULL ACLs; an attacker can set it to Everyone (Deny All
  Access), which would even forbid administrator access (CWE-732).
		if (FALSE == SetSecurityDescriptorDacl(&securityDesc, TRUE, NULL, FALSE))
data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jerror.c:193:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buffer, msgtext, err->msg_parm.s);
data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jerror.c:195:5:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
    sprintf(buffer, msgtext,
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:1440:10:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define vsnprintf _vsnprintf
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:2144:12:  [4] (buffer) StrNCpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    posix::StrNCpy(clone, str, length);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:2764:12:  [4] (buffer) StrNCpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    posix::StrNCpy(
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:3017:20:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  const int size = vsnprintf(buffer, kBufferSize, format, args);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:3021:20:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
  const int size = vsnprintf(buffer, kBufferSize, format, args);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:3938:5:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vprintf(fmt, args);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:3957:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf(fmt, args);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:3964:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf(fmt, args);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:8605:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf _snprintf
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:8605:19:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf _snprintf
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:8607:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf _snprintf_s
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:8609:10:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf _snprintf
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:8609:19:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
# define snprintf _snprintf
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gtest/gtest.h:2671:20:  [4] (buffer) StrNCpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
inline const char* StrNCpy(char* dest, const char* src, size_t n) {
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gtest/gtest.h:8110:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(\
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.h:70:26:  [4] (format) _snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		#define TIXML_SNPRINTF _snprintf
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.h:71:26:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		#define TIXML_SSCANF   sscanf
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.h:75:26:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		#define TIXML_SNPRINTF snprintf
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.h:76:26:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		#define TIXML_SSCANF   sscanf
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.h:78:26:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
		#define TIXML_SNPRINTF snprintf
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.h:79:26:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		#define TIXML_SSCANF   sscanf
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxmlparser.cpp:36:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#		define TIXML_LOG printf
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/core.c:1578:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stream, format, args);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:688:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(priv->sysfs_dir, sysfs_dir);
data/openni-1.5.4.0+dfsg/Samples/NiAudioSample/NiAudioSample.cpp:203:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strFileName, "audio.%s.pcm", aGens[i].GetName());
data/openni-1.5.4.0+dfsg/Samples/NiBackRecorder/main.cpp:353:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strFileName, "%s/%04d%02d%02d-%02d%02d%02d.oni", m_strDirName,
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/GL/glext.h:3430:71:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/GL/glext.h:4031:74:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_extensions.h:81:12:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcat(strcpy(padExtName, extName), " ");
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_extensions.h:179:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(sysExts, extensions);
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_extensions.h:182:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(sysExts, winsys_extensions);
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_extensions.h:214:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(unsupportedExts, reqExt);
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/GL/glext.h:3430:71:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/GL/glext.h:4031:74:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_extensions.h:81:12:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcat(strcpy(padExtName, extName), " ");
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_extensions.h:179:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(sysExts, extensions);
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_extensions.h:182:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(sysExts, winsys_extensions);
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_extensions.h:214:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(unsupportedExts, reqExt);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/GL/glext.h:3430:71:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/GL/glext.h:4031:74:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/SceneDrawer.cpp:202:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(strOutputLabel, "%d - %s - Exit wait %3.0f%% done.", nUserId,strUserLabel,userExitPose);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/SceneDrawer.cpp:206:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(strOutputLabel, "%d - %s", nUserId,strUserLabel);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_extensions.h:81:12:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcat(strcpy(padExtName, extName), " ");
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_extensions.h:179:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(sysExts, extensions);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_extensions.h:182:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(sysExts, winsys_extensions);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_extensions.h:214:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(unsupportedExts, reqExt);
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/GL/glext.h:3430:71:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/GL/glext.h:4031:74:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_extensions.h:81:12:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcat(strcpy(padExtName, extName), " ");
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_extensions.h:179:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(sysExts, extensions);
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_extensions.h:182:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(sysExts, winsys_extensions);
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_extensions.h:214:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(unsupportedExts, reqExt);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Capture.cpp:477:16:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					nChars += sprintf(pMessage + nChars, "%s-%d ", g_Capture.nodes[i].pGenerator->GetName(), g_Capture.nodes[i].nCapturedFrames);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Capture.cpp:489:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(csName, "%s/Image_%d.raw", CAPTURED_FRAMES_DIR_NAME, num);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Capture.cpp:494:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(csName, "%s/Depth_%d.raw", CAPTURED_FRAMES_DIR_NAME, num);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Capture.cpp:499:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(csName, "%s/IR_%d.raw", CAPTURED_FRAMES_DIR_NAME, num);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:424:2:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	vsprintf(g_csUserMessage, csFormat, args);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:754:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(csMessage, "%s stream is OFF", csStreamName);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1101:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "%s - Frame %4u, Timestamp %.3f", getDepthGenerator()->GetInfo().GetInstanceName(), pDepthMD->FrameID(), (double)pDepthMD->Timestamp()/dTimestampDivider);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1110:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf + strlen(buf), "%s - Frame %4u, Timestamp %.3f", getImageGenerator()->GetInfo().GetInstanceName(), pImageMD->FrameID(), (double)pImageMD->Timestamp()/dTimestampDivider);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1119:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf + strlen(buf), "%s - Frame %4u, Timestamp %.3f", getIRGenerator()->GetInfo().GetInstanceName(), pIRMD->FrameID(), (double)pIRMD->Timestamp()/dTimestampDivider);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1128:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf + strlen(buf), "%s - Timestamp %.3f", getAudioGenerator()->GetInfo().GetInstanceName(), (double)pAudioMD->Timestamp()/dTimestampDivider);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1163:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(buf, "Pointer Value: %s (X:%d Y:%d) Cutoff: %llu-%llu.", 
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1271:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(csMessage, "Capture Formats - Depth: %s | Image: %s | IR: %s | Audio: %s",
data/openni-1.5.4.0+dfsg/Samples/NiViewer/GL/glext.h:3430:71:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/GL/glext.h:4031:74:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Menu.cpp:93:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(g_MenuEntries[g_MenuBuilder.nCurrMenuItem].csName, csName);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_extensions.h:81:12:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcat(strcpy(padExtName, extName), " ");
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_extensions.h:179:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(sysExts, extensions);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_extensions.h:182:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(sysExts, winsys_extensions);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_extensions.h:214:13:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
            strcat(unsupportedExts, reqExt);
data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/ExportedCodec.cpp:32:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(pDescription->strVendor, XN_VENDOR_OPEN_NI);
data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/XnJpegCodec.cpp:83:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(m_strNodeName, node.GetName());
data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/ExportedMockNodes.cpp:45:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(pDescription->strVendor, XN_VENDOR_OPEN_NI);
data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/ExportedMockNodes.cpp:46:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(pDescription->strName, XN_MOCK_NODE_NAME);
data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockProductionNode.cpp:184:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(csValue, val);
data/openni-1.5.4.0+dfsg/Source/Modules/nimRecorder/ExportedPlayer.cpp:50:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(pDescription->strName, NAME);
data/openni-1.5.4.0+dfsg/Source/Modules/nimRecorder/ExportedPlayer.cpp:51:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(pDescription->strVendor, XN_VENDOR_OPEN_NI);
data/openni-1.5.4.0+dfsg/Source/Modules/nimRecorder/ExportedRecorder.cpp:52:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(pDescription->strName, NAME);
data/openni-1.5.4.0+dfsg/Source/Modules/nimRecorder/ExportedRecorder.cpp:53:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(pDescription->strVendor, XN_VENDOR_OPEN_NI);
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyFiles.cpp:343:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if ((access(cpFileName, F_OK)) != -1)
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyStrings.cpp:259:17:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
	XnInt32 nRes = vsprintf(cpDestString, cpFormat, args);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxFiles.cpp:416:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if ((access(cpFileName, F_OK)) != -1)
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxFiles.cpp:541:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(strFullPath, strResult);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxFiles.cpp:597:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if ((access(cpFileName, F_OK)) != -1)
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxProcesses.cpp:96:14:  [4] (shell) execv:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			if (-1 == execv(strExecutable, astrArgs))
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp:260:17:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	XnInt32 nRes = vsnprintf(cpDestString, nDestLength, cpFormat, args);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxUSBDevice.cpp:235:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(fileName, "%s%s%d%s", GADGET_DEVICE_DIR, "ep", pDesc->bEndpointAddress & 0xF, bIn ? "in" : "out");
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Files.cpp:633:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(cpDirName, strFullPath);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Strings.cpp:260:17:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
	XnInt32 nRes = vsnprintf(cpDestString, nDestLength, cpFormat, args);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/XnOSWin32.cpp:187:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(pOSInfo->csOSName, "%s", GetOSName(osVersionInfo));
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/XnOSWin32.cpp:191:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(pOSInfo->csOSName, osVersionInfo.szCSDVersion);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/XnOSWin32.cpp:224:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(strDest, strGlobal);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnLicensing.cpp:52:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(this->strVendor, pLicense->strVendor);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnLicensing.cpp:53:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(this->strKey, pLicense->strKey);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnOS.cpp:263:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(result, strSource);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnOpenNI.cpp:224:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(strName, "%s%u", strBaseName, i);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnOpenNI.cpp:871:14:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				nSize += sprintf(strFPS + nSize, "%s (I: %5.2f, O: %5.2f) ", pNode->pNodeInfo->strInstanceName, xnFPSCalc(&pNode->genFPS), xnFPSCalc(&pNode->readFPS));
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnOpenNI.cpp:2082:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(description.strVendor, XN_VENDOR_OPEN_NI);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnOpenNI.cpp:2083:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(description.strName, XN_MOCK_NODE_NAME);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnProfiling.cpp:90:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		nReportChars += sprintf(csReport + nReportChars, "%-*s %-5s %-6s %-9s %-7s\n", g_ProfilingData.nMaxSectionName, "TaskName", "Times", "% Time", "TotalTime", "AvgTime");
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnProfiling.cpp:91:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		nReportChars += sprintf(csReport + nReportChars, "%-*s %-5s %-6s %-9s %-7s\n", g_ProfilingData.nMaxSectionName, "========", "=====", "======", "=========", "=======");
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnProfiling.cpp:107:20:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			nReportChars += sprintf(csReport + nReportChars, "%-*s %5u %6.2f %9llu %7llu\n", g_ProfilingData.nMaxSectionName, 
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnProfiling.cpp:120:19:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		nReportChars += sprintf(csReport + nReportChars, "%-*s %5s %6.2f %9llu %7s\n", 
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnTypeManager.h:65:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(this->strName, strName);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnXmlScriptNode.cpp:509:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(csVersion, strVersion);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnXmlScriptNodeExporter.cpp:40:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(pDescription->strVendor, XN_VENDOR_OPEN_NI);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnXmlScriptNodeExporter.cpp:41:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(pDescription->strName, XN_OPEN_NI_NODE_NAME);
data/openni-1.5.4.0+dfsg/Wrappers/OpenNI.jni/org_OpenNI_NativeMethods.cpp:158:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(pDesc->strVendor, JavaString(env, vendor));
data/openni-1.5.4.0+dfsg/Wrappers/OpenNI.jni/org_OpenNI_NativeMethods.cpp:159:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(pDesc->strName, JavaString(env, name));
data/openni-1.5.4.0+dfsg/Wrappers/OpenNI.jni/org_OpenNI_NativeMethods.cpp:603:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(license.strVendor, JavaString(env, vendor));
data/openni-1.5.4.0+dfsg/Wrappers/OpenNI.jni/org_OpenNI_NativeMethods.cpp:604:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(license.strKey, JavaString(env, key));
data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jmemmgr.c:35:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
extern char * getenv JPP((const char * name));
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:700:37:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
void ShuffleRange(internal::Random* random, int begin, int end,
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:721:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
inline void Shuffle(internal::Random* random, std::vector<E>* v) {
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:722:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ShuffleRange(random, 0, static_cast<int>(v->size()), v);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:1172:21:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  internal::Random* random() { return &random_; }
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:3767:47:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
void TestCase::ShuffleTests(internal::Random* random) {
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:3768:11:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  Shuffle(random, &test_indices_);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:5519:7:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      random()->Reseed(random_seed_);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:5790:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ShuffleRange(random(), 0, last_death_test_case_ + 1, &test_case_indices_);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:5793:16:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ShuffleRange(random(), last_death_test_case_ + 1,
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:5798:34:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    test_cases_[i]->ShuffleTests(random());
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gtest/gtest.h:2709:27:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char* const env = getenv(name);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gtest/gtest.h:2712:10:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  return getenv(name);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gtest/gtest.h:17891:39:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  void ShuffleTests(internal::Random* random);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/core.c:1457:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	char *dbg = getenv("LIBUSB_DEBUG");
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/combase.cpp:77:17:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
	hlibOLEAut32 = LoadLibrary(szOle32Aut);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/videoctl.cpp:623:25:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
        m_hDirectDraw = LoadLibrary(TEXT("DDRAW.DLL"));
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:89:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    InitializeCriticalSection(&m_CSDebug);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:914:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_CSDebug);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:955:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_CSDebug);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:1010:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_CSDebug);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxutil.cpp:474:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    InitializeCriticalSection(&m_CritSec);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxutil.cpp:500:5:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
    EnterCriticalSection(&m_CritSec);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxutil.h:41:9:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
        InitializeCriticalSection(&m_CritSec);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxutil.h:49:9:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
        EnterCriticalSection(&m_CritSec);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxutil.h:274:9:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
        InitializeCriticalSection(&CritSect);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxutil.h:307:9:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
        EnterCriticalSection(&CritSect);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxutil.h:328:9:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
        EnterCriticalSection(&CritSect);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxFiles.cpp:528:14:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
	if (NULL == realpath(strFilePath, strResult))
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp:341:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	char* strRes = getenv(strEnv);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32CriticalSections.cpp:39:2:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
	InitializeCriticalSection(*pCriticalSectionHandle);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32CriticalSections.cpp:72:2:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
	EnterCriticalSection(*pCriticalSectionHandle);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Debug.cpp:67:17:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
	HMODULE hDbg = LoadLibrary("dbghelp.dll");
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32SharedLibs.cpp:38:16:  [3] (misc) LoadLibraryEx:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
	*pLibHandle = LoadLibraryEx(cpFileName, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jchuff.c:185:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char huffsize[257];
data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jchuff.h:29:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ehufsi[256];		/* length of code for each symbol */
data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jcmarker.c:228:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char dc_in_use[NUM_ARITH_TBLS];
data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jcmarker.c:229:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ac_in_use[NUM_ARITH_TBLS];
data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jdhuff.c:156:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char huffsize[257];
data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jerror.c:100:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[JMSG_LENGTH_MAX];
data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jinclude.h:63:32:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define MEMCOPY(dest,src,size)	bcopy((const void *)(src), (void *)(dest), (size_t)(size))
data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jmemsys.h:156:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char temp_name[TEMP_NAME_LENGTH]; /* name if it's a file */
data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jmemsys.h:162:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char temp_name[TEMP_NAME_LENGTH]; /* name if it's a file */
data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jmemsys.h:166:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char temp_name[TEMP_NAME_LENGTH]; /* name of temp file */
data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jpeglib.h:667:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char s[JMSG_STR_PARM_MAX];
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:2167:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      MultiByteToWideChar(CP_ACP, 0, ansi, length,
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:2170:3:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  MultiByteToWideChar(CP_ACP, 0, ansi, length,
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:2658:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char error_text[kBufSize] = { '\0' };
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:2826:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[32];  // CodePointToUtf8 requires a buffer this big.
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:3008:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[4096];
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:6471:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[256];
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:6890:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char executable_path[_MAX_PATH + 1];  // NOLINT
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:7534:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:7537:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char cwd[GTEST_PATH_MAX_ + 1] = { '\0' };
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:8218:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, regex, len);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:8296:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_dir_path[MAX_PATH + 1] = { '\0' };  // NOLINT
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:8297:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char temp_file_path[MAX_PATH + 1] = { '\0' };  // NOLINT
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:8315:29:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
    const int captured_fd = mkstemp(name_template);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:8615:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char text[5] = "";
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gtest/gtest.h:2683:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return fopen(path, mode);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gtest/gtest.h:3154:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(str, buffer, a_length);
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinystr.cpp:43:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(tmp.start(), data(), length());
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinystr.cpp:56:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(tmp.start(), str, len);
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinystr.h:75:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(start(), copy.data(), length());
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinystr.h:82:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(start(), copy, length());
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinystr.h:89:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(start(), str, len);
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinystr.h:215:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char str[1];
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.cpp:48:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		return fopen( filename, mode );
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.cpp:112:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buf[ 32 ];
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.cpp:117:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf( buf, "&#x%02X;", (unsigned) ( c & 0xff ) );
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.cpp:1252:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf [64];
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.cpp:1256:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (buf, "%d", _value);
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.cpp:1263:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf [256];
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.cpp:1267:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf (buf, "%g", _value);
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.cpp:1274:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	return atoi (value.c_str ());
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxmlparser.cpp:591:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char cArr[4] = { 0, 0, 0, 0 };
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxmlparser.cpp:625:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char cArr[4] = { 0, 0, 0, 0 };
data/openni-1.5.4.0+dfsg/Platform/Android/Samples/SamplesAssistant/jni/org_OpenNI_Samples_Assistant_NativeMethods.cpp:50:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pDest, (const void*)ptr, size);
data/openni-1.5.4.0+dfsg/Platform/Android/Samples/SamplesAssistant/jni/org_OpenNI_Samples_Assistant_NativeMethods.cpp:302:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buffer, frameBuffer, min);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/dpfp.c:61:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char imgbuf[0x1b340];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/dpfp.c:62:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char irqbuf[INTR_LENGTH];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/dpfp.c:76:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char data[0x10];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/dpfp.c:213:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char data[INTR_LENGTH];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/dpfp.c:227:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[64];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/dpfp.c:229:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(filename, "finger%d.pgm", img_idx++);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/dpfp.c:230:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = fopen(filename, "w");
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/dpfp_threaded.c:62:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char imgbuf[0x1b340];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/dpfp_threaded.c:63:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char irqbuf[INTR_LENGTH];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/dpfp_threaded.c:105:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char data[0x10];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/dpfp_threaded.c:242:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char data[INTR_LENGTH];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/dpfp_threaded.c:256:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[64];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/dpfp_threaded.c:258:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(filename, "finger%d.pgm", img_idx++);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/examples/dpfp_threaded.c:259:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = fopen(filename, "w");
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/core.c:530:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char raw_desc[DEVICE_DESC_LENGTH];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/core.c:878:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	r = usbi_backend->open(_handle);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/core.c:1466:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		ctx->debug = atoi(dbg);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/descriptor.c:57:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy(dp, sp, 2);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/descriptor.c:151:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(extra, begin, len);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/descriptor.c:254:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy((unsigned char *) ifp->extra, begin, len);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/descriptor.c:403:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				memcpy((unsigned char *) config->extra, begin, len);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/descriptor.c:435:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char raw_desc[DEVICE_DESC_LENGTH];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/descriptor.c:444:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy((unsigned char *) desc, raw_desc, sizeof(raw_desc));
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/descriptor.c:472:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char tmp[8];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/descriptor.c:537:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char tmp[8];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/descriptor.c:599:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char tmp[6];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/descriptor.c:678:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char tbuf[255]; /* Some devices choke on size > 255 */
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/libusbi.h:217:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char os_priv[0];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/libusbi.h:227:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char os_priv[0];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/libusbi.h:442:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int (*open)(struct libusb_device_handle *handle);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/darwin_usb.h:122:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char                  sys_path[21];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:233:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	sublevel = atoi(uts.release + 4);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:280:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buffer, priv->dev_descriptor, DEVICE_DESC_LENGTH);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:287:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[PATH_MAX];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:292:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(filename, O_RDONLY);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:347:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buffer, priv->config_descriptor, len);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:355:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char tmp[4] = {0, 0, 0, 0};
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:400:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char tmp[6];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:433:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char tmp[6];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:498:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buffer, tmp, to_copy);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:569:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[PATH_MAX];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:581:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(filename, O_RDONLY);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:601:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char tmp[8];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:675:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[PATH_MAX];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:709:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(path, O_RDWR);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:711:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		fd = open(path, O_RDONLY);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:847:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dirpath[PATH_MAX];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:868:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		devaddr = atoi(entry->d_name);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:905:12:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		busnum = atoi(entry->d_name);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:930:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[PATH_MAX];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:954:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = fopen(filename, "r");
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:977:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = fopen(filename, "r");
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:1057:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[PATH_MAX];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:1060:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	hpriv->fd = open(filename, O_RDWR);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.h:60:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char driver[USBFS_MAXDRIVERNAME + 1];
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.h:115:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char port[127];	/* port to device num mapping */
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/sync.c:93:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buffer + LIBUSB_CONTROL_SETUP_SIZE, data, wLength);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/sync.c:119:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(data, libusb_control_transfer_get_data(transfer),
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/amfilter.cpp:3725:9:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        CopyMemory(pbProperties, &Props, Props.cbData);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/ctlutil.cpp:1836:12:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
         		CopyMemory(pDest->bstrVal, pSrc->bstrVal, len*sizeof(OLECHAR));
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/dllentry.cpp:331:13:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            TCHAR szInfo[512];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/dllentry.cpp:334:13:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            TCHAR FullName[_MAX_PATH];      // Load the full path and module name
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/dllsetup.cpp:65:7:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      TCHAR Buffer[MAX_KEY_LEN];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/dllsetup.cpp:119:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR achTemp[MAX_PATH];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/dllsetup.cpp:230:3:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  TCHAR achBuffer[MAX_KEY_LEN];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/dllsetup.cpp:382:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char achTemp[MAX_PATH];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/dllsetup.cpp:399:5:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    MultiByteToWideChar( CP_ACP
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/dllsetup.cpp:544:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char achTemp[MAX_PATH];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/dllsetup.cpp:555:5:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    MultiByteToWideChar( CP_ACP
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/mtype.cpp:189:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pbFormat, pformat, cb);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/mtype.cpp:283:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pNewFormat,pbFormat,min(length,cbFormat));
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/mtype.cpp:410:13:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            CopyMemory((PVOID)pmtTarget->pbFormat, (PVOID)pmtSource->pbFormat,
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/mtype.cpp:468:13:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            CopyMemory(pmt->pbFormat, pwfx, sizeof(PCMWAVEFORMAT));
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/mtype.cpp:471:13:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            CopyMemory(pmt->pbFormat, pwfx, pmt->cbFormat);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/perflog.cpp:128:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR szInfo[iDEBUGINFO];       // Constructs key names
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/perflog.cpp:129:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR szFullName[iDEBUGINFO];   // Load the full path and module name
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/renbase.cpp:1713:5:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    CopyMemory(*Id, szIn, sizeof(szIn));
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/source.cpp:89:9:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        CopyMemory((PVOID)paStreams, (PVOID)m_paStreams,
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/transip.cpp:570:13:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            CopyMemory( (PVOID) pDestBuffer, (PVOID) pSourceBuffer, lDataLength );
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/videoctl.cpp:60:6:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
	    MultiByteToWideChar(CP_ACP,0,szBuffer,dwStringLength,pBuffer,STR_MAX_LENGTH);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/winctrl.cpp:147:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR Caption[CAPTION];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/winctrl.cpp:149:5:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    MultiByteToWideChar(CP_ACP,0,Caption,-1,WideCaption,CAPTION);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/winctrl.cpp:1959:5:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    CopyMemory((PVOID)pVideoImage, (PVOID)&pVideoInfo->bmiHeader, Size);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/winctrl.cpp:1983:9:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        CopyMemory((PVOID)pImageData, (PVOID)pCurrentImage, ScanLine);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/winutil.cpp:954:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR szTimes[TIMELENGTH];      // Time stamp strings
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/winutil.cpp:1964:5:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    CopyMemory((PVOID) COLORS(pDestInfo),
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/winutil.cpp:2689:5:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    CopyMemory(pvNew, pmt->pbFormat, FIELD_OFFSET(VIDEOINFOHEADER, bmiHeader));
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/winutil.cpp:2692:5:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    CopyMemory((PBYTE)pvNew + FIELD_OFFSET(VIDEOINFOHEADER2, bmiHeader),
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:64:1:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
TCHAR m_ModuleName[iDEBUGINFO];             // Cut down module name
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:252:9:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        TCHAR pathAndBasename[MAX_PATH] = {0};
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:275:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR szFile[MAX_PATH] = {0};
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:330:16:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
               TCHAR uniqueName[MAX_PATH] = {0};
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:361:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR szInfo[iDEBUGINFO];   // Constructs key names
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:408:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR szInfo[iDEBUGINFO];   // Constructs key names
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:451:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR FullName[iDEBUGINFO];     // Load the full path and module name
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:539:9:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        TCHAR szInfo[iDEBUGINFO];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:577:9:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        TCHAR szInfo[iDEBUGINFO];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:614:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR szBreakPointMessage[MAX_BREAK_POINT_MESSAGE_SIZE];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:721:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR szInfo[2000];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:740:5:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    MultiByteToWideChar(CP_ACP, 0, szInfoA, -1, wszOutString, NUMELMS(wszOutString));
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:755:9:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        TCHAR szInfo[iDEBUGINFO];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:793:9:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        TCHAR szInfo[iDEBUGINFO];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:849:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR szInfo[2000];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:1006:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR szInfo[iDEBUGINFO];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:1111:6:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    TCHAR  temp[20];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.cpp:1178:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR str[MAX_PIN_NAME];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxdebug.h:296:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR m_String[50];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxutil.cpp:366:5:  [2] (buffer) TCHAR:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    TCHAR temp[12];
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxutil.cpp:370:9:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
        MultiByteToWideChar(CP_ACP, 0, temp, -1, wstr, 12);
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxutil.cpp:585:5:  [2] (buffer) CopyMemory:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    CopyMemory(*ppszReturn, psz, nameLen + sizeof(WCHAR));
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxutil.h:396:23:  [2] (integer) _wtoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
#define WstrToInt(sz) _wtoi(sz)
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxutil.h:397:19:  [2] (integer) _wtoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
#define atoiW(sz) _wtoi(sz)
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/DirectShowBaseClasses/wxutil.h:398:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
#define atoiA(sz) atoi(sz)
data/openni-1.5.4.0+dfsg/Platform/Win32/Build/Utils/OpenNIFilter/XnVideoStream.cpp:180:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(pData, imageMD.Data(), imageMD.DataSize());
data/openni-1.5.4.0+dfsg/Samples/NiBackRecorder/main.cpp:111:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				config.nDumpTime = atoi(argv[i+1]);
data/openni-1.5.4.0+dfsg/Samples/NiConvertXToONI/NiConvertXToONI.cpp:190:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			nStartFrame = atoi(optionArg);
data/openni-1.5.4.0+dfsg/Samples/NiConvertXToONI/NiConvertXToONI.cpp:194:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			nEndFrame = atoi(optionArg);
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_linear.h:1132:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(q,qp,sizeof(real) * 4);
data/openni-1.5.4.0+dfsg/Samples/NiSampleExtensionModule/ExportedRotatingDevice.cpp:29:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(pDescription->strVendor, "OpenNI");
data/openni-1.5.4.0+dfsg/Samples/NiSampleExtensionModule/ExportedRotatingDevice.cpp:30:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(pDescription->strName, "SampleDevice");
data/openni-1.5.4.0+dfsg/Samples/NiSampleModule/ExportedSampleDepth.cpp:28:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(pDescription->strVendor, "OpenNI");
data/openni-1.5.4.0+dfsg/Samples/NiSampleModule/ExportedSampleDepth.cpp:29:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(pDescription->strName, "SampleDepth");
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_linear.h:1132:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(q,qp,sizeof(real) * 4);
data/openni-1.5.4.0+dfsg/Samples/NiSkeletonBenchmark/NiSkeletonBenchmark.cpp:191:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    	numOfUser = atoi(argv[1]);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/SampleManager.cpp:148:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char poseString[50];
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/SceneDrawer.cpp:171:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char strUserLabel[MAX_USER_LABEL_LEN] = "";
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/SceneDrawer.cpp:172:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char strOutputLabel[MAX_ID_LABEL_LEN] = "";
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/SceneDrawer.cpp:190:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(strOutputLabel, "%d - Exit wait %3.0f%% done.", nUserId,userExitPose);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/SceneDrawer.cpp:194:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
            sprintf(strOutputLabel, "%d", nUserId);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_linear.h:1132:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(q,qp,sizeof(real) * 4);
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/SceneDrawer.cpp:403:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char strLabel[50] = "";
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_linear.h:1132:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(q,qp,sizeof(real) * 4);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Capture.cpp:72:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char csFileName[XN_FILE_MAX_PATH];
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Capture.cpp:77:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char csDisplayMessage[500];
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Capture.cpp:228:4:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
			strcat(g_Capture.csFileName, ".oni");
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Capture.cpp:232:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(g_Capture.csFileName, "./Captured.oni");
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Capture.cpp:467:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(pMessage, "Capturing will start in %u seconds...", g_Capture.nStartOn - (XnUInt32)nNow);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Capture.cpp:472:17:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			int nChars = sprintf(pMessage, "* Recording! Press any key or use menu to stop *\nRecorded Frames: ");
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:143:1:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
char g_csUserMessage[256];
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:753:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char csMessage[512];
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1023:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[512] = "";
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1095:16:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			int chars = sprintf(buf, "%d", i);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1108:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buf + strlen(buf), " | ");
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1117:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buf + strlen(buf), " | ");
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1126:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buf + strlen(buf), " | ");
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1140:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "Collected: %3u, Min: %4u Max: %4u Avg: %6.2f StdDev: %6.2f", 
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1156:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(sPointerValue, "%.1f", (float)nPointerValue/10);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1265:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char csMessage[256];
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1282:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char csMessage[256];
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1293:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	unsigned char aKeys[20];
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1306:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[256];
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1310:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buf, "Esc");
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1313:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(buf, "%c", aKeys[i]);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1478:13:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		int len = sprintf(strSpeed, "x%g", dSpeed);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Menu.cpp:54:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char csName[XN_MAX_MENU_ENTRY_NAME_LEN];
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Menu.cpp:99:4:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
			strcat(g_MenuEntries[g_MenuBuilder.nCurrMenuItem].csName + strlen(csName), " [Esc]");
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Menu.cpp:101:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(g_MenuEntries[g_MenuBuilder.nCurrMenuItem].csName + strlen(csName), " [%c]", key);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Statistics.cpp:159:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(csMessage, "Collected Statistics for %u frames", g_PixelStatistics[pDepthMD->YOffset()*pDepthMD->FullXRes() + pDepthMD->XOffset()].nCount);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_linear.h:1132:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(q,qp,sizeof(real) * 4);
data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/ExportedCodec.cpp:33:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pDescription->strName, &m_codecId, sizeof(m_codecId));
data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/XnStreamCompression.cpp:1001:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char buffer[JMSG_LENGTH_MAX];
data/openni-1.5.4.0+dfsg/Source/Modules/nimCodecs/XnStreamCompression.cpp:1013:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buffer[JMSG_LENGTH_MAX];
data/openni-1.5.4.0+dfsg/Source/Modules/nimRecorder/ExportedRecorder.h:55:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char m_strInstanceName[XN_MAX_NAME_LENGTH];
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyFiles.cpp:76:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	*pFile = fopen(cpFileName, csFlags);
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyFiles.cpp:239:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	FILE* pFile = fopen(cpFileName, "r");
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyINI.cpp:247:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	*nDest = atoi(cpValueString);
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyMemory.cpp:105:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pDest, pSource, nCount);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxFiles.cpp:150:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	*pFile = open(cpFileName, nOSOpenFlags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxINI.cpp:247:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	*nDest = atoi(cpValueString);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxMemory.cpp:119:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pDest, pSource, nCount);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxMutex.cpp:111:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	pMutex->hSemFile = open(pMutex->csSemFileName, O_CREAT | O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxSysVNamedEvents.cpp:67:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	m_hSemFile = open(m_csSemFileName, O_CREAT | O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxUSBDevice.cpp:56:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buf, data, size);			\
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxUSBDevice.cpp:238:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int fd = open(fileName, O_RDWR);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxUSBDevice.cpp:668:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	int device_fd = open (GADGET_DEVICE_FILE_PATH, O_RDWR);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/XnUSBLinux.cpp:348:4:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			sprintf(aResult[nCurrent], "%04hx/%04hx@%hhu/%hhu", nVendorID, nProductID, libusb_get_bus_number(pDevice), libusb_get_device_address(pDevice));
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Files.cpp:619:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char strFullPath[XN_FILE_MAX_PATH];
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32INI.cpp:152:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	*nDest = atoi(cpTempBuffer);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32INI.cpp:204:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(cpTempBuffer, "%f", fSrc);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32INI.cpp:236:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(cpTempBuffer, "%f", fSrc);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Memory.cpp:104:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pDest, pSource, nCount);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/XnOSWin32.cpp:168:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(csName+strlen(csName), " Model: %d Family: %d Stepping: %d", nModel, nFamily, nSteppingID);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnLog.cpp:790:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			pos = sprintf(csLine, "%6u: ", i);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnLog.cpp:793:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		pos += sprintf(csLine + pos, "%02x ", pBinData[i]);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnLog.cpp:1036:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			pos = sprintf(csLine, "%6u: ", i);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnLog.cpp:1039:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		pos += sprintf(csLine + pos, "%02x ", pBinData[i]);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnOpenNI.cpp:864:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		nSize = sprintf(strFPS, "[FPS] ");
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnOpenNI.cpp:875:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(strFPS + nSize, "ReadCalls: %5.2f", xnFPSCalc(&pContext->readFPS));
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnProfiling.cpp:89:19:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		nReportChars += sprintf(csReport + nReportChars, "Profiling Report:\n");
data/openni-1.5.4.0+dfsg/Wrappers/OpenNI.jni/org_OpenNI_NativeMethods.cpp:147:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(pDest, (const void*)ptr, size);
data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jerror.h:232:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \
data/openni-1.5.4.0+dfsg/Externals/LibJPEG/jerror.h:288:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:2155:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    NULL : CloneString(c_str, strlen(c_str));
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:2165:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const int length = strlen(ansi);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:2810:34:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    num_chars = static_cast<int>(wcslen(str));
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:2975:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t this_len = strlen(c_str());
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:2976:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t suffix_len = strlen(suffix);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:2988:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t this_len = strlen(c_str());
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:2989:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t suffix_len = strlen(suffix);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:4517:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      segment = next_segment + strlen("]]>");
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:4746:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  result.reserve(strlen(str) + 1);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:5851:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t prefix_len = strlen(prefix);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:7952:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t full_regex_len = strlen(regex) + 10;
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:8206:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const size_t len = strlen(regex);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:8854:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    PrintCharsAsStringTo(s, strlen(s), os);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gmock-gtest-all.cc:8871:33:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    PrintWideCharsAsStringTo(s, wcslen(s), os);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gtest/gtest.h:2672:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  return strncpy(dest, src, n);
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gtest/gtest.h:2694:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return static_cast<int>(read(fd, buf, count));
data/openni-1.5.4.0+dfsg/Externals/PSCommon/Testing/gtest/gtest.h:3050:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      ConstructNonNull(a_c_str, strlen(a_c_str));
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinystr.cpp:93:70:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	TiXmlString::size_type b_len = static_cast<TiXmlString::size_type>( strlen(b) );
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinystr.cpp:103:70:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	TiXmlString::size_type a_len = static_cast<TiXmlString::size_type>( strlen(a) );
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinystr.h:81:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		init( static_cast<size_type>( strlen(copy) ));
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinystr.h:100:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return assign( copy, (size_type)strlen(copy));
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinystr.h:112:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return append(suffix, static_cast<size_type>( strlen(suffix) ));
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxml.cpp:122:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			outString->append( buf, (int)strlen( buf ) );
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxmlparser.cpp:519:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			assert( strlen( entity[i].str ) == entity[i].strLength );
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxmlparser.cpp:635:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		p += strlen( endTag );
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxmlparser.cpp:1358:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	p += strlen( startTag );
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxmlparser.cpp:1386:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		p += strlen( endTag );
data/openni-1.5.4.0+dfsg/Externals/TinyXml/tinyxmlparser.cpp:1521:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		p += strlen( startTag );
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/core.c:917:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	r = read(ctx->ctrl_pipe[0], &dummy, sizeof(dummy));
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/core.c:1044:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	r = read(ctx->ctrl_pipe[0], &dummy, sizeof(dummy));
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/darwin_usb.c:328:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep (10);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/darwin_usb.c:1410:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      ret = read (hpriv->fds[0], &message, sizeof (message));
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/darwin_usb.c:1433:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read (hpriv->fds[0], &itransfer, sizeof (itransfer));
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/darwin_usb.c:1434:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read (hpriv->fds[0], &kresult, sizeof (IOReturn));
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/darwin_usb.c:1435:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      read (hpriv->fds[0], &io_size, sizeof (UInt32));
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:228:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(uts.release) < 4)
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:315:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	r = read(fd, buffer, DEVICE_DESC_LENGTH);;
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:364:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	r = read(fd, tmp, sizeof(tmp));
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:405:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	r = read(fd, tmp, sizeof(tmp));
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:473:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		r = read(fd, tmp, sizeof(tmp));
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:500:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		r = read(fd, buffer + sizeof(tmp), len - sizeof(tmp));
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:554:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	r = read(fd, buffer, len);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:685:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		priv->sysfs_dir = malloc(strlen(sysfs_dir) + 1);
data/openni-1.5.4.0+dfsg/Platform/Android/jni/External/libusb-1.0.8/libusb/os/linux_usbfs.c:759:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	r = read(fd, dev_buf, DEVICE_DESC_LENGTH);
data/openni-1.5.4.0+dfsg/Samples/NiBackRecorder/main.cpp:82:3:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
		sprintf(strDirName, ".");
data/openni-1.5.4.0+dfsg/Samples/NiConvertXToONI/NiConvertXToONI.cpp:128:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				if (strlen(optionArg) == 0)
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_extensions.h:80:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *padExtName = (char*)malloc(strlen(extName) + 2);
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_extensions.h:81:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(strcpy(padExtName, extName), " ");
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_extensions.h:156:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t sysExtsLen = strlen(extensions);
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_extensions.h:166:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                winsysExtsLen = strlen(winsys_extensions);
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_extensions.h:173:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          winsysExtsLen = strlen (winsys_extensions);
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_extensions.h:190:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    reqExtsLen = strlen(reqExts);
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_extensions.h:193:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    } else if (reqExtsLen > strlen(unsupportedExts)) {
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_extensions.h:215:13:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
            strcat(unsupportedExts, " ");
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_extensions.h:266:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        terminator = where + strlen(extension);
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_obs.h:294:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_obs.h:419:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_obs.h:531:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiHandTracker/glh/glh_obs.h:616:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_extensions.h:80:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *padExtName = (char*)malloc(strlen(extName) + 2);
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_extensions.h:81:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(strcpy(padExtName, extName), " ");
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_extensions.h:156:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t sysExtsLen = strlen(extensions);
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_extensions.h:166:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                winsysExtsLen = strlen(winsys_extensions);
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_extensions.h:173:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          winsysExtsLen = strlen (winsys_extensions);
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_extensions.h:190:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    reqExtsLen = strlen(reqExts);
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_extensions.h:193:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    } else if (reqExtsLen > strlen(unsupportedExts)) {
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_extensions.h:215:13:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
            strcat(unsupportedExts, " ");
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_extensions.h:266:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        terminator = where + strlen(extension);
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_obs.h:294:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_obs.h:419:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_obs.h:531:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiSimpleViewer/glh/glh_obs.h:616:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/GLES/egl.h:220:86:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
GLAPI EGLBoolean APIENTRY eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/GLES/egl_1_0.h:214:87:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
GLAPI EGLBoolean APIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/PoseUserSelector.cpp:72:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = (int)strlen(poseToTrack)+1;
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/SceneDrawer.cpp:214:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = (int)strlen(strOutputLabel);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_extensions.h:80:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *padExtName = (char*)malloc(strlen(extName) + 2);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_extensions.h:81:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(strcpy(padExtName, extName), " ");
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_extensions.h:156:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t sysExtsLen = strlen(extensions);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_extensions.h:166:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                winsysExtsLen = strlen(winsys_extensions);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_extensions.h:173:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          winsysExtsLen = strlen (winsys_extensions);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_extensions.h:190:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    reqExtsLen = strlen(reqExts);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_extensions.h:193:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    } else if (reqExtsLen > strlen(unsupportedExts)) {
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_extensions.h:215:13:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
            strcat(unsupportedExts, " ");
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_extensions.h:266:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        terminator = where + strlen(extension);
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_obs.h:294:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_obs.h:419:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_obs.h:531:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/glh/glh_obs.h:616:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/main.cpp:83:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    if(argc<=i+2 || strlen(argv[i+2])>2)
data/openni-1.5.4.0+dfsg/Samples/NiUserSelection/main.cpp:98:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    if(argc<=i+2 || strlen(argv[i+2])>2)
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/GLES/egl.h:220:86:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
GLAPI EGLBoolean APIENTRY eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/GLES/egl_1_0.h:214:87:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
GLAPI EGLBoolean APIENTRY eglMakeCurrent (EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx);
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/SceneDrawer.cpp:126:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int i,l = (int)strlen(str);
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_extensions.h:80:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *padExtName = (char*)malloc(strlen(extName) + 2);
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_extensions.h:81:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(strcpy(padExtName, extName), " ");
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_extensions.h:156:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t sysExtsLen = strlen(extensions);
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_extensions.h:166:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                winsysExtsLen = strlen(winsys_extensions);
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_extensions.h:173:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          winsysExtsLen = strlen (winsys_extensions);
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_extensions.h:190:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    reqExtsLen = strlen(reqExts);
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_extensions.h:193:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    } else if (reqExtsLen > strlen(unsupportedExts)) {
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_extensions.h:215:13:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
            strcat(unsupportedExts, " ");
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_extensions.h:266:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        terminator = where + strlen(extension);
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_obs.h:294:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_obs.h:419:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_obs.h:531:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiUserTracker/glh/glh_obs.h:616:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:356:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	int i,l = (int)strlen(str);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1108:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			sprintf(buf + strlen(buf), " | ");
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1110:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		sprintf(buf + strlen(buf), "%s - Frame %4u, Timestamp %.3f", getImageGenerator()->GetInfo().GetInstanceName(), pImageMD->FrameID(), (double)pImageMD->Timestamp()/dTimestampDivider);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1117:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			sprintf(buf + strlen(buf), " | ");
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1119:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		sprintf(buf + strlen(buf), "%s - Frame %4u, Timestamp %.3f", getIRGenerator()->GetInfo().GetInstanceName(), pIRMD->FrameID(), (double)pIRMD->Timestamp()/dTimestampDivider);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1126:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			sprintf(buf + strlen(buf), " | ");
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1128:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		sprintf(buf + strlen(buf), "%s - Timestamp %.3f", getAudioGenerator()->GetInfo().GetInstanceName(), (double)pAudioMD->Timestamp()/dTimestampDivider);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Draw.cpp:1160:4:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
			sprintf(sPointerValue, "-");
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Menu.cpp:99:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			strcat(g_MenuEntries[g_MenuBuilder.nCurrMenuItem].csName + strlen(csName), " [Esc]");
data/openni-1.5.4.0+dfsg/Samples/NiViewer/Menu.cpp:101:64:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			sprintf(g_MenuEntries[g_MenuBuilder.nCurrMenuItem].csName + strlen(csName), " [%c]", key);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/NiViewer.cpp:83:19:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	#define _getch() getchar()
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_extensions.h:80:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    char *padExtName = (char*)malloc(strlen(extName) + 2);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_extensions.h:81:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(strcpy(padExtName, extName), " ");
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_extensions.h:156:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        size_t sysExtsLen = strlen(extensions);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_extensions.h:166:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                winsysExtsLen = strlen(winsys_extensions);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_extensions.h:173:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          winsysExtsLen = strlen (winsys_extensions);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_extensions.h:190:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    reqExtsLen = strlen(reqExts);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_extensions.h:193:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    } else if (reqExtsLen > strlen(unsupportedExts)) {
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_extensions.h:215:13:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
            strcat(unsupportedExts, " ");
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_extensions.h:266:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        terminator = where + strlen(extension);
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_obs.h:294:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_obs.h:419:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_obs.h:531:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Samples/NiViewer/glh/glh_obs.h:616:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		{ load((GLuint)strlen(prog_text), prog_text); }
data/openni-1.5.4.0+dfsg/Source/Modules/Common/DataRecords.cpp:156:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	XnUInt32 nStrSize = (XnUInt32)strlen(str) + 1; //+1 for terminating '\0'
data/openni-1.5.4.0+dfsg/Source/Modules/Common/DataRecords.cpp:786:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	SetPropDataSize((XnUInt32)strlen(strValue)+1);
data/openni-1.5.4.0+dfsg/Source/Modules/nimMockNodes/MockProductionNode.cpp:179:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(val) > nBufSize)
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyStrings.cpp:112:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	nOutStringLength = strlen(cpPrefixString) + strlen(cpDestString);
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyStrings.cpp:112:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	nOutStringLength = strlen(cpPrefixString) + strlen(cpDestString);
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyStrings.cpp:124:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat (cpTempBuffer, cpPrefixString, nOutStringLength);
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyStrings.cpp:125:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat (cpTempBuffer, cpDestString, nOutStringLength);
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyStrings.cpp:128:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (cpDestString, cpTempBuffer, nOutStringLength);
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyStrings.cpp:144:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(cpSrcString) + strlen(cpDestString) >= nDestLength)
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyStrings.cpp:144:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(cpSrcString) + strlen(cpDestString) >= nDestLength)
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyStrings.cpp:150:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat (cpDestString, cpSrcString, nDestLength - strlen(cpDestString));
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyStrings.cpp:150:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strncat (cpDestString, cpSrcString, nDestLength - strlen(cpDestString));
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyStrings.cpp:163:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(cpSrcString) >= nDestLength)
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyStrings.cpp:169:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (cpDestString, cpSrcString, nDestLength);
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyStrings.cpp:178:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return (XnUInt32)strlen(cpString);
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyStrings.cpp:194:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (cpDestString, cpSrcString, nCopyLength);
data/openni-1.5.4.0+dfsg/Source/OpenNI/FilesOnly/FilesOnlyStrings.cpp:213:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	nStrLen = strlen(cpString);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxDebug.cpp:61:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(astrFrames[i], pstrFrames[i], nMaxNameLength);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxFiles.cpp:206:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ssize_t nBytesRead = read(File, pBuffer, *pnBufferSize);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxFiles.cpp:535:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(strResult) >= nBufferSize)
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxKeyboard.cpp:55:7:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	ch = getchar();
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxKeyboard.cpp:74:17:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	return (XnChar)getchar();
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxMemory.cpp:52:12:  [1] (free) memalign:
  On some systems (though not Linux-based systems) an attempt to free()
  results from memalign() may fail. This may, on a few systems, be
  exploitable. Also note that memalign() may not check that the boundary
  parameter is correct (CWE-676). Use posix_memalign instead (defined in
  POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD
  4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases,
  malloc()'s alignment may be sufficient.
	pResult = memalign(nAlignment, nAllocSize);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp:112:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	nOutStringLength = strlen(cpPrefixString) + strlen(cpDestString);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp:112:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	nOutStringLength = strlen(cpPrefixString) + strlen(cpDestString);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp:124:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat (cpTempBuffer, cpPrefixString, nOutStringLength);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp:125:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat (cpTempBuffer, cpDestString, nOutStringLength);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp:128:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (cpDestString, cpTempBuffer, nOutStringLength);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp:144:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(cpSrcString) + strlen(cpDestString) >= nDestLength)
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp:144:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(cpSrcString) + strlen(cpDestString) >= nDestLength)
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp:150:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat (cpDestString, cpSrcString, nDestLength - strlen(cpDestString));
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp:150:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strncat (cpDestString, cpSrcString, nDestLength - strlen(cpDestString));
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp:163:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(cpSrcString) >= nDestLength)
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp:169:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (cpDestString, cpSrcString, nDestLength);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp:178:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return strlen(cpString);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp:194:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(cpDestString, cpSrcString, nCopyLength);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxStrings.cpp:213:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	nStrLen = strlen(cpString);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxTime.cpp:89:2:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	usleep(nMilliseconds*1000);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxUSBDevice.cpp:429:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		int len = strlen(strString);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxUSBDevice.cpp:507:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			int status = read (pDevice->deviceFD, &status, 0);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxUSBDevice.cpp:595:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		status = read(pDevice->deviceFD, &event, sizeof(event));
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxUSBDevice.cpp:634:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					status = read (pDevice->deviceFD, &status, 0);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Linux/LinuxUSBDevice.cpp:941:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		int status = read(pDevice->deviceFD, pDevice->pControlBuffer, length);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Strings.cpp:113:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	nOutStringLength = strlen(cpPrefixString) + strlen(cpDestString);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Strings.cpp:113:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	nOutStringLength = strlen(cpPrefixString) + strlen(cpDestString);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Strings.cpp:125:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat (cpTempBuffer, cpPrefixString, nOutStringLength);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Strings.cpp:126:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat (cpTempBuffer, cpDestString, nOutStringLength);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Strings.cpp:129:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (cpDestString, cpTempBuffer, nOutStringLength);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Strings.cpp:145:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(cpSrcString) + strlen(cpDestString) >= nDestLength)
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Strings.cpp:145:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(cpSrcString) + strlen(cpDestString) >= nDestLength)
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Strings.cpp:151:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat (cpDestString, cpSrcString, nDestLength - strlen(cpDestString));
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Strings.cpp:151:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	strncat (cpDestString, cpSrcString, nDestLength - strlen(cpDestString));
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Strings.cpp:164:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(cpSrcString) >= nDestLength)
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Strings.cpp:170:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (cpDestString, cpSrcString, nDestLength);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Strings.cpp:179:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return (XnUInt32)strlen(cpString);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Strings.cpp:195:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(cpDestString, cpSrcString, nCopyLength);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/Win32Strings.cpp:214:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	nStrLen = strlen(cpString);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/XnOSWin32.cpp:168:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		sprintf(csName+strlen(csName), " Model: %d Family: %d Stepping: %d", nModel, nFamily, nSteppingID);
data/openni-1.5.4.0+dfsg/Source/OpenNI/Win32/XnOSWin32.cpp:190:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		strcat(pOSInfo->csOSName, " ");
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnDump.cpp:322:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		xnOSWriteFile(pDump->hFile, csHeader, (XnUInt32)strlen(csHeader));
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnOS.cpp:259:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	XnSizeT nLen = strlen(strSource);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnOpenNI.cpp:900:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(pInfo->strCreationInfo, strCreationInfo, XN_MAX_CREATION_INFO_LENGTH);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnOpenNI.cpp:4542:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            XnUInt32 len = (XnUInt32)strlen(arr[i])+1;
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnOpenNI.cpp:6344:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    XnUInt32 len = (XnUInt32)strlen(strPose) + 1;
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnProfiling.cpp:221:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(pSection->csName + nChar, csSectionName, MAX_SECTION_NAME);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnProfiling.cpp:223:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(pSection->csName) > g_ProfilingData.nMaxSectionName)
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnProfiling.cpp:224:39:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				g_ProfilingData.nMaxSectionName = strlen(pSection->csName);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnQueries.cpp:93:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(pQuery->strVendor, strVendor, XN_MAX_NAME_LENGTH);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnQueries.cpp:101:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(pQuery->strName, strName, XN_MAX_NAME_LENGTH);
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnQueries.cpp:170:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(pQuery->strCreationInfo, strCreationInfo, sizeof(pQuery->strCreationInfo));
data/openni-1.5.4.0+dfsg/Source/OpenNI/XnXmlScriptNode.cpp:377:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(strCodec) != sizeof(XnCodecID))
data/openni-1.5.4.0+dfsg/Source/Utils/niLicense/niLicense.cpp:119:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		nRetVal = xnOSStrNCopy(license.strVendor, strVendor, (XnUInt32)strlen(strVendor) + 1, (XnUInt32)sizeof(license.strVendor));
data/openni-1.5.4.0+dfsg/Source/Utils/niLicense/niLicense.cpp:126:60:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		nRetVal = xnOSStrNCopy(license.strKey, strKey, (XnUInt32)strlen(strKey) + 1, (XnUInt32)sizeof(license.strKey));

ANALYSIS SUMMARY:

Hits = 591
Lines analyzed = 339498 in approximately 7.87 seconds (43130 lines/second)
Physical Source Lines of Code (SLOC) = 226103
Hits@level = [0] 610 [1] 206 [2] 235 [3]  34 [4] 114 [5]   2
Hits@level+ = [0+] 1201 [1+] 591 [2+] 385 [3+] 150 [4+] 116 [5+]   2
Hits/KSLOC@level+ = [0+] 5.31174 [1+] 2.61385 [2+] 1.70276 [3+] 0.663414 [4+] 0.513041 [5+] 0.00884553
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.