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/glib2.0-2.66.3/fuzzing/driver.c
Examining data/glib2.0-2.66.3/fuzzing/fuzz.h
Examining data/glib2.0-2.66.3/fuzzing/fuzz_bookmark.c
Examining data/glib2.0-2.66.3/fuzzing/fuzz_dbus_message.c
Examining data/glib2.0-2.66.3/fuzzing/fuzz_key.c
Examining data/glib2.0-2.66.3/fuzzing/fuzz_uri_escape.c
Examining data/glib2.0-2.66.3/fuzzing/fuzz_uri_parse.c
Examining data/glib2.0-2.66.3/fuzzing/fuzz_uri_parse_params.c
Examining data/glib2.0-2.66.3/fuzzing/fuzz_variant_binary.c
Examining data/glib2.0-2.66.3/fuzzing/fuzz_variant_text.c
Examining data/glib2.0-2.66.3/gio/fam/gfamfilemonitor.c
Examining data/glib2.0-2.66.3/gio/gaction.c
Examining data/glib2.0-2.66.3/gio/gaction.h
Examining data/glib2.0-2.66.3/gio/gactiongroup.c
Examining data/glib2.0-2.66.3/gio/gactiongroup.h
Examining data/glib2.0-2.66.3/gio/gactiongroupexporter.c
Examining data/glib2.0-2.66.3/gio/gactiongroupexporter.h
Examining data/glib2.0-2.66.3/gio/gactionmap.c
Examining data/glib2.0-2.66.3/gio/gactionmap.h
Examining data/glib2.0-2.66.3/gio/gappinfo.c
Examining data/glib2.0-2.66.3/gio/gappinfo.h
Examining data/glib2.0-2.66.3/gio/gappinfoprivate.h
Examining data/glib2.0-2.66.3/gio/gapplication-tool.c
Examining data/glib2.0-2.66.3/gio/gapplication.c
Examining data/glib2.0-2.66.3/gio/gapplication.h
Examining data/glib2.0-2.66.3/gio/gapplicationcommandline.c
Examining data/glib2.0-2.66.3/gio/gapplicationcommandline.h
Examining data/glib2.0-2.66.3/gio/gapplicationimpl-dbus.c
Examining data/glib2.0-2.66.3/gio/gapplicationimpl.h
Examining data/glib2.0-2.66.3/gio/gasynchelper.c
Examining data/glib2.0-2.66.3/gio/gasynchelper.h
Examining data/glib2.0-2.66.3/gio/gasyncinitable.c
Examining data/glib2.0-2.66.3/gio/gasyncinitable.h
Examining data/glib2.0-2.66.3/gio/gasyncresult.c
Examining data/glib2.0-2.66.3/gio/gasyncresult.h
Examining data/glib2.0-2.66.3/gio/gbufferedinputstream.c
Examining data/glib2.0-2.66.3/gio/gbufferedinputstream.h
Examining data/glib2.0-2.66.3/gio/gbufferedoutputstream.c
Examining data/glib2.0-2.66.3/gio/gbufferedoutputstream.h
Examining data/glib2.0-2.66.3/gio/gbytesicon.c
Examining data/glib2.0-2.66.3/gio/gbytesicon.h
Examining data/glib2.0-2.66.3/gio/gcancellable.c
Examining data/glib2.0-2.66.3/gio/gcancellable.h
Examining data/glib2.0-2.66.3/gio/gcharsetconverter.c
Examining data/glib2.0-2.66.3/gio/gcharsetconverter.h
Examining data/glib2.0-2.66.3/gio/gcontenttype-win32.c
Examining data/glib2.0-2.66.3/gio/gcontenttype.c
Examining data/glib2.0-2.66.3/gio/gcontenttype.h
Examining data/glib2.0-2.66.3/gio/gcontenttypeprivate.h
Examining data/glib2.0-2.66.3/gio/gcontextspecificgroup.c
Examining data/glib2.0-2.66.3/gio/gcontextspecificgroup.h
Examining data/glib2.0-2.66.3/gio/gconverter.c
Examining data/glib2.0-2.66.3/gio/gconverter.h
Examining data/glib2.0-2.66.3/gio/gconverterinputstream.c
Examining data/glib2.0-2.66.3/gio/gconverterinputstream.h
Examining data/glib2.0-2.66.3/gio/gconverteroutputstream.c
Examining data/glib2.0-2.66.3/gio/gconverteroutputstream.h
Examining data/glib2.0-2.66.3/gio/gcredentials.c
Examining data/glib2.0-2.66.3/gio/gcredentials.h
Examining data/glib2.0-2.66.3/gio/gcredentialsprivate.h
Examining data/glib2.0-2.66.3/gio/gdatagrambased.c
Examining data/glib2.0-2.66.3/gio/gdatagrambased.h
Examining data/glib2.0-2.66.3/gio/gdatainputstream.c
Examining data/glib2.0-2.66.3/gio/gdatainputstream.h
Examining data/glib2.0-2.66.3/gio/gdataoutputstream.c
Examining data/glib2.0-2.66.3/gio/gdataoutputstream.h
Examining data/glib2.0-2.66.3/gio/gdbus-tool.c
Examining data/glib2.0-2.66.3/gio/gdbusactiongroup-private.h
Examining data/glib2.0-2.66.3/gio/gdbusactiongroup.c
Examining data/glib2.0-2.66.3/gio/gdbusactiongroup.h
Examining data/glib2.0-2.66.3/gio/gdbusaddress.c
Examining data/glib2.0-2.66.3/gio/gdbusaddress.h
Examining data/glib2.0-2.66.3/gio/gdbusauth.c
Examining data/glib2.0-2.66.3/gio/gdbusauth.h
Examining data/glib2.0-2.66.3/gio/gdbusauthmechanism.c
Examining data/glib2.0-2.66.3/gio/gdbusauthmechanism.h
Examining data/glib2.0-2.66.3/gio/gdbusauthmechanismanon.c
Examining data/glib2.0-2.66.3/gio/gdbusauthmechanismanon.h
Examining data/glib2.0-2.66.3/gio/gdbusauthmechanismexternal.c
Examining data/glib2.0-2.66.3/gio/gdbusauthmechanismexternal.h
Examining data/glib2.0-2.66.3/gio/gdbusauthmechanismsha1.c
Examining data/glib2.0-2.66.3/gio/gdbusauthmechanismsha1.h
Examining data/glib2.0-2.66.3/gio/gdbusauthobserver.c
Examining data/glib2.0-2.66.3/gio/gdbusauthobserver.h
Examining data/glib2.0-2.66.3/gio/gdbusconnection.c
Examining data/glib2.0-2.66.3/gio/gdbusconnection.h
Examining data/glib2.0-2.66.3/gio/gdbusdaemon.c
Examining data/glib2.0-2.66.3/gio/gdbusdaemon.h
Examining data/glib2.0-2.66.3/gio/gdbuserror.c
Examining data/glib2.0-2.66.3/gio/gdbuserror.h
Examining data/glib2.0-2.66.3/gio/gdbusinterface.c
Examining data/glib2.0-2.66.3/gio/gdbusinterface.h
Examining data/glib2.0-2.66.3/gio/gdbusinterfaceskeleton.c
Examining data/glib2.0-2.66.3/gio/gdbusinterfaceskeleton.h
Examining data/glib2.0-2.66.3/gio/gdbusintrospection.c
Examining data/glib2.0-2.66.3/gio/gdbusintrospection.h
Examining data/glib2.0-2.66.3/gio/gdbusmenumodel.c
Examining data/glib2.0-2.66.3/gio/gdbusmenumodel.h
Examining data/glib2.0-2.66.3/gio/gdbusmessage.c
Examining data/glib2.0-2.66.3/gio/gdbusmessage.h
Examining data/glib2.0-2.66.3/gio/gdbusmethodinvocation.c
Examining data/glib2.0-2.66.3/gio/gdbusmethodinvocation.h
Examining data/glib2.0-2.66.3/gio/gdbusnameowning.c
Examining data/glib2.0-2.66.3/gio/gdbusnameowning.h
Examining data/glib2.0-2.66.3/gio/gdbusnamewatching.c
Examining data/glib2.0-2.66.3/gio/gdbusnamewatching.h
Examining data/glib2.0-2.66.3/gio/gdbusobject.c
Examining data/glib2.0-2.66.3/gio/gdbusobject.h
Examining data/glib2.0-2.66.3/gio/gdbusobjectmanager.c
Examining data/glib2.0-2.66.3/gio/gdbusobjectmanager.h
Examining data/glib2.0-2.66.3/gio/gdbusobjectmanagerclient.c
Examining data/glib2.0-2.66.3/gio/gdbusobjectmanagerclient.h
Examining data/glib2.0-2.66.3/gio/gdbusobjectmanagerserver.c
Examining data/glib2.0-2.66.3/gio/gdbusobjectmanagerserver.h
Examining data/glib2.0-2.66.3/gio/gdbusobjectproxy.c
Examining data/glib2.0-2.66.3/gio/gdbusobjectproxy.h
Examining data/glib2.0-2.66.3/gio/gdbusobjectskeleton.c
Examining data/glib2.0-2.66.3/gio/gdbusobjectskeleton.h
Examining data/glib2.0-2.66.3/gio/gdbusprivate.c
Examining data/glib2.0-2.66.3/gio/gdbusprivate.h
Examining data/glib2.0-2.66.3/gio/gdbusproxy.c
Examining data/glib2.0-2.66.3/gio/gdbusproxy.h
Examining data/glib2.0-2.66.3/gio/gdbusserver.c
Examining data/glib2.0-2.66.3/gio/gdbusserver.h
Examining data/glib2.0-2.66.3/gio/gdbusutils.c
Examining data/glib2.0-2.66.3/gio/gdbusutils.h
Examining data/glib2.0-2.66.3/gio/gdelayedsettingsbackend.c
Examining data/glib2.0-2.66.3/gio/gdelayedsettingsbackend.h
Examining data/glib2.0-2.66.3/gio/gdesktopappinfo.c
Examining data/glib2.0-2.66.3/gio/gdesktopappinfo.h
Examining data/glib2.0-2.66.3/gio/gdocumentportal.c
Examining data/glib2.0-2.66.3/gio/gdocumentportal.h
Examining data/glib2.0-2.66.3/gio/gdrive.c
Examining data/glib2.0-2.66.3/gio/gdrive.h
Examining data/glib2.0-2.66.3/gio/gdtlsclientconnection.c
Examining data/glib2.0-2.66.3/gio/gdtlsclientconnection.h
Examining data/glib2.0-2.66.3/gio/gdtlsconnection.c
Examining data/glib2.0-2.66.3/gio/gdtlsconnection.h
Examining data/glib2.0-2.66.3/gio/gdtlsserverconnection.c
Examining data/glib2.0-2.66.3/gio/gdtlsserverconnection.h
Examining data/glib2.0-2.66.3/gio/gdummyfile.c
Examining data/glib2.0-2.66.3/gio/gdummyfile.h
Examining data/glib2.0-2.66.3/gio/gdummyproxyresolver.c
Examining data/glib2.0-2.66.3/gio/gdummyproxyresolver.h
Examining data/glib2.0-2.66.3/gio/gdummytlsbackend.c
Examining data/glib2.0-2.66.3/gio/gdummytlsbackend.h
Examining data/glib2.0-2.66.3/gio/gemblem.c
Examining data/glib2.0-2.66.3/gio/gemblem.h
Examining data/glib2.0-2.66.3/gio/gemblemedicon.c
Examining data/glib2.0-2.66.3/gio/gemblemedicon.h
Examining data/glib2.0-2.66.3/gio/gfdonotificationbackend.c
Examining data/glib2.0-2.66.3/gio/gfile.c
Examining data/glib2.0-2.66.3/gio/gfile.h
Examining data/glib2.0-2.66.3/gio/gfileattribute-priv.h
Examining data/glib2.0-2.66.3/gio/gfileattribute.c
Examining data/glib2.0-2.66.3/gio/gfileattribute.h
Examining data/glib2.0-2.66.3/gio/gfiledescriptorbased.c
Examining data/glib2.0-2.66.3/gio/gfiledescriptorbased.h
Examining data/glib2.0-2.66.3/gio/gfileenumerator.c
Examining data/glib2.0-2.66.3/gio/gfileenumerator.h
Examining data/glib2.0-2.66.3/gio/gfileicon.c
Examining data/glib2.0-2.66.3/gio/gfileicon.h
Examining data/glib2.0-2.66.3/gio/gfileinfo-priv.h
Examining data/glib2.0-2.66.3/gio/gfileinfo.c
Examining data/glib2.0-2.66.3/gio/gfileinfo.h
Examining data/glib2.0-2.66.3/gio/gfileinputstream.c
Examining data/glib2.0-2.66.3/gio/gfileinputstream.h
Examining data/glib2.0-2.66.3/gio/gfileiostream.c
Examining data/glib2.0-2.66.3/gio/gfileiostream.h
Examining data/glib2.0-2.66.3/gio/gfilemonitor.c
Examining data/glib2.0-2.66.3/gio/gfilemonitor.h
Examining data/glib2.0-2.66.3/gio/gfilenamecompleter.c
Examining data/glib2.0-2.66.3/gio/gfilenamecompleter.h
Examining data/glib2.0-2.66.3/gio/gfileoutputstream.c
Examining data/glib2.0-2.66.3/gio/gfileoutputstream.h
Examining data/glib2.0-2.66.3/gio/gfilterinputstream.c
Examining data/glib2.0-2.66.3/gio/gfilterinputstream.h
Examining data/glib2.0-2.66.3/gio/gfilteroutputstream.c
Examining data/glib2.0-2.66.3/gio/gfilteroutputstream.h
Examining data/glib2.0-2.66.3/gio/ggtknotificationbackend.c
Examining data/glib2.0-2.66.3/gio/ghttpproxy.c
Examining data/glib2.0-2.66.3/gio/ghttpproxy.h
Examining data/glib2.0-2.66.3/gio/gicon.c
Examining data/glib2.0-2.66.3/gio/gicon.h
Examining data/glib2.0-2.66.3/gio/ginetaddress.c
Examining data/glib2.0-2.66.3/gio/ginetaddress.h
Examining data/glib2.0-2.66.3/gio/ginetaddressmask.c
Examining data/glib2.0-2.66.3/gio/ginetaddressmask.h
Examining data/glib2.0-2.66.3/gio/ginetsocketaddress.c
Examining data/glib2.0-2.66.3/gio/ginetsocketaddress.h
Examining data/glib2.0-2.66.3/gio/ginitable.c
Examining data/glib2.0-2.66.3/gio/ginitable.h
Examining data/glib2.0-2.66.3/gio/ginputstream.c
Examining data/glib2.0-2.66.3/gio/ginputstream.h
Examining data/glib2.0-2.66.3/gio/gio-autocleanups.h
Examining data/glib2.0-2.66.3/gio/gio-querymodules.c
Examining data/glib2.0-2.66.3/gio/gio-tool-cat.c
Examining data/glib2.0-2.66.3/gio/gio-tool-copy.c
Examining data/glib2.0-2.66.3/gio/gio-tool-info.c
Examining data/glib2.0-2.66.3/gio/gio-tool-list.c
Examining data/glib2.0-2.66.3/gio/gio-tool-mime.c
Examining data/glib2.0-2.66.3/gio/gio-tool-mkdir.c
Examining data/glib2.0-2.66.3/gio/gio-tool-monitor.c
Examining data/glib2.0-2.66.3/gio/gio-tool-mount.c
Examining data/glib2.0-2.66.3/gio/gio-tool-move.c
Examining data/glib2.0-2.66.3/gio/gio-tool-open.c
Examining data/glib2.0-2.66.3/gio/gio-tool-remove.c
Examining data/glib2.0-2.66.3/gio/gio-tool-rename.c
Examining data/glib2.0-2.66.3/gio/gio-tool-save.c
Examining data/glib2.0-2.66.3/gio/gio-tool-set.c
Examining data/glib2.0-2.66.3/gio/gio-tool-trash.c
Examining data/glib2.0-2.66.3/gio/gio-tool-tree.c
Examining data/glib2.0-2.66.3/gio/gio-tool.c
Examining data/glib2.0-2.66.3/gio/gio-tool.h
Examining data/glib2.0-2.66.3/gio/gio.h
Examining data/glib2.0-2.66.3/gio/gio_trace.h
Examining data/glib2.0-2.66.3/gio/gioenums.h
Examining data/glib2.0-2.66.3/gio/gioerror.c
Examining data/glib2.0-2.66.3/gio/gioerror.h
Examining data/glib2.0-2.66.3/gio/giomodule-priv.c
Examining data/glib2.0-2.66.3/gio/giomodule-priv.h
Examining data/glib2.0-2.66.3/gio/giomodule.c
Examining data/glib2.0-2.66.3/gio/giomodule.h
Examining data/glib2.0-2.66.3/gio/gioprivate.h
Examining data/glib2.0-2.66.3/gio/gioscheduler.c
Examining data/glib2.0-2.66.3/gio/gioscheduler.h
Examining data/glib2.0-2.66.3/gio/giostream.c
Examining data/glib2.0-2.66.3/gio/giostream.h
Examining data/glib2.0-2.66.3/gio/giotypes.h
Examining data/glib2.0-2.66.3/gio/giowin32-priv.h
Examining data/glib2.0-2.66.3/gio/giowin32-private.c
Examining data/glib2.0-2.66.3/gio/gkeyfilesettingsbackend.c
Examining data/glib2.0-2.66.3/gio/glib-compile-resources.c
Examining data/glib2.0-2.66.3/gio/glistmodel.c
Examining data/glib2.0-2.66.3/gio/glistmodel.h
Examining data/glib2.0-2.66.3/gio/gliststore.c
Examining data/glib2.0-2.66.3/gio/gliststore.h
Examining data/glib2.0-2.66.3/gio/gloadableicon.c
Examining data/glib2.0-2.66.3/gio/gloadableicon.h
Examining data/glib2.0-2.66.3/gio/glocalfile.c
Examining data/glib2.0-2.66.3/gio/glocalfile.h
Examining data/glib2.0-2.66.3/gio/glocalfileenumerator.c
Examining data/glib2.0-2.66.3/gio/glocalfileenumerator.h
Examining data/glib2.0-2.66.3/gio/glocalfileinfo.c
Examining data/glib2.0-2.66.3/gio/glocalfileinfo.h
Examining data/glib2.0-2.66.3/gio/glocalfileinputstream.c
Examining data/glib2.0-2.66.3/gio/glocalfileinputstream.h
Examining data/glib2.0-2.66.3/gio/glocalfileiostream.c
Examining data/glib2.0-2.66.3/gio/glocalfileiostream.h
Examining data/glib2.0-2.66.3/gio/glocalfilemonitor.c
Examining data/glib2.0-2.66.3/gio/glocalfilemonitor.h
Examining data/glib2.0-2.66.3/gio/glocalfileoutputstream.c
Examining data/glib2.0-2.66.3/gio/glocalfileoutputstream.h
Examining data/glib2.0-2.66.3/gio/glocalvfs.c
Examining data/glib2.0-2.66.3/gio/glocalvfs.h
Examining data/glib2.0-2.66.3/gio/gmarshal-internal.c
Examining data/glib2.0-2.66.3/gio/gmarshal-internal.h
Examining data/glib2.0-2.66.3/gio/gmemoryinputstream.c
Examining data/glib2.0-2.66.3/gio/gmemoryinputstream.h
Examining data/glib2.0-2.66.3/gio/gmemorymonitor.c
Examining data/glib2.0-2.66.3/gio/gmemorymonitor.h
Examining data/glib2.0-2.66.3/gio/gmemorymonitordbus.c
Examining data/glib2.0-2.66.3/gio/gmemorymonitordbus.h
Examining data/glib2.0-2.66.3/gio/gmemorymonitorportal.c
Examining data/glib2.0-2.66.3/gio/gmemorymonitorportal.h
Examining data/glib2.0-2.66.3/gio/gmemoryoutputstream.c
Examining data/glib2.0-2.66.3/gio/gmemoryoutputstream.h
Examining data/glib2.0-2.66.3/gio/gmemorysettingsbackend.c
Examining data/glib2.0-2.66.3/gio/gmenu.c
Examining data/glib2.0-2.66.3/gio/gmenu.h
Examining data/glib2.0-2.66.3/gio/gmenuexporter.c
Examining data/glib2.0-2.66.3/gio/gmenuexporter.h
Examining data/glib2.0-2.66.3/gio/gmenumodel.c
Examining data/glib2.0-2.66.3/gio/gmenumodel.h
Examining data/glib2.0-2.66.3/gio/gmount.c
Examining data/glib2.0-2.66.3/gio/gmount.h
Examining data/glib2.0-2.66.3/gio/gmountoperation.c
Examining data/glib2.0-2.66.3/gio/gmountoperation.h
Examining data/glib2.0-2.66.3/gio/gmountprivate.h
Examining data/glib2.0-2.66.3/gio/gnativesocketaddress.c
Examining data/glib2.0-2.66.3/gio/gnativesocketaddress.h
Examining data/glib2.0-2.66.3/gio/gnativevolumemonitor.c
Examining data/glib2.0-2.66.3/gio/gnativevolumemonitor.h
Examining data/glib2.0-2.66.3/gio/gnetworkaddress.c
Examining data/glib2.0-2.66.3/gio/gnetworkaddress.h
Examining data/glib2.0-2.66.3/gio/gnetworking.c
Examining data/glib2.0-2.66.3/gio/gnetworkingprivate.h
Examining data/glib2.0-2.66.3/gio/gnetworkmonitor.c
Examining data/glib2.0-2.66.3/gio/gnetworkmonitor.h
Examining data/glib2.0-2.66.3/gio/gnetworkmonitorbase.c
Examining data/glib2.0-2.66.3/gio/gnetworkmonitorbase.h
Examining data/glib2.0-2.66.3/gio/gnetworkmonitornetlink.c
Examining data/glib2.0-2.66.3/gio/gnetworkmonitornetlink.h
Examining data/glib2.0-2.66.3/gio/gnetworkmonitornm.c
Examining data/glib2.0-2.66.3/gio/gnetworkmonitornm.h
Examining data/glib2.0-2.66.3/gio/gnetworkmonitorportal.c
Examining data/glib2.0-2.66.3/gio/gnetworkmonitorportal.h
Examining data/glib2.0-2.66.3/gio/gnetworkservice.c
Examining data/glib2.0-2.66.3/gio/gnetworkservice.h
Examining data/glib2.0-2.66.3/gio/gnotification-private.h
Examining data/glib2.0-2.66.3/gio/gnotification.c
Examining data/glib2.0-2.66.3/gio/gnotification.h
Examining data/glib2.0-2.66.3/gio/gnotificationbackend.c
Examining data/glib2.0-2.66.3/gio/gnotificationbackend.h
Examining data/glib2.0-2.66.3/gio/gnullsettingsbackend.c
Examining data/glib2.0-2.66.3/gio/gopenuriportal.c
Examining data/glib2.0-2.66.3/gio/gopenuriportal.h
Examining data/glib2.0-2.66.3/gio/gosxappinfo.h
Examining data/glib2.0-2.66.3/gio/goutputstream.c
Examining data/glib2.0-2.66.3/gio/goutputstream.h
Examining data/glib2.0-2.66.3/gio/gpermission.c
Examining data/glib2.0-2.66.3/gio/gpermission.h
Examining data/glib2.0-2.66.3/gio/gpollableinputstream.c
Examining data/glib2.0-2.66.3/gio/gpollableinputstream.h
Examining data/glib2.0-2.66.3/gio/gpollableoutputstream.c
Examining data/glib2.0-2.66.3/gio/gpollableoutputstream.h
Examining data/glib2.0-2.66.3/gio/gpollableutils.c
Examining data/glib2.0-2.66.3/gio/gpollableutils.h
Examining data/glib2.0-2.66.3/gio/gpollfilemonitor.c
Examining data/glib2.0-2.66.3/gio/gpollfilemonitor.h
Examining data/glib2.0-2.66.3/gio/gportalnotificationbackend.c
Examining data/glib2.0-2.66.3/gio/gportalsupport.c
Examining data/glib2.0-2.66.3/gio/gportalsupport.h
Examining data/glib2.0-2.66.3/gio/gpropertyaction.c
Examining data/glib2.0-2.66.3/gio/gpropertyaction.h
Examining data/glib2.0-2.66.3/gio/gproxy.c
Examining data/glib2.0-2.66.3/gio/gproxy.h
Examining data/glib2.0-2.66.3/gio/gproxyaddress.c
Examining data/glib2.0-2.66.3/gio/gproxyaddress.h
Examining data/glib2.0-2.66.3/gio/gproxyaddressenumerator.c
Examining data/glib2.0-2.66.3/gio/gproxyaddressenumerator.h
Examining data/glib2.0-2.66.3/gio/gproxyresolver.c
Examining data/glib2.0-2.66.3/gio/gproxyresolver.h
Examining data/glib2.0-2.66.3/gio/gproxyresolverportal.c
Examining data/glib2.0-2.66.3/gio/gproxyresolverportal.h
Examining data/glib2.0-2.66.3/gio/gregistrysettingsbackend.c
Examining data/glib2.0-2.66.3/gio/gregistrysettingsbackend.h
Examining data/glib2.0-2.66.3/gio/gremoteactiongroup.c
Examining data/glib2.0-2.66.3/gio/gremoteactiongroup.h
Examining data/glib2.0-2.66.3/gio/gresolver.c
Examining data/glib2.0-2.66.3/gio/gresolver.h
Examining data/glib2.0-2.66.3/gio/gresource-tool.c
Examining data/glib2.0-2.66.3/gio/gresource.c
Examining data/glib2.0-2.66.3/gio/gresource.h
Examining data/glib2.0-2.66.3/gio/gresourcefile.c
Examining data/glib2.0-2.66.3/gio/gresourcefile.h
Examining data/glib2.0-2.66.3/gio/gseekable.c
Examining data/glib2.0-2.66.3/gio/gseekable.h
Examining data/glib2.0-2.66.3/gio/gsettings-mapping.c
Examining data/glib2.0-2.66.3/gio/gsettings-mapping.h
Examining data/glib2.0-2.66.3/gio/gsettings-tool.c
Examining data/glib2.0-2.66.3/gio/gsettings.c
Examining data/glib2.0-2.66.3/gio/gsettings.h
Examining data/glib2.0-2.66.3/gio/gsettingsbackend.c
Examining data/glib2.0-2.66.3/gio/gsettingsbackend.h
Examining data/glib2.0-2.66.3/gio/gsettingsbackendinternal.h
Examining data/glib2.0-2.66.3/gio/gsettingsschema-internal.h
Examining data/glib2.0-2.66.3/gio/gsettingsschema.c
Examining data/glib2.0-2.66.3/gio/gsettingsschema.h
Examining data/glib2.0-2.66.3/gio/gsimpleaction.c
Examining data/glib2.0-2.66.3/gio/gsimpleaction.h
Examining data/glib2.0-2.66.3/gio/gsimpleactiongroup.c
Examining data/glib2.0-2.66.3/gio/gsimpleactiongroup.h
Examining data/glib2.0-2.66.3/gio/gsimpleasyncresult.c
Examining data/glib2.0-2.66.3/gio/gsimpleasyncresult.h
Examining data/glib2.0-2.66.3/gio/gsimpleiostream.c
Examining data/glib2.0-2.66.3/gio/gsimpleiostream.h
Examining data/glib2.0-2.66.3/gio/gsimplepermission.c
Examining data/glib2.0-2.66.3/gio/gsimplepermission.h
Examining data/glib2.0-2.66.3/gio/gsimpleproxyresolver.c
Examining data/glib2.0-2.66.3/gio/gsimpleproxyresolver.h
Examining data/glib2.0-2.66.3/gio/gsocket.c
Examining data/glib2.0-2.66.3/gio/gsocket.h
Examining data/glib2.0-2.66.3/gio/gsocketaddress.c
Examining data/glib2.0-2.66.3/gio/gsocketaddress.h
Examining data/glib2.0-2.66.3/gio/gsocketaddressenumerator.c
Examining data/glib2.0-2.66.3/gio/gsocketaddressenumerator.h
Examining data/glib2.0-2.66.3/gio/gsocketclient.c
Examining data/glib2.0-2.66.3/gio/gsocketclient.h
Examining data/glib2.0-2.66.3/gio/gsocketconnectable.c
Examining data/glib2.0-2.66.3/gio/gsocketconnectable.h
Examining data/glib2.0-2.66.3/gio/gsocketconnection.c
Examining data/glib2.0-2.66.3/gio/gsocketconnection.h
Examining data/glib2.0-2.66.3/gio/gsocketcontrolmessage.c
Examining data/glib2.0-2.66.3/gio/gsocketcontrolmessage.h
Examining data/glib2.0-2.66.3/gio/gsocketinputstream.c
Examining data/glib2.0-2.66.3/gio/gsocketinputstream.h
Examining data/glib2.0-2.66.3/gio/gsocketlistener.c
Examining data/glib2.0-2.66.3/gio/gsocketlistener.h
Examining data/glib2.0-2.66.3/gio/gsocketoutputstream.c
Examining data/glib2.0-2.66.3/gio/gsocketoutputstream.h
Examining data/glib2.0-2.66.3/gio/gsocketservice.c
Examining data/glib2.0-2.66.3/gio/gsocketservice.h
Examining data/glib2.0-2.66.3/gio/gsocks4aproxy.c
Examining data/glib2.0-2.66.3/gio/gsocks4aproxy.h
Examining data/glib2.0-2.66.3/gio/gsocks4proxy.c
Examining data/glib2.0-2.66.3/gio/gsocks4proxy.h
Examining data/glib2.0-2.66.3/gio/gsocks5proxy.c
Examining data/glib2.0-2.66.3/gio/gsocks5proxy.h
Examining data/glib2.0-2.66.3/gio/gsrvtarget.c
Examining data/glib2.0-2.66.3/gio/gsrvtarget.h
Examining data/glib2.0-2.66.3/gio/gsubprocess.c
Examining data/glib2.0-2.66.3/gio/gsubprocess.h
Examining data/glib2.0-2.66.3/gio/gsubprocesslauncher-private.h
Examining data/glib2.0-2.66.3/gio/gsubprocesslauncher.c
Examining data/glib2.0-2.66.3/gio/gsubprocesslauncher.h
Examining data/glib2.0-2.66.3/gio/gtask.c
Examining data/glib2.0-2.66.3/gio/gtask.h
Examining data/glib2.0-2.66.3/gio/gtcpconnection.c
Examining data/glib2.0-2.66.3/gio/gtcpconnection.h
Examining data/glib2.0-2.66.3/gio/gtcpwrapperconnection.c
Examining data/glib2.0-2.66.3/gio/gtcpwrapperconnection.h
Examining data/glib2.0-2.66.3/gio/gtestdbus.c
Examining data/glib2.0-2.66.3/gio/gtestdbus.h
Examining data/glib2.0-2.66.3/gio/gthemedicon.c
Examining data/glib2.0-2.66.3/gio/gthemedicon.h
Examining data/glib2.0-2.66.3/gio/gthreadedresolver.c
Examining data/glib2.0-2.66.3/gio/gthreadedresolver.h
Examining data/glib2.0-2.66.3/gio/gthreadedsocketservice.c
Examining data/glib2.0-2.66.3/gio/gthreadedsocketservice.h
Examining data/glib2.0-2.66.3/gio/gtlsbackend.c
Examining data/glib2.0-2.66.3/gio/gtlsbackend.h
Examining data/glib2.0-2.66.3/gio/gtlscertificate.c
Examining data/glib2.0-2.66.3/gio/gtlscertificate.h
Examining data/glib2.0-2.66.3/gio/gtlsclientconnection.c
Examining data/glib2.0-2.66.3/gio/gtlsclientconnection.h
Examining data/glib2.0-2.66.3/gio/gtlsconnection.c
Examining data/glib2.0-2.66.3/gio/gtlsconnection.h
Examining data/glib2.0-2.66.3/gio/gtlsdatabase.c
Examining data/glib2.0-2.66.3/gio/gtlsdatabase.h
Examining data/glib2.0-2.66.3/gio/gtlsfiledatabase.c
Examining data/glib2.0-2.66.3/gio/gtlsfiledatabase.h
Examining data/glib2.0-2.66.3/gio/gtlsinteraction.c
Examining data/glib2.0-2.66.3/gio/gtlsinteraction.h
Examining data/glib2.0-2.66.3/gio/gtlspassword.c
Examining data/glib2.0-2.66.3/gio/gtlspassword.h
Examining data/glib2.0-2.66.3/gio/gtlsserverconnection.c
Examining data/glib2.0-2.66.3/gio/gtlsserverconnection.h
Examining data/glib2.0-2.66.3/gio/gtrashportal.c
Examining data/glib2.0-2.66.3/gio/gtrashportal.h
Examining data/glib2.0-2.66.3/gio/gunionvolumemonitor.c
Examining data/glib2.0-2.66.3/gio/gunionvolumemonitor.h
Examining data/glib2.0-2.66.3/gio/gunixconnection.c
Examining data/glib2.0-2.66.3/gio/gunixconnection.h
Examining data/glib2.0-2.66.3/gio/gunixcredentialsmessage.c
Examining data/glib2.0-2.66.3/gio/gunixcredentialsmessage.h
Examining data/glib2.0-2.66.3/gio/gunixfdlist.c
Examining data/glib2.0-2.66.3/gio/gunixfdlist.h
Examining data/glib2.0-2.66.3/gio/gunixfdmessage.c
Examining data/glib2.0-2.66.3/gio/gunixfdmessage.h
Examining data/glib2.0-2.66.3/gio/gunixinputstream.c
Examining data/glib2.0-2.66.3/gio/gunixinputstream.h
Examining data/glib2.0-2.66.3/gio/gunixmount.c
Examining data/glib2.0-2.66.3/gio/gunixmount.h
Examining data/glib2.0-2.66.3/gio/gunixmounts.c
Examining data/glib2.0-2.66.3/gio/gunixmounts.h
Examining data/glib2.0-2.66.3/gio/gunixoutputstream.c
Examining data/glib2.0-2.66.3/gio/gunixoutputstream.h
Examining data/glib2.0-2.66.3/gio/gunixsocketaddress.c
Examining data/glib2.0-2.66.3/gio/gunixsocketaddress.h
Examining data/glib2.0-2.66.3/gio/gunixvolume.c
Examining data/glib2.0-2.66.3/gio/gunixvolume.h
Examining data/glib2.0-2.66.3/gio/gunixvolumemonitor.c
Examining data/glib2.0-2.66.3/gio/gunixvolumemonitor.h
Examining data/glib2.0-2.66.3/gio/gvdb/gvdb-builder.c
Examining data/glib2.0-2.66.3/gio/gvdb/gvdb-builder.h
Examining data/glib2.0-2.66.3/gio/gvdb/gvdb-format.h
Examining data/glib2.0-2.66.3/gio/gvdb/gvdb-reader.c
Examining data/glib2.0-2.66.3/gio/gvdb/gvdb-reader.h
Examining data/glib2.0-2.66.3/gio/gvfs.c
Examining data/glib2.0-2.66.3/gio/gvfs.h
Examining data/glib2.0-2.66.3/gio/gvolume.c
Examining data/glib2.0-2.66.3/gio/gvolume.h
Examining data/glib2.0-2.66.3/gio/gvolumemonitor.c
Examining data/glib2.0-2.66.3/gio/gvolumemonitor.h
Examining data/glib2.0-2.66.3/gio/gwin32appinfo.c
Examining data/glib2.0-2.66.3/gio/gwin32appinfo.h
Examining data/glib2.0-2.66.3/gio/gwin32inputstream.c
Examining data/glib2.0-2.66.3/gio/gwin32inputstream.h
Examining data/glib2.0-2.66.3/gio/gwin32mount.c
Examining data/glib2.0-2.66.3/gio/gwin32mount.h
Examining data/glib2.0-2.66.3/gio/gwin32networkmonitor.c
Examining data/glib2.0-2.66.3/gio/gwin32networkmonitor.h
Examining data/glib2.0-2.66.3/gio/gwin32notificationbackend.c
Examining data/glib2.0-2.66.3/gio/gwin32outputstream.c
Examining data/glib2.0-2.66.3/gio/gwin32outputstream.h
Examining data/glib2.0-2.66.3/gio/gwin32registrykey.c
Examining data/glib2.0-2.66.3/gio/gwin32registrykey.h
Examining data/glib2.0-2.66.3/gio/gwin32volumemonitor.c
Examining data/glib2.0-2.66.3/gio/gwin32volumemonitor.h
Examining data/glib2.0-2.66.3/gio/gzlibcompressor.c
Examining data/glib2.0-2.66.3/gio/gzlibcompressor.h
Examining data/glib2.0-2.66.3/gio/gzlibdecompressor.c
Examining data/glib2.0-2.66.3/gio/gzlibdecompressor.h
Examining data/glib2.0-2.66.3/gio/inotify/ginotifyfilemonitor.c
Examining data/glib2.0-2.66.3/gio/inotify/ginotifyfilemonitor.h
Examining data/glib2.0-2.66.3/gio/inotify/inotify-helper.c
Examining data/glib2.0-2.66.3/gio/inotify/inotify-helper.h
Examining data/glib2.0-2.66.3/gio/inotify/inotify-kernel.c
Examining data/glib2.0-2.66.3/gio/inotify/inotify-kernel.h
Examining data/glib2.0-2.66.3/gio/inotify/inotify-missing.c
Examining data/glib2.0-2.66.3/gio/inotify/inotify-missing.h
Examining data/glib2.0-2.66.3/gio/inotify/inotify-path.c
Examining data/glib2.0-2.66.3/gio/inotify/inotify-path.h
Examining data/glib2.0-2.66.3/gio/inotify/inotify-sub.c
Examining data/glib2.0-2.66.3/gio/inotify/inotify-sub.h
Examining data/glib2.0-2.66.3/gio/kqueue/dep-list.c
Examining data/glib2.0-2.66.3/gio/kqueue/dep-list.h
Examining data/glib2.0-2.66.3/gio/kqueue/gkqueuefilemonitor.c
Examining data/glib2.0-2.66.3/gio/kqueue/kqueue-helper.c
Examining data/glib2.0-2.66.3/gio/kqueue/kqueue-helper.h
Examining data/glib2.0-2.66.3/gio/kqueue/kqueue-missing.c
Examining data/glib2.0-2.66.3/gio/strinfo.c
Examining data/glib2.0-2.66.3/gio/tests/actions.c
Examining data/glib2.0-2.66.3/gio/tests/appinfo-test.c
Examining data/glib2.0-2.66.3/gio/tests/appinfo.c
Examining data/glib2.0-2.66.3/gio/tests/appmonitor.c
Examining data/glib2.0-2.66.3/gio/tests/apps.c
Examining data/glib2.0-2.66.3/gio/tests/async-close-output-stream.c
Examining data/glib2.0-2.66.3/gio/tests/async-splice-output-stream.c
Examining data/glib2.0-2.66.3/gio/tests/autoptr.c
Examining data/glib2.0-2.66.3/gio/tests/basic-application.c
Examining data/glib2.0-2.66.3/gio/tests/buffered-input-stream.c
Examining data/glib2.0-2.66.3/gio/tests/buffered-output-stream.c
Examining data/glib2.0-2.66.3/gio/tests/cancellable.c
Examining data/glib2.0-2.66.3/gio/tests/contenttype.c
Examining data/glib2.0-2.66.3/gio/tests/contexts.c
Examining data/glib2.0-2.66.3/gio/tests/converter-stream.c
Examining data/glib2.0-2.66.3/gio/tests/credentials.c
Examining data/glib2.0-2.66.3/gio/tests/data-input-stream.c
Examining data/glib2.0-2.66.3/gio/tests/data-output-stream.c
Examining data/glib2.0-2.66.3/gio/tests/dbus-appinfo.c
Examining data/glib2.0-2.66.3/gio/tests/dbus-launch.c
Examining data/glib2.0-2.66.3/gio/tests/defaultvalue.c
Examining data/glib2.0-2.66.3/gio/tests/desktop-app-info.c
Examining data/glib2.0-2.66.3/gio/tests/echo-server.c
Examining data/glib2.0-2.66.3/gio/tests/fake-document-portal.c
Examining data/glib2.0-2.66.3/gio/tests/file.c
Examining data/glib2.0-2.66.3/gio/tests/fileattributematcher.c
Examining data/glib2.0-2.66.3/gio/tests/filter-cat.c
Examining data/glib2.0-2.66.3/gio/tests/filter-streams.c
Examining data/glib2.0-2.66.3/gio/tests/g-file-info-filesystem-readonly.c
Examining data/glib2.0-2.66.3/gio/tests/g-file-info.c
Examining data/glib2.0-2.66.3/gio/tests/g-file.c
Examining data/glib2.0-2.66.3/gio/tests/g-icon.c
Examining data/glib2.0-2.66.3/gio/tests/gapplication-example-actions.c
Examining data/glib2.0-2.66.3/gio/tests/gapplication-example-cmdline.c
Examining data/glib2.0-2.66.3/gio/tests/gapplication-example-cmdline2.c
Examining data/glib2.0-2.66.3/gio/tests/gapplication-example-cmdline3.c
Examining data/glib2.0-2.66.3/gio/tests/gapplication-example-cmdline4.c
Examining data/glib2.0-2.66.3/gio/tests/gapplication-example-dbushooks.c
Examining data/glib2.0-2.66.3/gio/tests/gapplication-example-open.c
Examining data/glib2.0-2.66.3/gio/tests/gapplication.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-address-get-session.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-addresses.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-auth.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-bz627724.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-close-pending.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-connection-flush-helper.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-connection-flush.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-connection-loss.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-connection-slow.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-connection.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-daemon.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-error.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-example-export.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-example-objectmanager-client.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-example-objectmanager-server.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-example-own-name.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-example-peer.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-example-proxy-subclass.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-example-server.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-example-subtree.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-example-unix-fd-client.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-example-watch-name.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-example-watch-proxy.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-exit-on-close.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-export.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-introspection.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-message.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-names.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-non-socket.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-overflow.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-peer-object-manager.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-peer.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-proxy-threads.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-proxy-unique-name.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-proxy-well-known-name.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-proxy.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-serialization.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-sessionbus.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-sessionbus.h
Examining data/glib2.0-2.66.3/gio/tests/gdbus-test-codegen.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-test-fixture.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-tests.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-tests.h
Examining data/glib2.0-2.66.3/gio/tests/gdbus-testserver.c
Examining data/glib2.0-2.66.3/gio/tests/gio-du.c
Examining data/glib2.0-2.66.3/gio/tests/giomodule.c
Examining data/glib2.0-2.66.3/gio/tests/glistmodel.c
Examining data/glib2.0-2.66.3/gio/tests/gnotification-server.c
Examining data/glib2.0-2.66.3/gio/tests/gnotification-server.h
Examining data/glib2.0-2.66.3/gio/tests/gnotification.c
Examining data/glib2.0-2.66.3/gio/tests/gschema-compile.c
Examining data/glib2.0-2.66.3/gio/tests/gsettings.c
Examining data/glib2.0-2.66.3/gio/tests/gsocketclient-slow.c
Examining data/glib2.0-2.66.3/gio/tests/gsubprocess-testprog.c
Examining data/glib2.0-2.66.3/gio/tests/gsubprocess.c
Examining data/glib2.0-2.66.3/gio/tests/gtesttlsbackend.c
Examining data/glib2.0-2.66.3/gio/tests/gtesttlsbackend.h
Examining data/glib2.0-2.66.3/gio/tests/gtlsconsoleinteraction.c
Examining data/glib2.0-2.66.3/gio/tests/gtlsconsoleinteraction.h
Examining data/glib2.0-2.66.3/gio/tests/httpd.c
Examining data/glib2.0-2.66.3/gio/tests/inet-address.c
Examining data/glib2.0-2.66.3/gio/tests/io-stream.c
Examining data/glib2.0-2.66.3/gio/tests/live-g-file.c
Examining data/glib2.0-2.66.3/gio/tests/memory-input-stream.c
Examining data/glib2.0-2.66.3/gio/tests/memory-monitor.c
Examining data/glib2.0-2.66.3/gio/tests/memory-output-stream.c
Examining data/glib2.0-2.66.3/gio/tests/mimeapps.c
Examining data/glib2.0-2.66.3/gio/tests/mock-resolver.c
Examining data/glib2.0-2.66.3/gio/tests/mock-resolver.h
Examining data/glib2.0-2.66.3/gio/tests/modules/symbol-visibility.h
Examining data/glib2.0-2.66.3/gio/tests/modules/test-module-a.c
Examining data/glib2.0-2.66.3/gio/tests/modules/test-module-b.c
Examining data/glib2.0-2.66.3/gio/tests/mount-operation.c
Examining data/glib2.0-2.66.3/gio/tests/network-address.c
Examining data/glib2.0-2.66.3/gio/tests/network-monitor-race.c
Examining data/glib2.0-2.66.3/gio/tests/network-monitor.c
Examining data/glib2.0-2.66.3/gio/tests/permission.c
Examining data/glib2.0-2.66.3/gio/tests/pollable.c
Examining data/glib2.0-2.66.3/gio/tests/proxy-test.c
Examining data/glib2.0-2.66.3/gio/tests/proxy.c
Examining data/glib2.0-2.66.3/gio/tests/readwrite.c
Examining data/glib2.0-2.66.3/gio/tests/resolver.c
Examining data/glib2.0-2.66.3/gio/tests/resourceplugin.c
Examining data/glib2.0-2.66.3/gio/tests/resources.c
Examining data/glib2.0-2.66.3/gio/tests/send-data.c
Examining data/glib2.0-2.66.3/gio/tests/simple-async-result.c
Examining data/glib2.0-2.66.3/gio/tests/simple-proxy.c
Examining data/glib2.0-2.66.3/gio/tests/sleepy-stream.c
Examining data/glib2.0-2.66.3/gio/tests/slow-connect-preload.c
Examining data/glib2.0-2.66.3/gio/tests/socket-address.c
Examining data/glib2.0-2.66.3/gio/tests/socket-client.c
Examining data/glib2.0-2.66.3/gio/tests/socket-common.c
Examining data/glib2.0-2.66.3/gio/tests/socket-listener.c
Examining data/glib2.0-2.66.3/gio/tests/socket-server.c
Examining data/glib2.0-2.66.3/gio/tests/socket-service.c
Examining data/glib2.0-2.66.3/gio/tests/socket.c
Examining data/glib2.0-2.66.3/gio/tests/srvtarget.c
Examining data/glib2.0-2.66.3/gio/tests/static-link/app.c
Examining data/glib2.0-2.66.3/gio/tests/stream-rw_all.c
Examining data/glib2.0-2.66.3/gio/tests/task.c
Examining data/glib2.0-2.66.3/gio/tests/test-io-stream.c
Examining data/glib2.0-2.66.3/gio/tests/test-io-stream.h
Examining data/glib2.0-2.66.3/gio/tests/test-pipe-unix.c
Examining data/glib2.0-2.66.3/gio/tests/test-pipe-unix.h
Examining data/glib2.0-2.66.3/gio/tests/testenum.h
Examining data/glib2.0-2.66.3/gio/tests/thumbnail-verification.c
Examining data/glib2.0-2.66.3/gio/tests/tls-bindings.c
Examining data/glib2.0-2.66.3/gio/tests/tls-certificate.c
Examining data/glib2.0-2.66.3/gio/tests/tls-database.c
Examining data/glib2.0-2.66.3/gio/tests/tls-interaction.c
Examining data/glib2.0-2.66.3/gio/tests/trash.c
Examining data/glib2.0-2.66.3/gio/tests/unix-fd.c
Examining data/glib2.0-2.66.3/gio/tests/unix-mounts.c
Examining data/glib2.0-2.66.3/gio/tests/unix-streams.c
Examining data/glib2.0-2.66.3/gio/tests/vfs.c
Examining data/glib2.0-2.66.3/gio/tests/volumemonitor.c
Examining data/glib2.0-2.66.3/gio/tests/win32-appinfo.c
Examining data/glib2.0-2.66.3/gio/tests/win32-streams.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-threading.c
Examining data/glib2.0-2.66.3/gio/tests/gmenumodel.c
Examining data/glib2.0-2.66.3/gio/tests/testfilemonitor.c
Examining data/glib2.0-2.66.3/gio/tests/gdbus-server-auth.c
Examining data/glib2.0-2.66.3/gio/thumbnail-verify.c
Examining data/glib2.0-2.66.3/gio/thumbnail-verify.h
Examining data/glib2.0-2.66.3/gio/win32/gwin32filemonitor.c
Examining data/glib2.0-2.66.3/gio/win32/gwin32filemonitor.h
Examining data/glib2.0-2.66.3/gio/win32/gwin32fsmonitorutils.c
Examining data/glib2.0-2.66.3/gio/win32/gwin32fsmonitorutils.h
Examining data/glib2.0-2.66.3/gio/win32/gwinhttpfile.c
Examining data/glib2.0-2.66.3/gio/win32/gwinhttpfile.h
Examining data/glib2.0-2.66.3/gio/win32/gwinhttpfileinputstream.c
Examining data/glib2.0-2.66.3/gio/win32/gwinhttpfileinputstream.h
Examining data/glib2.0-2.66.3/gio/win32/gwinhttpfileoutputstream.c
Examining data/glib2.0-2.66.3/gio/win32/gwinhttpfileoutputstream.h
Examining data/glib2.0-2.66.3/gio/win32/gwinhttpvfs.c
Examining data/glib2.0-2.66.3/gio/win32/gwinhttpvfs.h
Examining data/glib2.0-2.66.3/gio/win32/winhttp.h
Examining data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c
Examining data/glib2.0-2.66.3/gio/xdgmime/xdgmime.h
Examining data/glib2.0-2.66.3/gio/xdgmime/xdgmimealias.c
Examining data/glib2.0-2.66.3/gio/xdgmime/xdgmimealias.h
Examining data/glib2.0-2.66.3/gio/xdgmime/xdgmimecache.c
Examining data/glib2.0-2.66.3/gio/xdgmime/xdgmimecache.h
Examining data/glib2.0-2.66.3/gio/xdgmime/xdgmimeglob.c
Examining data/glib2.0-2.66.3/gio/xdgmime/xdgmimeglob.h
Examining data/glib2.0-2.66.3/gio/xdgmime/xdgmimeicon.c
Examining data/glib2.0-2.66.3/gio/xdgmime/xdgmimeicon.h
Examining data/glib2.0-2.66.3/gio/xdgmime/xdgmimeint.c
Examining data/glib2.0-2.66.3/gio/xdgmime/xdgmimeint.h
Examining data/glib2.0-2.66.3/gio/xdgmime/xdgmimemagic.c
Examining data/glib2.0-2.66.3/gio/xdgmime/xdgmimemagic.h
Examining data/glib2.0-2.66.3/gio/xdgmime/xdgmimeparent.c
Examining data/glib2.0-2.66.3/gio/xdgmime/xdgmimeparent.h
Examining data/glib2.0-2.66.3/gio/glib-compile-schemas.c
Examining data/glib2.0-2.66.3/glib/deprecated/gallocator.c
Examining data/glib2.0-2.66.3/glib/deprecated/gallocator.h
Examining data/glib2.0-2.66.3/glib/deprecated/gcache.c
Examining data/glib2.0-2.66.3/glib/deprecated/gcache.h
Examining data/glib2.0-2.66.3/glib/deprecated/gcompletion.c
Examining data/glib2.0-2.66.3/glib/deprecated/gcompletion.h
Examining data/glib2.0-2.66.3/glib/deprecated/gmain.h
Examining data/glib2.0-2.66.3/glib/deprecated/grel.c
Examining data/glib2.0-2.66.3/glib/deprecated/grel.h
Examining data/glib2.0-2.66.3/glib/deprecated/gthread-deprecated.c
Examining data/glib2.0-2.66.3/glib/deprecated/gthread.h
Examining data/glib2.0-2.66.3/glib/dirent/dirent.c
Examining data/glib2.0-2.66.3/glib/dirent/dirent.h
Examining data/glib2.0-2.66.3/glib/dirent/wdirent.c
Examining data/glib2.0-2.66.3/glib/docs.c
Examining data/glib2.0-2.66.3/glib/galloca.h
Examining data/glib2.0-2.66.3/glib/garcbox.c
Examining data/glib2.0-2.66.3/glib/garray.c
Examining data/glib2.0-2.66.3/glib/garray.h
Examining data/glib2.0-2.66.3/glib/gasyncqueue.c
Examining data/glib2.0-2.66.3/glib/gasyncqueue.h
Examining data/glib2.0-2.66.3/glib/gasyncqueueprivate.h
Examining data/glib2.0-2.66.3/glib/gatomic.c
Examining data/glib2.0-2.66.3/glib/gatomic.h
Examining data/glib2.0-2.66.3/glib/gbacktrace.c
Examining data/glib2.0-2.66.3/glib/gbacktrace.h
Examining data/glib2.0-2.66.3/glib/gbase64.c
Examining data/glib2.0-2.66.3/glib/gbase64.h
Examining data/glib2.0-2.66.3/glib/gbitlock.c
Examining data/glib2.0-2.66.3/glib/gbitlock.h
Examining data/glib2.0-2.66.3/glib/gbookmarkfile.c
Examining data/glib2.0-2.66.3/glib/gbookmarkfile.h
Examining data/glib2.0-2.66.3/glib/gbsearcharray.h
Examining data/glib2.0-2.66.3/glib/gbytes.c
Examining data/glib2.0-2.66.3/glib/gbytes.h
Examining data/glib2.0-2.66.3/glib/gcharset.c
Examining data/glib2.0-2.66.3/glib/gcharset.h
Examining data/glib2.0-2.66.3/glib/gcharsetprivate.h
Examining data/glib2.0-2.66.3/glib/gchecksum.c
Examining data/glib2.0-2.66.3/glib/gchecksum.h
Examining data/glib2.0-2.66.3/glib/gconstructor.h
Examining data/glib2.0-2.66.3/glib/gconvert.c
Examining data/glib2.0-2.66.3/glib/gconvert.h
Examining data/glib2.0-2.66.3/glib/gdataset.c
Examining data/glib2.0-2.66.3/glib/gdataset.h
Examining data/glib2.0-2.66.3/glib/gdatasetprivate.h
Examining data/glib2.0-2.66.3/glib/gdate.c
Examining data/glib2.0-2.66.3/glib/gdate.h
Examining data/glib2.0-2.66.3/glib/gdatetime.c
Examining data/glib2.0-2.66.3/glib/gdatetime.h
Examining data/glib2.0-2.66.3/glib/gdir.c
Examining data/glib2.0-2.66.3/glib/gdir.h
Examining data/glib2.0-2.66.3/glib/genviron.c
Examining data/glib2.0-2.66.3/glib/genviron.h
Examining data/glib2.0-2.66.3/glib/gerror.c
Examining data/glib2.0-2.66.3/glib/gerror.h
Examining data/glib2.0-2.66.3/glib/gfileutils.c
Examining data/glib2.0-2.66.3/glib/gfileutils.h
Examining data/glib2.0-2.66.3/glib/ggettext.c
Examining data/glib2.0-2.66.3/glib/ggettext.h
Examining data/glib2.0-2.66.3/glib/ghash.c
Examining data/glib2.0-2.66.3/glib/ghash.h
Examining data/glib2.0-2.66.3/glib/ghmac.c
Examining data/glib2.0-2.66.3/glib/ghmac.h
Examining data/glib2.0-2.66.3/glib/ghook.c
Examining data/glib2.0-2.66.3/glib/ghook.h
Examining data/glib2.0-2.66.3/glib/ghostutils.c
Examining data/glib2.0-2.66.3/glib/ghostutils.h
Examining data/glib2.0-2.66.3/glib/gi18n-lib.h
Examining data/glib2.0-2.66.3/glib/gi18n.h
Examining data/glib2.0-2.66.3/glib/giochannel.c
Examining data/glib2.0-2.66.3/glib/giochannel.h
Examining data/glib2.0-2.66.3/glib/giounix.c
Examining data/glib2.0-2.66.3/glib/giowin32.c
Examining data/glib2.0-2.66.3/glib/gkeyfile.h
Examining data/glib2.0-2.66.3/glib/glib-autocleanups.h
Examining data/glib2.0-2.66.3/glib/glib-init.c
Examining data/glib2.0-2.66.3/glib/glib-init.h
Examining data/glib2.0-2.66.3/glib/glib-mirroring-tab/gen-mirroring-tab.c
Examining data/glib2.0-2.66.3/glib/glib-mirroring-tab/packtab.c
Examining data/glib2.0-2.66.3/glib/glib-mirroring-tab/packtab.h
Examining data/glib2.0-2.66.3/glib/glib-object.h
Examining data/glib2.0-2.66.3/glib/glib-private.c
Examining data/glib2.0-2.66.3/glib/glib-private.h
Examining data/glib2.0-2.66.3/glib/glib-unix.c
Examining data/glib2.0-2.66.3/glib/glib-unix.h
Examining data/glib2.0-2.66.3/glib/glib.h
Examining data/glib2.0-2.66.3/glib/glib_trace.h
Examining data/glib2.0-2.66.3/glib/glibintl.h
Examining data/glib2.0-2.66.3/glib/glist.c
Examining data/glib2.0-2.66.3/glib/glist.h
Examining data/glib2.0-2.66.3/glib/gmacros.h
Examining data/glib2.0-2.66.3/glib/gmain-internal.h
Examining data/glib2.0-2.66.3/glib/gmain.c
Examining data/glib2.0-2.66.3/glib/gmain.h
Examining data/glib2.0-2.66.3/glib/gmappedfile.c
Examining data/glib2.0-2.66.3/glib/gmappedfile.h
Examining data/glib2.0-2.66.3/glib/gmarkup.c
Examining data/glib2.0-2.66.3/glib/gmarkup.h
Examining data/glib2.0-2.66.3/glib/gmem.c
Examining data/glib2.0-2.66.3/glib/gmem.h
Examining data/glib2.0-2.66.3/glib/gmessages.c
Examining data/glib2.0-2.66.3/glib/gmessages.h
Examining data/glib2.0-2.66.3/glib/gmirroringtable.h
Examining data/glib2.0-2.66.3/glib/gnode.c
Examining data/glib2.0-2.66.3/glib/gnode.h
Examining data/glib2.0-2.66.3/glib/gnulib/arg-nonnull.h
Examining data/glib2.0-2.66.3/glib/gnulib/asnprintf.c
Examining data/glib2.0-2.66.3/glib/gnulib/c++defs.h
Examining data/glib2.0-2.66.3/glib/gnulib/float+.h
Examining data/glib2.0-2.66.3/glib/gnulib/fpucw.h
Examining data/glib2.0-2.66.3/glib/gnulib/frexp.c
Examining data/glib2.0-2.66.3/glib/gnulib/frexpl.c
Examining data/glib2.0-2.66.3/glib/gnulib/g-gnulib.h
Examining data/glib2.0-2.66.3/glib/gnulib/isinf.c
Examining data/glib2.0-2.66.3/glib/gnulib/isnan.c
Examining data/glib2.0-2.66.3/glib/gnulib/isnand-nolibm.h
Examining data/glib2.0-2.66.3/glib/gnulib/isnand.c
Examining data/glib2.0-2.66.3/glib/gnulib/isnanf-nolibm.h
Examining data/glib2.0-2.66.3/glib/gnulib/isnanf.c
Examining data/glib2.0-2.66.3/glib/gnulib/isnanl-nolibm.h
Examining data/glib2.0-2.66.3/glib/gnulib/isnanl.c
Examining data/glib2.0-2.66.3/glib/gnulib/printf-args.c
Examining data/glib2.0-2.66.3/glib/gnulib/printf-args.h
Examining data/glib2.0-2.66.3/glib/gnulib/printf-frexp.c
Examining data/glib2.0-2.66.3/glib/gnulib/printf-frexp.h
Examining data/glib2.0-2.66.3/glib/gnulib/printf-frexpl.c
Examining data/glib2.0-2.66.3/glib/gnulib/printf-frexpl.h
Examining data/glib2.0-2.66.3/glib/gnulib/printf-parse.c
Examining data/glib2.0-2.66.3/glib/gnulib/printf-parse.h
Examining data/glib2.0-2.66.3/glib/gnulib/printf.c
Examining data/glib2.0-2.66.3/glib/gnulib/printf.h
Examining data/glib2.0-2.66.3/glib/gnulib/signbitd.c
Examining data/glib2.0-2.66.3/glib/gnulib/signbitf.c
Examining data/glib2.0-2.66.3/glib/gnulib/signbitl.c
Examining data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c
Examining data/glib2.0-2.66.3/glib/gnulib/vasnprintf.h
Examining data/glib2.0-2.66.3/glib/gnulib/verify.h
Examining data/glib2.0-2.66.3/glib/gnulib/xsize.c
Examining data/glib2.0-2.66.3/glib/gnulib/xsize.h
Examining data/glib2.0-2.66.3/glib/goption.c
Examining data/glib2.0-2.66.3/glib/goption.h
Examining data/glib2.0-2.66.3/glib/gpattern.c
Examining data/glib2.0-2.66.3/glib/gpattern.h
Examining data/glib2.0-2.66.3/glib/gpoll.c
Examining data/glib2.0-2.66.3/glib/gpoll.h
Examining data/glib2.0-2.66.3/glib/gprimes.c
Examining data/glib2.0-2.66.3/glib/gprimes.h
Examining data/glib2.0-2.66.3/glib/gprintf.c
Examining data/glib2.0-2.66.3/glib/gprintf.h
Examining data/glib2.0-2.66.3/glib/gprintfint.h
Examining data/glib2.0-2.66.3/glib/gqsort.c
Examining data/glib2.0-2.66.3/glib/gqsort.h
Examining data/glib2.0-2.66.3/glib/gquark.c
Examining data/glib2.0-2.66.3/glib/gquark.h
Examining data/glib2.0-2.66.3/glib/gqueue.c
Examining data/glib2.0-2.66.3/glib/gqueue.h
Examining data/glib2.0-2.66.3/glib/grand.c
Examining data/glib2.0-2.66.3/glib/grand.h
Examining data/glib2.0-2.66.3/glib/grcbox.c
Examining data/glib2.0-2.66.3/glib/grcbox.h
Examining data/glib2.0-2.66.3/glib/grcboxprivate.h
Examining data/glib2.0-2.66.3/glib/grefcount.c
Examining data/glib2.0-2.66.3/glib/grefcount.h
Examining data/glib2.0-2.66.3/glib/grefstring.c
Examining data/glib2.0-2.66.3/glib/grefstring.h
Examining data/glib2.0-2.66.3/glib/gregex.c
Examining data/glib2.0-2.66.3/glib/gregex.h
Examining data/glib2.0-2.66.3/glib/gscanner.c
Examining data/glib2.0-2.66.3/glib/gscanner.h
Examining data/glib2.0-2.66.3/glib/gscripttable.h
Examining data/glib2.0-2.66.3/glib/gsequence.c
Examining data/glib2.0-2.66.3/glib/gsequence.h
Examining data/glib2.0-2.66.3/glib/gshell.c
Examining data/glib2.0-2.66.3/glib/gshell.h
Examining data/glib2.0-2.66.3/glib/gslice.c
Examining data/glib2.0-2.66.3/glib/gslice.h
Examining data/glib2.0-2.66.3/glib/gslist.c
Examining data/glib2.0-2.66.3/glib/gslist.h
Examining data/glib2.0-2.66.3/glib/gspawn-private.h
Examining data/glib2.0-2.66.3/glib/gspawn-win32-helper.c
Examining data/glib2.0-2.66.3/glib/gspawn-win32.c
Examining data/glib2.0-2.66.3/glib/gspawn.c
Examining data/glib2.0-2.66.3/glib/gspawn.h
Examining data/glib2.0-2.66.3/glib/gstdio-private.c
Examining data/glib2.0-2.66.3/glib/gstdio.c
Examining data/glib2.0-2.66.3/glib/gstdio.h
Examining data/glib2.0-2.66.3/glib/gstdioprivate.h
Examining data/glib2.0-2.66.3/glib/gstrfuncs.c
Examining data/glib2.0-2.66.3/glib/gstrfuncs.h
Examining data/glib2.0-2.66.3/glib/gstring.c
Examining data/glib2.0-2.66.3/glib/gstring.h
Examining data/glib2.0-2.66.3/glib/gstringchunk.c
Examining data/glib2.0-2.66.3/glib/gstringchunk.h
Examining data/glib2.0-2.66.3/glib/gtester.c
Examining data/glib2.0-2.66.3/glib/gtestutils.c
Examining data/glib2.0-2.66.3/glib/gtestutils.h
Examining data/glib2.0-2.66.3/glib/gthread-posix.c
Examining data/glib2.0-2.66.3/glib/gthread-win32.c
Examining data/glib2.0-2.66.3/glib/gthread.c
Examining data/glib2.0-2.66.3/glib/gthread.h
Examining data/glib2.0-2.66.3/glib/gthreadpool.c
Examining data/glib2.0-2.66.3/glib/gthreadpool.h
Examining data/glib2.0-2.66.3/glib/gthreadprivate.h
Examining data/glib2.0-2.66.3/glib/gtimer.c
Examining data/glib2.0-2.66.3/glib/gtimer.h
Examining data/glib2.0-2.66.3/glib/gtimezone.c
Examining data/glib2.0-2.66.3/glib/gtimezone.h
Examining data/glib2.0-2.66.3/glib/gtrace-private.h
Examining data/glib2.0-2.66.3/glib/gtrace.c
Examining data/glib2.0-2.66.3/glib/gtranslit-data.h
Examining data/glib2.0-2.66.3/glib/gtranslit.c
Examining data/glib2.0-2.66.3/glib/gtrashstack.c
Examining data/glib2.0-2.66.3/glib/gtrashstack.h
Examining data/glib2.0-2.66.3/glib/gtree.c
Examining data/glib2.0-2.66.3/glib/gtree.h
Examining data/glib2.0-2.66.3/glib/gtypes.h
Examining data/glib2.0-2.66.3/glib/gunibreak.c
Examining data/glib2.0-2.66.3/glib/gunibreak.h
Examining data/glib2.0-2.66.3/glib/gunichartables.h
Examining data/glib2.0-2.66.3/glib/gunicode.h
Examining data/glib2.0-2.66.3/glib/gunicodeprivate.h
Examining data/glib2.0-2.66.3/glib/gunicollate.c
Examining data/glib2.0-2.66.3/glib/gunicomp.h
Examining data/glib2.0-2.66.3/glib/gunidecomp.c
Examining data/glib2.0-2.66.3/glib/gunidecomp.h
Examining data/glib2.0-2.66.3/glib/guniprop.c
Examining data/glib2.0-2.66.3/glib/guri.c
Examining data/glib2.0-2.66.3/glib/guri.h
Examining data/glib2.0-2.66.3/glib/guriprivate.h
Examining data/glib2.0-2.66.3/glib/gutf8.c
Examining data/glib2.0-2.66.3/glib/gutils.c
Examining data/glib2.0-2.66.3/glib/gutils.h
Examining data/glib2.0-2.66.3/glib/gutilsprivate.h
Examining data/glib2.0-2.66.3/glib/guuid.c
Examining data/glib2.0-2.66.3/glib/guuid.h
Examining data/glib2.0-2.66.3/glib/gvalgrind.h
Examining data/glib2.0-2.66.3/glib/gvariant-core.c
Examining data/glib2.0-2.66.3/glib/gvariant-core.h
Examining data/glib2.0-2.66.3/glib/gvariant-internal.h
Examining data/glib2.0-2.66.3/glib/gvariant-parser.c
Examining data/glib2.0-2.66.3/glib/gvariant-serialiser.c
Examining data/glib2.0-2.66.3/glib/gvariant-serialiser.h
Examining data/glib2.0-2.66.3/glib/gvariant.c
Examining data/glib2.0-2.66.3/glib/gvariant.h
Examining data/glib2.0-2.66.3/glib/gvarianttype.c
Examining data/glib2.0-2.66.3/glib/gvarianttype.h
Examining data/glib2.0-2.66.3/glib/gvarianttypeinfo.c
Examining data/glib2.0-2.66.3/glib/gvarianttypeinfo.h
Examining data/glib2.0-2.66.3/glib/gversion.c
Examining data/glib2.0-2.66.3/glib/gversion.h
Examining data/glib2.0-2.66.3/glib/gversionmacros.h
Examining data/glib2.0-2.66.3/glib/gwakeup.c
Examining data/glib2.0-2.66.3/glib/gwakeup.h
Examining data/glib2.0-2.66.3/glib/gwin32-private.c
Examining data/glib2.0-2.66.3/glib/gwin32.c
Examining data/glib2.0-2.66.3/glib/gwin32.h
Examining data/glib2.0-2.66.3/glib/libcharset/libcharset.h
Examining data/glib2.0-2.66.3/glib/libcharset/localcharset.c
Examining data/glib2.0-2.66.3/glib/libcharset/localcharset.h
Examining data/glib2.0-2.66.3/glib/pcre/pcre.h
Examining data/glib2.0-2.66.3/glib/pcre/pcre_byte_order.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_chartables.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_compile.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_config.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_dfa_exec.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_exec.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_fullinfo.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_get.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_globals.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_internal.h
Examining data/glib2.0-2.66.3/glib/pcre/pcre_jit_compile.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_newline.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_ord2utf8.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_string_utils.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_study.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_tables.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_valid_utf8.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_version.c
Examining data/glib2.0-2.66.3/glib/pcre/pcre_xclass.c
Examining data/glib2.0-2.66.3/glib/pcre/ucp.h
Examining data/glib2.0-2.66.3/glib/tests/1bit-mutex.c
Examining data/glib2.0-2.66.3/glib/tests/642026.c
Examining data/glib2.0-2.66.3/glib/tests/array-test.c
Examining data/glib2.0-2.66.3/glib/tests/asyncqueue.c
Examining data/glib2.0-2.66.3/glib/tests/atomic.c
Examining data/glib2.0-2.66.3/glib/tests/autoptr.c
Examining data/glib2.0-2.66.3/glib/tests/base64.c
Examining data/glib2.0-2.66.3/glib/tests/bitlock.c
Examining data/glib2.0-2.66.3/glib/tests/bookmarkfile.c
Examining data/glib2.0-2.66.3/glib/tests/bytes.c
Examining data/glib2.0-2.66.3/glib/tests/cache.c
Examining data/glib2.0-2.66.3/glib/tests/charset.c
Examining data/glib2.0-2.66.3/glib/tests/checksum.c
Examining data/glib2.0-2.66.3/glib/tests/collate.c
Examining data/glib2.0-2.66.3/glib/tests/cond.c
Examining data/glib2.0-2.66.3/glib/tests/convert.c
Examining data/glib2.0-2.66.3/glib/tests/dataset.c
Examining data/glib2.0-2.66.3/glib/tests/date.c
Examining data/glib2.0-2.66.3/glib/tests/dir.c
Examining data/glib2.0-2.66.3/glib/tests/environment.c
Examining data/glib2.0-2.66.3/glib/tests/error.c
Examining data/glib2.0-2.66.3/glib/tests/gdatetime.c
Examining data/glib2.0-2.66.3/glib/tests/getpwuid-preload.c
Examining data/glib2.0-2.66.3/glib/tests/gpoll.c
Examining data/glib2.0-2.66.3/glib/tests/gutils-user-database.c
Examining data/glib2.0-2.66.3/glib/tests/guuid.c
Examining data/glib2.0-2.66.3/glib/tests/hash.c
Examining data/glib2.0-2.66.3/glib/tests/hmac.c
Examining data/glib2.0-2.66.3/glib/tests/hook.c
Examining data/glib2.0-2.66.3/glib/tests/hostutils.c
Examining data/glib2.0-2.66.3/glib/tests/include.c
Examining data/glib2.0-2.66.3/glib/tests/io-channel.c
Examining data/glib2.0-2.66.3/glib/tests/keyfile.c
Examining data/glib2.0-2.66.3/glib/tests/list.c
Examining data/glib2.0-2.66.3/glib/tests/logging.c
Examining data/glib2.0-2.66.3/glib/tests/macros.c
Examining data/glib2.0-2.66.3/glib/tests/mappedfile.c
Examining data/glib2.0-2.66.3/glib/tests/markup-collect.c
Examining data/glib2.0-2.66.3/glib/tests/markup-escape.c
Examining data/glib2.0-2.66.3/glib/tests/markup-parse.c
Examining data/glib2.0-2.66.3/glib/tests/markup-subparser.c
Examining data/glib2.0-2.66.3/glib/tests/markup.c
Examining data/glib2.0-2.66.3/glib/tests/mem-overflow.c
Examining data/glib2.0-2.66.3/glib/tests/mutex.c
Examining data/glib2.0-2.66.3/glib/tests/node.c
Examining data/glib2.0-2.66.3/glib/tests/once.c
Examining data/glib2.0-2.66.3/glib/tests/option-argv0.c
Examining data/glib2.0-2.66.3/glib/tests/option-context.c
Examining data/glib2.0-2.66.3/glib/tests/overflow.c
Examining data/glib2.0-2.66.3/glib/tests/pattern.c
Examining data/glib2.0-2.66.3/glib/tests/private.c
Examining data/glib2.0-2.66.3/glib/tests/protocol.c
Examining data/glib2.0-2.66.3/glib/tests/queue.c
Examining data/glib2.0-2.66.3/glib/tests/rand.c
Examining data/glib2.0-2.66.3/glib/tests/rcbox.c
Examining data/glib2.0-2.66.3/glib/tests/rec-mutex.c
Examining data/glib2.0-2.66.3/glib/tests/refcount.c
Examining data/glib2.0-2.66.3/glib/tests/refstring.c
Examining data/glib2.0-2.66.3/glib/tests/regex.c
Examining data/glib2.0-2.66.3/glib/tests/rwlock.c
Examining data/glib2.0-2.66.3/glib/tests/scannerapi.c
Examining data/glib2.0-2.66.3/glib/tests/search-utils.c
Examining data/glib2.0-2.66.3/glib/tests/sequence.c
Examining data/glib2.0-2.66.3/glib/tests/shell.c
Examining data/glib2.0-2.66.3/glib/tests/slice.c
Examining data/glib2.0-2.66.3/glib/tests/slist.c
Examining data/glib2.0-2.66.3/glib/tests/sort.c
Examining data/glib2.0-2.66.3/glib/tests/spawn-multithreaded.c
Examining data/glib2.0-2.66.3/glib/tests/spawn-singlethread.c
Examining data/glib2.0-2.66.3/glib/tests/strfuncs.c
Examining data/glib2.0-2.66.3/glib/tests/string.c
Examining data/glib2.0-2.66.3/glib/tests/test-printf.c
Examining data/glib2.0-2.66.3/glib/tests/test-spawn-echo.c
Examining data/glib2.0-2.66.3/glib/tests/testing-helper.c
Examining data/glib2.0-2.66.3/glib/tests/testing.c
Examining data/glib2.0-2.66.3/glib/tests/thread-pool.c
Examining data/glib2.0-2.66.3/glib/tests/tree.c
Examining data/glib2.0-2.66.3/glib/tests/unicode.c
Examining data/glib2.0-2.66.3/glib/tests/unix.c
Examining data/glib2.0-2.66.3/glib/tests/uri.c
Examining data/glib2.0-2.66.3/glib/tests/utf8-misc.c
Examining data/glib2.0-2.66.3/glib/tests/utf8-performance.c
Examining data/glib2.0-2.66.3/glib/tests/utf8-pointer.c
Examining data/glib2.0-2.66.3/glib/tests/utf8-validate.c
Examining data/glib2.0-2.66.3/glib/tests/utils.c
Examining data/glib2.0-2.66.3/glib/tests/win32.c
Examining data/glib2.0-2.66.3/glib/tests/fileutils.c
Examining data/glib2.0-2.66.3/glib/tests/gwakeuptest.c
Examining data/glib2.0-2.66.3/glib/tests/thread.c
Examining data/glib2.0-2.66.3/glib/tests/mainloop.c
Examining data/glib2.0-2.66.3/glib/tests/timeout.c
Examining data/glib2.0-2.66.3/glib/tests/timer.c
Examining data/glib2.0-2.66.3/glib/tests/gvariant.c
Examining data/glib2.0-2.66.3/glib/valgrind.h
Examining data/glib2.0-2.66.3/glib/win_iconv.c
Examining data/glib2.0-2.66.3/glib/gkeyfile.c
Examining data/glib2.0-2.66.3/gmodule/gmodule-ar.c
Examining data/glib2.0-2.66.3/gmodule/gmodule-dl.c
Examining data/glib2.0-2.66.3/gmodule/gmodule-win32.c
Examining data/glib2.0-2.66.3/gmodule/gmodule.c
Examining data/glib2.0-2.66.3/gmodule/gmodule.h
Examining data/glib2.0-2.66.3/gobject/gatomicarray.c
Examining data/glib2.0-2.66.3/gobject/gatomicarray.h
Examining data/glib2.0-2.66.3/gobject/gbinding.c
Examining data/glib2.0-2.66.3/gobject/gbinding.h
Examining data/glib2.0-2.66.3/gobject/gboxed.c
Examining data/glib2.0-2.66.3/gobject/gboxed.h
Examining data/glib2.0-2.66.3/gobject/gclosure.c
Examining data/glib2.0-2.66.3/gobject/gclosure.h
Examining data/glib2.0-2.66.3/gobject/genums.c
Examining data/glib2.0-2.66.3/gobject/genums.h
Examining data/glib2.0-2.66.3/gobject/glib-types.h
Examining data/glib2.0-2.66.3/gobject/gmarshal.c
Examining data/glib2.0-2.66.3/gobject/gmarshal.h
Examining data/glib2.0-2.66.3/gobject/gobject-autocleanups.h
Examining data/glib2.0-2.66.3/gobject/gobject-query.c
Examining data/glib2.0-2.66.3/gobject/gobject.c
Examining data/glib2.0-2.66.3/gobject/gobject.h
Examining data/glib2.0-2.66.3/gobject/gobject_trace.h
Examining data/glib2.0-2.66.3/gobject/gobjectnotifyqueue.c
Examining data/glib2.0-2.66.3/gobject/gparam.c
Examining data/glib2.0-2.66.3/gobject/gparam.h
Examining data/glib2.0-2.66.3/gobject/gparamspecs.c
Examining data/glib2.0-2.66.3/gobject/gparamspecs.h
Examining data/glib2.0-2.66.3/gobject/gsignal.c
Examining data/glib2.0-2.66.3/gobject/gsignal.h
Examining data/glib2.0-2.66.3/gobject/gsourceclosure.c
Examining data/glib2.0-2.66.3/gobject/gsourceclosure.h
Examining data/glib2.0-2.66.3/gobject/gtype-private.h
Examining data/glib2.0-2.66.3/gobject/gtype.c
Examining data/glib2.0-2.66.3/gobject/gtype.h
Examining data/glib2.0-2.66.3/gobject/gtypemodule.c
Examining data/glib2.0-2.66.3/gobject/gtypemodule.h
Examining data/glib2.0-2.66.3/gobject/gtypeplugin.c
Examining data/glib2.0-2.66.3/gobject/gtypeplugin.h
Examining data/glib2.0-2.66.3/gobject/gvalue.c
Examining data/glib2.0-2.66.3/gobject/gvalue.h
Examining data/glib2.0-2.66.3/gobject/gvaluearray.c
Examining data/glib2.0-2.66.3/gobject/gvaluearray.h
Examining data/glib2.0-2.66.3/gobject/gvaluecollector.h
Examining data/glib2.0-2.66.3/gobject/gvaluetransform.c
Examining data/glib2.0-2.66.3/gobject/gvaluetypes.c
Examining data/glib2.0-2.66.3/gobject/gvaluetypes.h
Examining data/glib2.0-2.66.3/gobject/tests/autoptr.c
Examining data/glib2.0-2.66.3/gobject/tests/binding.c
Examining data/glib2.0-2.66.3/gobject/tests/boxed.c
Examining data/glib2.0-2.66.3/gobject/tests/closure.c
Examining data/glib2.0-2.66.3/gobject/tests/dynamictests.c
Examining data/glib2.0-2.66.3/gobject/tests/enums.c
Examining data/glib2.0-2.66.3/gobject/tests/flags.c
Examining data/glib2.0-2.66.3/gobject/tests/ifaceproperties.c
Examining data/glib2.0-2.66.3/gobject/tests/object.c
Examining data/glib2.0-2.66.3/gobject/tests/param.c
Examining data/glib2.0-2.66.3/gobject/tests/private.c
Examining data/glib2.0-2.66.3/gobject/tests/properties.c
Examining data/glib2.0-2.66.3/gobject/tests/qdata.c
Examining data/glib2.0-2.66.3/gobject/tests/reference.c
Examining data/glib2.0-2.66.3/gobject/tests/signal-handler.c
Examining data/glib2.0-2.66.3/gobject/tests/signals.c
Examining data/glib2.0-2.66.3/gobject/tests/testcommon.h
Examining data/glib2.0-2.66.3/gobject/tests/testing.c
Examining data/glib2.0-2.66.3/gobject/tests/threadtests.c
Examining data/glib2.0-2.66.3/gobject/tests/type.c
Examining data/glib2.0-2.66.3/gobject/tests/value.c
Examining data/glib2.0-2.66.3/gobject/tests/closure-refcount.c
Examining data/glib2.0-2.66.3/gthread/gthread-impl.c
Examining data/glib2.0-2.66.3/msvc_recommended_pragmas.h
Examining data/glib2.0-2.66.3/tests/assert-msg-test.c
Examining data/glib2.0-2.66.3/tests/asyncqueue-test.c
Examining data/glib2.0-2.66.3/tests/bit-test.c
Examining data/glib2.0-2.66.3/tests/child-test.c
Examining data/glib2.0-2.66.3/tests/completion-test.c
Examining data/glib2.0-2.66.3/tests/cxx-test.cpp
Examining data/glib2.0-2.66.3/tests/datetime.c
Examining data/glib2.0-2.66.3/tests/dirname-test.c
Examining data/glib2.0-2.66.3/tests/env-test.c
Examining data/glib2.0-2.66.3/tests/file-test.c
Examining data/glib2.0-2.66.3/tests/gio-test.c
Examining data/glib2.0-2.66.3/tests/gobject/accumulator.c
Examining data/glib2.0-2.66.3/tests/gobject/defaultiface.c
Examining data/glib2.0-2.66.3/tests/gobject/deftype.c
Examining data/glib2.0-2.66.3/tests/gobject/dynamictype.c
Examining data/glib2.0-2.66.3/tests/gobject/gvalue-test.c
Examining data/glib2.0-2.66.3/tests/gobject/override.c
Examining data/glib2.0-2.66.3/tests/gobject/paramspec-test.c
Examining data/glib2.0-2.66.3/tests/gobject/performance-threaded.c
Examining data/glib2.0-2.66.3/tests/gobject/performance.c
Examining data/glib2.0-2.66.3/tests/gobject/references.c
Examining data/glib2.0-2.66.3/tests/gobject/signals.c
Examining data/glib2.0-2.66.3/tests/gobject/singleton.c
Examining data/glib2.0-2.66.3/tests/gobject/testcommon.h
Examining data/glib2.0-2.66.3/tests/gobject/testgobject.c
Examining data/glib2.0-2.66.3/tests/gobject/testmodule.c
Examining data/glib2.0-2.66.3/tests/gobject/testmodule.h
Examining data/glib2.0-2.66.3/tests/gobject/timeloop-closure.c
Examining data/glib2.0-2.66.3/tests/iochannel-test.c
Examining data/glib2.0-2.66.3/tests/libmoduletestplugin_a.c
Examining data/glib2.0-2.66.3/tests/libmoduletestplugin_b.c
Examining data/glib2.0-2.66.3/tests/mainloop-test.c
Examining data/glib2.0-2.66.3/tests/mapping-test.c
Examining data/glib2.0-2.66.3/tests/memchunks.c
Examining data/glib2.0-2.66.3/tests/module-test.c
Examining data/glib2.0-2.66.3/tests/onceinit.c
Examining data/glib2.0-2.66.3/tests/qsort-test.c
Examining data/glib2.0-2.66.3/tests/refcount/objects.c
Examining data/glib2.0-2.66.3/tests/refcount/objects2.c
Examining data/glib2.0-2.66.3/tests/refcount/properties.c
Examining data/glib2.0-2.66.3/tests/refcount/properties2.c
Examining data/glib2.0-2.66.3/tests/refcount/properties3.c
Examining data/glib2.0-2.66.3/tests/refcount/properties4.c
Examining data/glib2.0-2.66.3/tests/refcount/signals.c
Examining data/glib2.0-2.66.3/tests/relation-test.c
Examining data/glib2.0-2.66.3/tests/slice-color.c
Examining data/glib2.0-2.66.3/tests/slice-concurrent.c
Examining data/glib2.0-2.66.3/tests/slice-test.c
Examining data/glib2.0-2.66.3/tests/slice-threadinit.c
Examining data/glib2.0-2.66.3/tests/sources.c
Examining data/glib2.0-2.66.3/tests/spawn-test-win32-gui.c
Examining data/glib2.0-2.66.3/tests/spawn-test.c
Examining data/glib2.0-2.66.3/tests/testgdate.c
Examining data/glib2.0-2.66.3/tests/testgdateparser.c
Examining data/glib2.0-2.66.3/tests/testglib.c
Examining data/glib2.0-2.66.3/tests/thread-test.c
Examining data/glib2.0-2.66.3/tests/threadpool-test.c
Examining data/glib2.0-2.66.3/tests/timeloop-basic.c
Examining data/glib2.0-2.66.3/tests/timeloop.c
Examining data/glib2.0-2.66.3/tests/type-test.c
Examining data/glib2.0-2.66.3/tests/unicode-caseconv.c
Examining data/glib2.0-2.66.3/tests/unicode-collate.c
Examining data/glib2.0-2.66.3/tests/unicode-encoding.c
Examining data/glib2.0-2.66.3/tests/unicode-normalize.c

FINAL RESULTS:

data/glib2.0-2.66.3/gio/glocalfile.c:1527:9:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
  res = readlink (link, symlink_value, sizeof (symlink_value) - 1);
data/glib2.0-2.66.3/gio/glocalfileinfo.c:182:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
      read_size = readlink (full_name, buffer, size);
data/glib2.0-2.66.3/gio/glocalfileinfo.c:2341:11:  [5] (race) chown:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchown( ) instead.
    res = chown (filename, uid, gid);
data/glib2.0-2.66.3/gio/tests/live-g-file.c:153:20:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  g_assert_cmpint (chmod (dac_denies_write, 0) == 0 ? 0 : errno, ==, 0);
data/glib2.0-2.66.3/gio/tests/live-g-file.c:170:20:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  g_assert_cmpint (chmod (dac_denies_write, S_IRWXU) == 0 ? 0 : errno, ==, 0);
data/glib2.0-2.66.3/glib/gfileutils.c:2300:19:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
      read_size = readlink (filename, buffer, size);
data/glib2.0-2.66.3/glib/gstdio.c:1007:10:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  return chmod (filename, mode);
data/glib2.0-2.66.3/glib/gstdio.h:69:19:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
#define g_chmod   chmod
data/glib2.0-2.66.3/glib/tests/fileutils.c:580:22:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  g_assert_no_errno (chmod (dac_denies_write, 0));
data/glib2.0-2.66.3/glib/tests/fileutils.c:597:22:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  g_assert_no_errno (chmod (dac_denies_write, S_IRWXU));
data/glib2.0-2.66.3/glib/tests/fileutils.c:1173:22:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  g_assert_no_errno (chmod (file_name, 0200));
data/glib2.0-2.66.3/glib/tests/fileutils.c:1229:26:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
      g_assert_no_errno (chmod (dir_name, 0));
data/glib2.0-2.66.3/gio/gdbus-tool.c:1388:16:  [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.
  const gchar *access;
data/glib2.0-2.66.3/gio/gdbus-tool.c:1406:59:  [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.
      g_print ("%*s%s %s%s%s %s%s%s = %s;\n", indent, "", access,
data/glib2.0-2.66.3/gio/gdbus-tool.c:1414:46:  [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.
      g_print ("%*s%s %s %s;\n", indent, "", access, o->signature, o->name);
data/glib2.0-2.66.3/gio/gdbusintrospection.c:1258:16:  [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.
  const gchar *access;
data/glib2.0-2.66.3/gio/gdbusintrospection.c:1421:77:  [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.
                                        G_MARKUP_COLLECT_STRING, "access", &access,
data/glib2.0-2.66.3/gio/gdbusintrospection.c:1425:19:  [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 (strcmp (access, "read") == 0)
data/glib2.0-2.66.3/gio/gdbusintrospection.c:1427:24:  [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.
      else if (strcmp (access, "write") == 0)
data/glib2.0-2.66.3/gio/gdbusintrospection.c:1429:24:  [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.
      else if (strcmp (access, "readwrite") == 0)
data/glib2.0-2.66.3/gio/gdbusintrospection.c:1437:24:  [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.
                       access);
data/glib2.0-2.66.3/gio/gdbusprivate.c:2185: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 (shared_data, value);
data/glib2.0-2.66.3/gio/gdbusprivate.c:2377:4:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
	  wcscpy (exe_path, gio_path);
data/glib2.0-2.66.3/gio/gdbusprivate.c:2392:8:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
	      wcscat (args, exe_path);
data/glib2.0-2.66.3/gio/gdbusprivate.c:2396:8:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
	      wcscat (args, _L_PREFIX (_GDBUS_ARG_WIN32_RUN_SESSION_BUS));
data/glib2.0-2.66.3/gio/gregistrysettingsbackend.c:194: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 (format, va);
data/glib2.0-2.66.3/gio/gtestdbus.c:205:11:  [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. If the scanf format is influenceable by an
  attacker, it's exploitable.
      if (sscanf (command, ADD_PID_FORMAT, &pid) == 1)
data/glib2.0-2.66.3/gio/gtestdbus.c:209:16:  [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. If the scanf format is influenceable by an
  attacker, it's exploitable.
      else if (sscanf (command, REMOVE_PID_FORMAT, &pid) == 1)
data/glib2.0-2.66.3/gio/gunixmounts.c:935:7:  [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 (filename, entry.d_name);
data/glib2.0-2.66.3/gio/gunixmounts.c:961:51:  [4] (shell) system:
  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.
#error No _g_get_unix_mounts() implementation for system
data/glib2.0-2.66.3/gio/gunixmounts.c:1324: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 (prop->mnt_mount, word);
data/glib2.0-2.66.3/gio/gunixmounts.c:1341: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 (prop->mnt_special, value);
data/glib2.0-2.66.3/gio/gunixmounts.c:1343: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 (prop->mnt_fstype, value);
data/glib2.0-2.66.3/gio/gunixmounts.c:1345: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(prop->mnt_options, value);
data/glib2.0-2.66.3/gio/gunixmounts.c:1484:50:  [4] (shell) system:
  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.
#error No g_get_mount_table() implementation for system
data/glib2.0-2.66.3/gio/gunixsocketaddress.c:235:7:  [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 (sock->sun_path, addr->priv->path);
data/glib2.0-2.66.3/gio/gwin32appinfo.c:608:7:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
      wcscat (p, component);
data/glib2.0-2.66.3/gio/gwin32registrykey.c:723:3:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
  wcscat (&result->priv->absolute_path_w[0], key_path);
data/glib2.0-2.66.3/gio/gwin32registrykey.c:725:3:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
  wcscat (&result->priv->absolute_path_w[wcslen (key_path) + 1], subkey);
data/glib2.0-2.66.3/gio/tests/desktop-app-info.c:335:10:  [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.
  while (access (want_this, F_OK) != 0)
data/glib2.0-2.66.3/gio/tests/desktop-app-info.c:342:21:  [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.
  g_assert_cmpuint (access (but_not_this, F_OK), !=, 0);
data/glib2.0-2.66.3/gio/tests/desktop-app-info.c:343:21:  [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.
  g_assert_cmpuint (access (or_this, F_OK), !=, 0);
data/glib2.0-2.66.3/gio/tests/gtlsconsoleinteraction.c:48:1:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
getpass (const gchar *prompt)
data/glib2.0-2.66.3/gio/tests/gtlsconsoleinteraction.c:84:11:  [4] (misc) getpass:
  This function is obsolete and not portable. It was in SUSv2 but removed by
  POSIX.2. What it does exactly varies considerably between systems,
  particularly in where its prompt is displayed and where it gets its data
  (e.g., /dev/tty, stdin, stderr, etc.). In addition, some implementations
  overflow buffers. (CWE-676, CWE-120, CWE-20). Make the specific calls to do
  exactly what you want. If you continue to use it, or write your own, be
  sure to zero the password as soon as possible to avoid leaving the
  cleartext password visible in the process' address space.
  value = getpass (prompt);
data/glib2.0-2.66.3/gio/win32/gwinhttpfile.c:395:4:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
	  wcscpy (tmp, winhttp_file->url.lpszUrlPath);
data/glib2.0-2.66.3/gio/win32/gwinhttpfile.c:400:4:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
	  wcscpy (tmp, winhttp_file->url.lpszUrlPath);
data/glib2.0-2.66.3/gio/win32/gwinhttpfile.c:403:7:  [4] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
      wcscat (tmp, wnew_path);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:145: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 (file_name, directory); strcat (file_name, "/mime.cache");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:165: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 (file_name, directory); strcat (file_name, "/globs2");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:175:7:  [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 (file_name, directory); strcat (file_name, "/globs");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:188: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 (file_name, directory); strcat (file_name, "/magic");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:200: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 (file_name, directory); strcat (file_name, "/aliases");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:205: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 (file_name, directory); strcat (file_name, "/subclasses");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:210: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 (file_name, directory); strcat (file_name, "/icons");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:215: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 (file_name, directory); strcat (file_name, "/generic-icons");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:257:7:  [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 (mime_subdir, xdg_data_home);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:267:7:  [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 (guessed_xdg_home, home);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:412: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 (file_name, directory); strcat (file_name, "/mime.cache");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:427: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 (file_name, directory); strcat (file_name, "/globs");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:438: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 (file_name, directory); strcat (file_name, "/magic");
data/glib2.0-2.66.3/glib/deprecated/gcompletion.c:490:39:  [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.
      g_list_foreach (result, (GFunc) printf, NULL);
data/glib2.0-2.66.3/glib/dirent/dirent.c:112:3:  [4] (buffer) _tcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
  _tcscpy (nd->dd_name, szFullPath);
data/glib2.0-2.66.3/glib/dirent/dirent.c:119:7:  [4] (buffer) _tcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
      _tcscat (nd->dd_name, SLASH);
data/glib2.0-2.66.3/glib/dirent/dirent.c:123:3:  [4] (buffer) _tcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120).
  _tcscat (nd->dd_name, SUFFIX);
data/glib2.0-2.66.3/glib/dirent/dirent.c:214:7:  [4] (buffer) _tcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
      _tcscpy (dirp->dd_dir.d_name, dirp->dd_dta.name);
data/glib2.0-2.66.3/glib/gbacktrace.c:337:7:  [4] (shell) execvp:
  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.
      execvp (args[0], (char **) args);      /* exec gdb */
data/glib2.0-2.66.3/glib/gdir.c:248:7:  [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 (dir->utf8_buf, utf8_name);
data/glib2.0-2.66.3/glib/gfileutils.c:446:39:  [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 ((test & G_FILE_TEST_EXISTS) && (access (filename, F_OK) == 0))
data/glib2.0-2.66.3/glib/gfileutils.c:449:46:  [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 ((test & G_FILE_TEST_IS_EXECUTABLE) && (access (filename, X_OK) == 0))
data/glib2.0-2.66.3/glib/gfileutils.c:2680:11:  [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 (base, file_name);
data/glib2.0-2.66.3/glib/ggettext.c:233:11:  [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 (tmp, msgctxtid);
data/glib2.0-2.66.3/glib/giowin32.c:215:67:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
#define BIT(n) checked_bits |= FD_##n; if (mask & FD_##n) bufp += sprintf (bufp, "%s" #n, (bufp>buf ? "|" : ""))
data/glib2.0-2.66.3/glib/giowin32.c:246:76:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
#define BIT(n) checked_bits |= G_IO_##n; if (condition & G_IO_##n) bufp += sprintf (bufp, "%s" #n, (bufp>buf ? "|" : ""))
data/glib2.0-2.66.3/glib/gkeyfile.c:4473:15:  [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 (q, escaped_character);
data/glib2.0-2.66.3/glib/gkeyfile.c:4486:15:  [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 (q, escaped_character);
data/glib2.0-2.66.3/glib/gkeyfile.c:4497:11:  [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 (q, escaped_character);
data/glib2.0-2.66.3/glib/gkeyfile.c:4502:11:  [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 (q, escaped_character);
data/glib2.0-2.66.3/glib/gkeyfile.c:4507:11:  [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 (q, escaped_character);
data/glib2.0-2.66.3/glib/gkeyfile.c:4515:8:  [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 (q, escaped_character);
data/glib2.0-2.66.3/glib/glib-mirroring-tab/gen-mirroring-tab.c:47:3:  [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 (stderr, appname ": %s\n", msg);
data/glib2.0-2.66.3/glib/glib-mirroring-tab/gen-mirroring-tab.c:57:3:  [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 (stderr, appname ": ");
data/glib2.0-2.66.3/glib/glib-mirroring-tab/gen-mirroring-tab.c:58:3:  [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 (stderr, fmt, p);
data/glib2.0-2.66.3/glib/glib-mirroring-tab/gen-mirroring-tab.c:71:3:  [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 (stderr, appname ": ");
data/glib2.0-2.66.3/glib/glib-mirroring-tab/gen-mirroring-tab.c:72:3:  [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 (stderr, fmt, l, p, q);
data/glib2.0-2.66.3/glib/gmarkup.c:718:23:  [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 (to, buf);
data/glib2.0-2.66.3/glib/gmessages.c:1172: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 (level_prefix, log_level_to_color (log_level, use_color));
data/glib2.0-2.66.3/glib/gmessages.c:1209: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 (level_prefix, color_reset (use_color));
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:173:20:  [4] (buffer) swprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#  define SNPRINTF swprintf
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:191:21:  [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/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:193:11:  [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.
#   undef snprintf
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:196:21:  [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/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:201:20:  [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/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:203: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.
#  undef snprintf
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:207:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#undef sprintf
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:4271:39:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                      sprintf ((char *) p, decimal_format, exponent);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:4279:39:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                      sprintf (expbuf, decimal_format, exponent);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:4464:47:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                              sprintf ((char *) p, decimal_format, exponent);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:4472:47:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                                              sprintf (expbuf, decimal_format, exponent);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:5003:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, arg);                    \
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:5006:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, prefixes[0], arg);       \
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:5009:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
                        count = sprintf (tmp, buf, prefixes[0], prefixes[1],\
data/glib2.0-2.66.3/glib/goption.c:1803:15:  [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 (*n->ptr + 1, n->value);
data/glib2.0-2.66.3/glib/gprintfint.h:30:22:  [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 _g_printf    printf
data/glib2.0-2.66.3/glib/gprintfint.h:31:22:  [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.
#define _g_fprintf   fprintf
data/glib2.0-2.66.3/glib/gprintfint.h:32:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define _g_sprintf   sprintf
data/glib2.0-2.66.3/glib/gprintfint.h:33:22:  [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 _g_snprintf  snprintf
data/glib2.0-2.66.3/glib/gprintfint.h:35:22:  [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.
#define _g_vprintf   vprintf
data/glib2.0-2.66.3/glib/gprintfint.h:36:22:  [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.
#define _g_vfprintf  vfprintf
data/glib2.0-2.66.3/glib/gprintfint.h:37:22:  [4] (buffer) vsprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
#define _g_vsprintf  vsprintf
data/glib2.0-2.66.3/glib/gprintfint.h:38:22:  [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 _g_vsnprintf vsnprintf
data/glib2.0-2.66.3/glib/gspawn.c:2267:5:  [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.
    execv (argv_buffer[0], argv_buffer);
data/glib2.0-2.66.3/glib/gspawn.c:2309:9:  [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.
        execv (file, argv);
data/glib2.0-2.66.3/glib/gspawn.c:2363:13:  [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.
            execv (startp, argv);
data/glib2.0-2.66.3/glib/gstdio.c:51:43:  [4] (shell) system:
  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.
#error Please port this to your operating system
data/glib2.0-2.66.3/glib/gstdio.c:959:10:  [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.
  return access (filename, mode);
data/glib2.0-2.66.3/glib/gtestutils.c:2923: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 (__glib_assert_msg, s);
data/glib2.0-2.66.3/glib/gtimezone.c:1415: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 ((*rules)[0].std_name, rule->std_name);
data/glib2.0-2.66.3/glib/gtimezone.c:1416: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 ((*rules)[0].dlt_name, rule->dlt_name);
data/glib2.0-2.66.3/glib/gtimezone.c:1557:15:  [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 ((*rules)[i].std_name, tzr.std_name);
data/glib2.0-2.66.3/glib/gtimezone.c:1558:15:  [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 ((*rules)[i].dlt_name, tzr.dlt_name);
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:193:8:  [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 (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1);
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:194:8:  [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 (res_ptr + res_size - (l2 + 1), buf2);
data/glib2.0-2.66.3/glib/pcre/pcre_internal.h:98:20:  [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 DPRINTF(p) printf p
data/glib2.0-2.66.3/glib/tests/markup-escape.c:101:5:  [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 (expected, outbuf);
data/glib2.0-2.66.3/glib/win_iconv.c:2050: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(tocode, p);
data/glib2.0-2.66.3/gobject/gobject-query.c:158:5:  [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 (indent_inc, O_SPACE);
data/glib2.0-2.66.3/gobject/gobject-query.c:205:7:  [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 (indent_inc, O_SPACE);
data/glib2.0-2.66.3/gobject/gtype.c:1202:4:  [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 (p, value_table->collect_format);
data/glib2.0-2.66.3/gobject/gtype.c:1209:2:  [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  (p, value_table->lcopy_format);
data/glib2.0-2.66.3/tests/child-test.c:167:3:  [4] (shell) system:
  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.
  system ("ipconfig /all");
data/glib2.0-2.66.3/tests/child-test.c:169:3:  [4] (shell) system:
  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.
  system ("true");
data/glib2.0-2.66.3/tests/gio-test.c:337:4:  [4] (shell) system:
  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.
	  system (cmdline);
data/glib2.0-2.66.3/tests/type-test.c:112:3:  [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. If the scanf format is influenceable by an
  attacker, it's exploitable.
  sscanf (string, FORMAT, &gi16t2, &gi32t2, &gu16t2, &gu32t2);
data/glib2.0-2.66.3/tests/type-test.c:126:11:  [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 sscanf sscanf_s
data/glib2.0-2.66.3/tests/type-test.c:130:3:  [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. If the scanf format is influenceable by an
  attacker, it's exploitable.
  sscanf (string, SCAN_FORMAT64, &gi64t2, &gu64t2);
data/glib2.0-2.66.3/tests/type-test.c:142:11:  [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 sscanf sscanf_s
data/glib2.0-2.66.3/tests/type-test.c:146:3:  [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. If the scanf format is influenceable by an
  attacker, it's exploitable.
  sscanf (string, SCAN_FORMATSIZE, &gsst2, &gst2);
data/glib2.0-2.66.3/tests/unicode-encoding.c:19:3:  [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 (stderr, format, va);
data/glib2.0-2.66.3/tests/unicode-encoding.c:32:3:  [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 (stderr, format, va);
data/glib2.0-2.66.3/gio/gdbusauthmechanismsha1.c:226:9:  [3] (random) g_random_int_range:
  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.
  ret = g_random_int_range (0, 60);
data/glib2.0-2.66.3/gio/gdbusauthmechanismsha1.c:256:35:  [3] (random) g_random_int_range:
  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.
    g_string_append_c (challenge, g_random_int_range (0, 256));
data/glib2.0-2.66.3/gio/gdbusauthmechanismsha1.c:281:32:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
      path = g_build_filename (g_get_home_dir (),
data/glib2.0-2.66.3/gio/gdbusserver.c:670:9:  [3] (random) g_random_int_range:
  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.
  ret = g_random_int_range (0, 60);
data/glib2.0-2.66.3/gio/gdbusserver.c:904:28:  [3] (random) g_random_int_range:
  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.
        server->nonce[n] = g_random_int_range (0, 256);
data/glib2.0-2.66.3/gio/gdbusutils.c:301:8:  [3] (random) g_random_int:
  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.
  r1 = g_random_int ();
data/glib2.0-2.66.3/gio/gdbusutils.c:302:8:  [3] (random) g_random_int:
  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.
  r2 = g_random_int ();
data/glib2.0-2.66.3/gio/gdbusutils.c:303:8:  [3] (random) g_random_int:
  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.
  r3 = g_random_int ();
data/glib2.0-2.66.3/gio/glocalfile.c:1837:15:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
      g_stat (g_get_home_dir (), &home_stat);
data/glib2.0-2.66.3/gio/glocalfile.c:1974:13:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
  homedir = g_get_home_dir ();
data/glib2.0-2.66.3/gio/glocalfile.c:2548:10:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
  home = g_get_home_dir ();
data/glib2.0-2.66.3/gio/glocalfileinfo.c:1743:24:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
  if (g_strcmp0 (path, g_get_home_dir ()) == 0)
data/glib2.0-2.66.3/gio/glocalvfs.c:158:30:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
	    user_prefix = g_strdup (g_get_home_dir ());
data/glib2.0-2.66.3/gio/glocalvfs.c:172:41:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
                user_prefix = g_strdup (g_get_home_dir ());
data/glib2.0-2.66.3/gio/glocalvfs.c:177:28:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
	  user_prefix = g_strdup (g_get_home_dir ());
data/glib2.0-2.66.3/gio/gopenuriportal.c:276:41:  [3] (random) g_random_int_range:
  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.
      token = g_strdup_printf ("gio%d", g_random_int_range (0, G_MAXINT));
data/glib2.0-2.66.3/gio/gregistrysettingsbackend.c:858:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (self->cache_lock);
data/glib2.0-2.66.3/gio/gregistrysettingsbackend.c:1006:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (self->cache_lock);
data/glib2.0-2.66.3/gio/gregistrysettingsbackend.c:1158:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (self->cache_lock);
data/glib2.0-2.66.3/gio/gregistrysettingsbackend.c:1807:11:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
          EnterCriticalSection (G_REGISTRY_BACKEND (self->owner)->cache_lock);
data/glib2.0-2.66.3/gio/gregistrysettingsbackend.c:1845:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (watch->message_lock);
data/glib2.0-2.66.3/gio/gregistrysettingsbackend.c:1933:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (self->cache_lock);
data/glib2.0-2.66.3/gio/gregistrysettingsbackend.c:1959:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (watch->message_lock);
data/glib2.0-2.66.3/gio/gregistrysettingsbackend.c:2000:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (watch->message_lock);
data/glib2.0-2.66.3/gio/gregistrysettingsbackend.c:2119:7:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
      EnterCriticalSection (self->watch->message_lock);
data/glib2.0-2.66.3/gio/gregistrysettingsbackend.c:2163:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (self->cache_lock);
data/glib2.0-2.66.3/gio/gsrvtarget.c:289:17:  [3] (random) g_random_int_range:
  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.
          val = g_random_int_range (0, sum + 1);
data/glib2.0-2.66.3/gio/gunixmounts.c:2945:41:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
      if (g_str_has_prefix (mount_path, g_get_home_dir ()) && 
data/glib2.0-2.66.3/gio/gunixmounts.c:2946:30:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
          mount_path[strlen (g_get_home_dir())] == G_DIR_SEPARATOR)
data/glib2.0-2.66.3/gio/tests/cancellable.c:192:41:  [3] (random) g_random_boolean:
  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.
      mock_operation_async (iterations, g_random_boolean (), cancellable,
data/glib2.0-2.66.3/gio/tests/converter-stream.c:755:16:  [3] (random) g_random_int:
  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.
    data0[i] = g_random_int ();
data/glib2.0-2.66.3/gio/tests/converter-stream.c:1122:16:  [3] (random) g_random_int:
  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.
    data0[i] = g_random_int ();
data/glib2.0-2.66.3/gio/tests/data-input-stream.c:464:14:  [3] (random) g_rand_int:
  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.
	x = (guchar)g_rand_int (randomizer);
data/glib2.0-2.66.3/gio/tests/data-output-stream.c:288:32:  [3] (random) g_rand_int:
  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.
      while (! x)  x = (guchar)g_rand_int (randomizer);
data/glib2.0-2.66.3/gio/tests/gdbus-server-auth.c:419:25:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
      g_setenv ("HOME", g_get_home_dir (), TRUE);
data/glib2.0-2.66.3/gio/tests/gdbus-threading.c:601:21:  [3] (random) g_random_int_range:
  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.
      unref_delay = g_random_int_range (SLEEP_MIN_USEC, SLEEP_MAX_USEC);
data/glib2.0-2.66.3/gio/tests/gdbus-threading.c:602:19:  [3] (random) g_random_int_range:
  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.
      get_delay = g_random_int_range (SLEEP_MIN_USEC / 2, SLEEP_MAX_USEC / 2);
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:287:18:  [3] (random) g_rand_int_range:
  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.
      position = g_rand_int_range (rand, 0, n_items + 1);
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:288:17:  [3] (random) g_rand_int_range:
  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.
      removes = g_rand_int_range (rand, 0, n_items - position + 1);
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:289:14:  [3] (random) g_rand_int_range:
  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.
      adds = g_rand_int_range (rand, 0, MAX_ITEMS - (n_items - removes) + 1);
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:312:30:  [3] (random) g_rand_boolean:
  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.
      if (menu->order > 0 && g_rand_boolean (rand))
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:319:15:  [3] (random) g_rand_boolean:
  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.
          if (g_rand_boolean (rand))
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:323:19:  [3] (random) g_rand_boolean:
  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.
              if (g_rand_boolean (rand))
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:686:3:  [3] (random) g_rand_int:
  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.
  g_rand_int (randa);
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:710:41:  [3] (random) g_rand_int:
  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.
          randb = g_rand_new_with_seed (g_rand_int (randa));
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:727:15:  [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.
  RandomMenu *random;
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:734:43:  [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.
  mirror = mirror_menu_new (G_MENU_MODEL (random));
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:738:41:  [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.
      assert_menus_equal (G_MENU_MODEL (random), G_MENU_MODEL (mirror));
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:739:27:  [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_menu_change (random, rand);
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:743:19:  [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.
  g_object_unref (random);
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:930:15:  [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.
  RandomMenu *random;
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:944: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.
  if (check_menus_equal (G_MENU_MODEL (state->random), G_MENU_MODEL (state->proxy)) &&
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:945: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.
      check_menus_equal (G_MENU_MODEL (state->random), G_MENU_MODEL (state->proxy_mirror)))
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:951:36:  [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_menu_change (state->random, state->rand);
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:957:48:  [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.
      assert_menus_equal (G_MENU_MODEL (state->random), G_MENU_MODEL (state->proxy));
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:979:72:  [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.
                                                   G_MENU_MODEL (state.random),
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:997:25:  [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.
  g_object_unref (state.random);
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1464:44:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
  g_subprocess_launcher_set_cwd (launcher, g_get_tmp_dir ());
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1465:42:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
  tmp_lineend = g_strdup_printf ("%s%s", g_get_tmp_dir (), LINEEND);
data/glib2.0-2.66.3/gio/tests/readwrite.c:158:28:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
  path = g_build_filename (g_get_tmp_dir (), "g-a-nonexisting-file", NULL);
data/glib2.0-2.66.3/gio/tests/trash.c:51:28:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
  g_assert_cmpint (g_stat (g_get_home_dir (), &home_stat), ==, 0);
data/glib2.0-2.66.3/gio/tests/trash.c:53:19:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
                  g_get_home_dir (), (guint64) home_stat.st_dev);
data/glib2.0-2.66.3/gio/tests/trash.c:110:30:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
  target = g_build_filename (g_get_home_dir (), ".local", NULL);
data/glib2.0-2.66.3/gio/tests/trash.c:174:39:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
  g_file_make_symbolic_link (symlink, g_get_home_dir (), NULL, &error);
data/glib2.0-2.66.3/gio/win32/gwinhttpvfs.c:55:19:  [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.
        winhttp = LoadLibrary (winhttp_dll);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:233:19:  [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.
  xdg_data_home = getenv ("XDG_DATA_HOME");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:234: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.
  home = getenv ("HOME");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:235:19:  [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.
  xdg_data_dirs = getenv ("XDG_DATA_DIRS");
data/glib2.0-2.66.3/glib/genviron.c:255: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 (variable);
data/glib2.0-2.66.3/glib/genviron.c:313:21:  [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.
  if (!overwrite && getenv (variable) != NULL)
data/glib2.0-2.66.3/glib/gfileutils.c:1754:12:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
  tmpdir = g_get_tmp_dir ();
data/glib2.0-2.66.3/glib/giowin32.c:274:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&channel->mutex);
data/glib2.0-2.66.3/glib/giowin32.c:335:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&channel->mutex);
data/glib2.0-2.66.3/glib/giowin32.c:353:4:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
	  EnterCriticalSection (&channel->mutex);
data/glib2.0-2.66.3/glib/giowin32.c:375:7:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
      EnterCriticalSection (&channel->mutex);
data/glib2.0-2.66.3/glib/giowin32.c:452:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&channel->mutex);
data/glib2.0-2.66.3/glib/giowin32.c:473:4:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
	  EnterCriticalSection (&channel->mutex);
data/glib2.0-2.66.3/glib/giowin32.c:494:7:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
      EnterCriticalSection (&channel->mutex);
data/glib2.0-2.66.3/glib/giowin32.c:569:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&channel->mutex);
data/glib2.0-2.66.3/glib/giowin32.c:582:7:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
      EnterCriticalSection (&channel->mutex);
data/glib2.0-2.66.3/glib/giowin32.c:605:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&channel->mutex);
data/glib2.0-2.66.3/glib/giowin32.c:640:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&channel->mutex);
data/glib2.0-2.66.3/glib/giowin32.c:657:7:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
      EnterCriticalSection (&channel->mutex);
data/glib2.0-2.66.3/glib/giowin32.c:674:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&channel->mutex);
data/glib2.0-2.66.3/glib/giowin32.c:736:7:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
      EnterCriticalSection (&channel->mutex);
data/glib2.0-2.66.3/glib/giowin32.c:1345:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&win32_channel->mutex);
data/glib2.0-2.66.3/glib/giowin32.c:1399:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&win32_channel->mutex);
data/glib2.0-2.66.3/glib/glib-init.c:216:11:  [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.
  value = getenv (envvar);
data/glib2.0-2.66.3/glib/grand.c:274: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.
#warning Using insecure seed for random number generation because of missing rand_s() in Windows XP
data/glib2.0-2.66.3/glib/grand.c:451:1:  [3] (random) g_rand_int:
  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.
g_rand_int (GRand *rand)
data/glib2.0-2.66.3/glib/grand.c:500:1:  [3] (random) g_rand_int_range:
  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.
g_rand_int_range (GRand  *rand,
data/glib2.0-2.66.3/glib/grand.c:524:26:  [3] (random) g_rand_int:
  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.
	  gdouble double_rand = g_rand_int (rand) * 
data/glib2.0-2.66.3/glib/grand.c:536:22:  [3] (random) g_rand_double_range:
  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 = (gint32) g_rand_double_range (rand, 0, dist);
data/glib2.0-2.66.3/glib/grand.c:559:15:  [3] (random) g_rand_int:
  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 = g_rand_int (rand);
data/glib2.0-2.66.3/glib/grand.c:560: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.
	  while (random > maxvalue);
data/glib2.0-2.66.3/glib/grand.c:562:4:  [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 %= dist;
data/glib2.0-2.66.3/glib/grand.c:569:18:  [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.
  return begin + random;
data/glib2.0-2.66.3/glib/grand.c:582:1:  [3] (random) g_rand_double:
  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.
g_rand_double (GRand *rand)
data/glib2.0-2.66.3/glib/grand.c:586:20:  [3] (random) g_rand_int:
  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.
  gdouble retval = g_rand_int (rand) * G_RAND_DOUBLE_TRANSFORM;
data/glib2.0-2.66.3/glib/grand.c:587:22:  [3] (random) g_rand_int:
  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.
  retval = (retval + g_rand_int (rand)) * G_RAND_DOUBLE_TRANSFORM;
data/glib2.0-2.66.3/glib/grand.c:592:12:  [3] (random) g_rand_double:
  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.
    return g_rand_double (rand);
data/glib2.0-2.66.3/glib/grand.c:609:1:  [3] (random) g_rand_double_range:
  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.
g_rand_double_range (GRand   *rand,
data/glib2.0-2.66.3/glib/grand.c:615:7:  [3] (random) g_rand_double:
  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.
  r = g_rand_double (rand);
data/glib2.0-2.66.3/glib/grand.c:649:1:  [3] (random) g_random_int:
  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.
g_random_int (void)
data/glib2.0-2.66.3/glib/grand.c:653:12:  [3] (random) g_rand_int:
  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.
  result = g_rand_int (get_global_random ());
data/glib2.0-2.66.3/glib/grand.c:669:1:  [3] (random) g_random_int_range:
  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.
g_random_int_range (gint32 begin,
data/glib2.0-2.66.3/glib/grand.c:674:12:  [3] (random) g_rand_int_range:
  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.
  result = g_rand_int_range (get_global_random (), begin, end);
data/glib2.0-2.66.3/glib/grand.c:687:1:  [3] (random) g_random_double:
  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.
g_random_double (void)
data/glib2.0-2.66.3/glib/grand.c:691:12:  [3] (random) g_rand_double:
  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.
  result = g_rand_double (get_global_random ());
data/glib2.0-2.66.3/glib/grand.c:707:1:  [3] (random) g_random_double_range:
  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.
g_random_double_range (gdouble begin,
data/glib2.0-2.66.3/glib/grand.c:712:12:  [3] (random) g_rand_double_range:
  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.
  result = g_rand_double_range (get_global_random (), begin, end);
data/glib2.0-2.66.3/glib/grand.h:66:9:  [3] (random) g_rand_boolean:
  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.
#define g_rand_boolean(rand_) ((g_rand_int (rand_) & (1 << 15)) != 0)
data/glib2.0-2.66.3/glib/grand.h:66:33:  [3] (random) g_rand_int:
  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.
#define g_rand_boolean(rand_) ((g_rand_int (rand_) & (1 << 15)) != 0)
data/glib2.0-2.66.3/glib/grand.h:69:9:  [3] (random) g_rand_int:
  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.
guint32 g_rand_int            (GRand   *rand_);
data/glib2.0-2.66.3/glib/grand.h:71:9:  [3] (random) g_rand_int_range:
  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.
gint32  g_rand_int_range      (GRand   *rand_,
data/glib2.0-2.66.3/glib/grand.h:75:9:  [3] (random) g_rand_double:
  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.
gdouble g_rand_double         (GRand   *rand_);
data/glib2.0-2.66.3/glib/grand.h:77:9:  [3] (random) g_rand_double_range:
  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.
gdouble g_rand_double_range   (GRand   *rand_,
data/glib2.0-2.66.3/glib/grand.h:83:9:  [3] (random) g_random_boolean:
  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.
#define g_random_boolean() ((g_random_int () & (1 << 15)) != 0)
data/glib2.0-2.66.3/glib/grand.h:83:30:  [3] (random) g_random_int:
  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.
#define g_random_boolean() ((g_random_int () & (1 << 15)) != 0)
data/glib2.0-2.66.3/glib/grand.h:86:9:  [3] (random) g_random_int:
  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.
guint32 g_random_int          (void);
data/glib2.0-2.66.3/glib/grand.h:88:9:  [3] (random) g_random_int_range:
  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.
gint32  g_random_int_range    (gint32   begin,
data/glib2.0-2.66.3/glib/grand.h:91:9:  [3] (random) g_random_double:
  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.
gdouble g_random_double       (void);
data/glib2.0-2.66.3/glib/grand.h:93:9:  [3] (random) g_random_double_range:
  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.
gdouble g_random_double_range (gdouble  begin,
data/glib2.0-2.66.3/glib/gtestutils.c:1502:66:  [3] (random) g_random_int:
  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.
  g_snprintf (seedstr, sizeof (seedstr), "R02S%08x%08x%08x%08x", g_random_int(), g_random_int(), g_random_int(), g_random_int());
data/glib2.0-2.66.3/glib/gtestutils.c:1502:82:  [3] (random) g_random_int:
  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.
  g_snprintf (seedstr, sizeof (seedstr), "R02S%08x%08x%08x%08x", g_random_int(), g_random_int(), g_random_int(), g_random_int());
data/glib2.0-2.66.3/glib/gtestutils.c:1502:98:  [3] (random) g_random_int:
  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.
  g_snprintf (seedstr, sizeof (seedstr), "R02S%08x%08x%08x%08x", g_random_int(), g_random_int(), g_random_int(), g_random_int());
data/glib2.0-2.66.3/glib/gtestutils.c:1502:114:  [3] (random) g_random_int:
  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.
  g_snprintf (seedstr, sizeof (seedstr), "R02S%08x%08x%08x%08x", g_random_int(), g_random_int(), g_random_int(), g_random_int());
data/glib2.0-2.66.3/glib/gtestutils.c:1589:20:  [3] (random) g_rand_int:
  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.
      guint32 t1 = g_rand_int (rg), t2 = g_rand_int (rg), t3 = g_rand_int (rg), t4 = g_rand_int (rg);
data/glib2.0-2.66.3/glib/gtestutils.c:1589:42:  [3] (random) g_rand_int:
  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.
      guint32 t1 = g_rand_int (rg), t2 = g_rand_int (rg), t3 = g_rand_int (rg), t4 = g_rand_int (rg);
data/glib2.0-2.66.3/glib/gtestutils.c:1589:64:  [3] (random) g_rand_int:
  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.
      guint32 t1 = g_rand_int (rg), t2 = g_rand_int (rg), t3 = g_rand_int (rg), t4 = g_rand_int (rg);
data/glib2.0-2.66.3/glib/gtestutils.c:1589:86:  [3] (random) g_rand_int:
  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.
      guint32 t1 = g_rand_int (rg), t2 = g_rand_int (rg), t3 = g_rand_int (rg), t4 = g_rand_int (rg);
data/glib2.0-2.66.3/glib/gtestutils.c:1684:7:  [3] (random) g_rand_int:
  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.
  r = g_rand_int (test_run_rand);
data/glib2.0-2.66.3/glib/gtestutils.c:1709:7:  [3] (random) g_rand_int_range:
  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.
  r = g_rand_int_range (test_run_rand, begin, end);
data/glib2.0-2.66.3/glib/gtestutils.c:1731:7:  [3] (random) g_rand_double:
  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.
  r = g_rand_double (test_run_rand);
data/glib2.0-2.66.3/glib/gtestutils.c:1756:7:  [3] (random) g_rand_double_range:
  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.
  r = g_rand_double_range (test_run_rand, range_start, range_end);
data/glib2.0-2.66.3/glib/gthread-win32.c:116:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (cs);
data/glib2.0-2.66.3/glib/gthread-win32.c:159:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (g_rec_mutex_get_impl (mutex));
data/glib2.0-2.66.3/glib/gthread-win32.c:314:7:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
      EnterCriticalSection (&g_private_lock);
data/glib2.0-2.66.3/glib/gthread-win32.c:609:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&g_private_lock);
data/glib2.0-2.66.3/glib/gutils.c:872:1:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
g_get_home_dir (void)
data/glib2.0-2.66.3/glib/gutils.c:908:1:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
g_get_tmp_dir (void)
data/glib2.0-2.66.3/glib/gutils.c:3023:50:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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 gchar *g_get_home_dir_utf8 (void) { return g_get_home_dir (); }
data/glib2.0-2.66.3/glib/gutils.c:3024:49:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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 gchar *g_get_tmp_dir_utf8 (void) { return g_get_tmp_dir (); }
data/glib2.0-2.66.3/glib/gutils.h:55:23:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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 gchar *         g_get_home_dir         (void);
data/glib2.0-2.66.3/glib/gutils.h:57:23:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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 gchar *         g_get_tmp_dir          (void);
data/glib2.0-2.66.3/glib/guuid.c:188:15:  [3] (random) g_random_int:
  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.
    ints[i] = g_random_int ();
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:301:16:  [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.
      locale = getenv ("LC_ALL");
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:304:13:  [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.
	  locale = getenv ("LC_CTYPE");
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:306: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.
	    locale = getenv ("LANG");
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:352:16:  [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.
      locale = getenv ("LC_ALL");
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:355:13:  [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.
	  locale = getenv ("LC_CTYPE");
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:357: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.
	    locale = getenv ("LANG");
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:385:12:  [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.
  locale = getenv ("LC_ALL");
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:388:16:  [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.
      locale = getenv ("LC_CTYPE");
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:390:11:  [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.
	locale = getenv ("LANG");
data/glib2.0-2.66.3/glib/tests/1bit-mutex.c:114:14:  [3] (random) g_rand_int_range:
  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.
    acquire (g_rand_int_range (rand, 0, LOCKS), use_pointers);
data/glib2.0-2.66.3/glib/tests/1bit-mutex.c:140:15:  [3] (random) g_random_int:
  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.
    bits[i] = g_random_int () % 32;
data/glib2.0-2.66.3/glib/tests/array-test.c:595:13:  [3] (random) g_random_int_range:
  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.
      cur = g_random_int_range (0, 10000);
data/glib2.0-2.66.3/glib/tests/array-test.c:627:13:  [3] (random) g_random_int_range:
  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.
      cur = g_random_int_range (0, 10000);
data/glib2.0-2.66.3/glib/tests/array-test.c:666:13:  [3] (random) g_random_int_range:
  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.
      cur = g_random_int_range (0, 100);
data/glib2.0-2.66.3/glib/tests/array-test.c:920:15:  [3] (random) g_random_int_range:
  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.
      index = g_random_int_range (-1, i + 1);
data/glib2.0-2.66.3/glib/tests/array-test.c:1339:13:  [3] (random) g_random_int_range:
  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.
      val = g_random_int_range (0, 10000);
data/glib2.0-2.66.3/glib/tests/array-test.c:1509:48:  [3] (random) g_random_int_range:
  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.
    g_ptr_array_add (gparray, GINT_TO_POINTER (g_random_int_range (0, 10000)));
data/glib2.0-2.66.3/glib/tests/array-test.c:1869:19:  [3] (random) g_random_int_range:
  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.
      val = 'a' + g_random_int_range (0, 26);
data/glib2.0-2.66.3/glib/tests/array-test.c:1897:19:  [3] (random) g_random_int_range:
  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.
      val = 'a' + g_random_int_range (0, 26);
data/glib2.0-2.66.3/glib/tests/asyncqueue.c:143:19:  [3] (random) g_random_int_range:
  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.
          value = g_random_int_range (1, 100);
data/glib2.0-2.66.3/glib/tests/atomic.c:263:11:  [3] (random) g_random_int_range:
  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.
      d = g_random_int_range (-10, 100);
data/glib2.0-2.66.3/glib/tests/fileutils.c:1078:47:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
                file_name = g_build_filename (g_get_tmp_dir (), "glib-file-set-contents-full-test", NULL);
data/glib2.0-2.66.3/glib/tests/gvariant.c:1211:17:  [3] (random) g_rand_int:
  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.
    buffer[i] = g_rand_int (rand);
data/glib2.0-2.66.3/glib/tests/gvariant.c:1240:21:  [3] (random) g_rand_int:
  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.
      guchar byte = g_rand_int (rand);
data/glib2.0-2.66.3/glib/tests/gvariant.c:1264:31:  [3] (random) g_rand_int:
  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.
    if (buffer[i] != (guchar) g_rand_int (rand))
data/glib2.0-2.66.3/glib/tests/mappedfile.c:90:37:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
  tmp_copy_path = g_build_filename (g_get_tmp_dir (), "glib-test-4096-random-bytes", NULL);
data/glib2.0-2.66.3/glib/tests/mappedfile.c:134:37:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
  tmp_copy_path = g_build_filename (g_get_tmp_dir (), "glib-test-4096-random-bytes", NULL);
data/glib2.0-2.66.3/glib/tests/mutex.c:131:14:  [3] (random) g_rand_int_range:
  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.
    acquire (g_rand_int_range (rand, 0, LOCKS));
data/glib2.0-2.66.3/glib/tests/queue.c:78:10:  [3] (random) g_random_int_range:
  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.
  return g_random_int_range (0, 2);
data/glib2.0-2.66.3/glib/tests/queue.c:155:13:  [3] (random) g_random_int_range:
  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.
    where = g_random_int_range (OFF_QUEUE, LAST);
data/glib2.0-2.66.3/glib/tests/queue.c:157:13:  [3] (random) g_random_int_range:
  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.
    where = g_random_int_range (HEAD, LAST);
data/glib2.0-2.66.3/glib/tests/queue.c:162:11:  [3] (random) g_random_int:
  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.
      n = g_random_int ();
data/glib2.0-2.66.3/glib/tests/queue.c:180:13:  [3] (random) g_random_int_range:
  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.
        n = g_random_int_range (0, queue->length);
data/glib2.0-2.66.3/glib/tests/queue.c:213:33:  [3] (random) g_random_int_range:
  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.
#define RANDOM_QUEUE() &(queues[g_random_int_range(0, N_QUEUES)])
data/glib2.0-2.66.3/glib/tests/queue.c:243:12:  [3] (random) g_random_int_range:
  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.
      op = g_random_int_range (IS_EMPTY, LAST_OP);
data/glib2.0-2.66.3/glib/tests/queue.c:361:21:  [3] (random) g_random_int_range:
  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.
            int x = g_random_int_range (0, 435435);
data/glib2.0-2.66.3/glib/tests/queue.c:372:21:  [3] (random) g_random_int_range:
  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.
            int x = g_random_int_range (0, 236546);
data/glib2.0-2.66.3/glib/tests/queue.c:384:21:  [3] (random) g_random_int_range:
  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.
            int x = g_random_int_range (0, 236546);
data/glib2.0-2.66.3/glib/tests/queue.c:470:21:  [3] (random) g_random_int_range:
  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.
            int x = g_random_int_range (0, 386538);
data/glib2.0-2.66.3/glib/tests/queue.c:527:45:  [3] (random) g_random_int_range:
  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.
              gpointer x = GINT_TO_POINTER (g_random_int_range (0, 386538));
data/glib2.0-2.66.3/glib/tests/queue.c:541:45:  [3] (random) g_random_int_range:
  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.
              gpointer x = GINT_TO_POINTER (g_random_int_range (0, 386538));
data/glib2.0-2.66.3/glib/tests/queue.c:681:24:  [3] (random) g_random_int_range:
  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.
              gint n = g_random_int_range (0, g_queue_get_length (q));
data/glib2.0-2.66.3/glib/tests/queue.c:701:24:  [3] (random) g_random_int_range:
  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.
              gint n = g_random_int_range (0, g_queue_get_length (q));
data/glib2.0-2.66.3/glib/tests/rand.c:90:45:  [3] (random) g_rand_int:
  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.
    g_assert_cmpuint (first_numbers[n], ==, g_rand_int (rand));
data/glib2.0-2.66.3/glib/tests/rand.c:96:45:  [3] (random) g_rand_int:
  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.
    g_assert_cmpuint (array_outputs[n], ==, g_rand_int (rand));
data/glib2.0-2.66.3/glib/tests/rand.c:100:23:  [3] (random) g_rand_int:
  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.
    g_assert_cmpuint (g_rand_int (copy), ==, g_rand_int (rand));
data/glib2.0-2.66.3/glib/tests/rand.c:100:46:  [3] (random) g_rand_int:
  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.
    g_assert_cmpuint (g_rand_int (copy), ==, g_rand_int (rand));
data/glib2.0-2.66.3/glib/tests/rand.c:108:11:  [3] (random) g_rand_int_range:
  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.
      i = g_rand_int_range (rand, 8,16);
data/glib2.0-2.66.3/glib/tests/rand.c:112:11:  [3] (random) g_random_int_range:
  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.
      i = g_random_int_range (8,16);
data/glib2.0-2.66.3/glib/tests/rand.c:116:11:  [3] (random) g_rand_double:
  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.
      d = g_rand_double (rand);
data/glib2.0-2.66.3/glib/tests/rand.c:120:11:  [3] (random) g_random_double:
  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.
      d = g_random_double ();
data/glib2.0-2.66.3/glib/tests/rand.c:124:11:  [3] (random) g_rand_double_range:
  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.
      d = g_rand_double_range (rand, -8, 32);
data/glib2.0-2.66.3/glib/tests/rand.c:128:11:  [3] (random) g_random_double_range:
  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.
      d = g_random_double_range (-8, 32);
data/glib2.0-2.66.3/glib/tests/rand.c:132:11:  [3] (random) g_random_boolean:
  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.
      b = g_random_boolean ();
data/glib2.0-2.66.3/glib/tests/rand.c:135:11:  [3] (random) g_rand_boolean:
  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.
      b = g_rand_boolean (rand);
data/glib2.0-2.66.3/glib/tests/rand.c:146:11:  [3] (random) g_random_int_range:
  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.
      if (g_random_int_range (0, 4) == 1)
data/glib2.0-2.66.3/glib/tests/rand.c:165:7:  [3] (random) g_random_double_range:
  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.
  d = g_random_double_range (-G_MAXDOUBLE, G_MAXDOUBLE);
data/glib2.0-2.66.3/glib/tests/rec-mutex.c:131:14:  [3] (random) g_rand_int_range:
  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.
    acquire (g_rand_int_range (rand, 0, LOCKS));
data/glib2.0-2.66.3/glib/tests/rwlock.c:158:14:  [3] (random) g_rand_int_range:
  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.
    acquire (g_rand_int_range (rand, 0, LOCKS));
data/glib2.0-2.66.3/glib/tests/sequence.c:167:18:  [3] (random) g_random_int:
  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.
  item->number = g_random_int ();
data/glib2.0-2.66.3/glib/tests/sequence.c:198:18:  [3] (random) g_random_int:
  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.
  item->number = g_random_int();
data/glib2.0-2.66.3/glib/tests/sequence.c:341:11:  [3] (random) g_random_int_range:
  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.
  int b = g_random_int_range (0, length + 1);
data/glib2.0-2.66.3/glib/tests/sequence.c:342:11:  [3] (random) g_random_int_range:
  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.
  int e = g_random_int_range (b, length + 1);
data/glib2.0-2.66.3/glib/tests/sequence.c:375:10:  [3] (random) g_random_int_range:
  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.
  return g_random_int_range (-2, length + 5);
data/glib2.0-2.66.3/glib/tests/sequence.c:437:39:  [3] (random) g_random_int_range:
  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.
#define RANDOM_SEQUENCE() &(sequences[g_random_int_range (0, N_SEQUENCES)])
data/glib2.0-2.66.3/glib/tests/sequence.c:443:16:  [3] (random) g_random_int_range:
  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.
      int op = g_random_int_range (0, N_OPS);
data/glib2.0-2.66.3/glib/tests/sequence.c:1279:59:  [3] (random) g_random_int:
  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.
          g_sequence_insert_sorted (seq, GINT_TO_POINTER (g_random_int()),
data/glib2.0-2.66.3/glib/tests/sequence.c:1282:64:  [3] (random) g_random_int:
  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.
          g_sequence_insert_sorted_iter (seq, GINT_TO_POINTER (g_random_int()),
data/glib2.0-2.66.3/glib/tests/slice.c:114:11:  [3] (random) g_random_int_range:
  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.
      b = g_random_int_range (0, 30);
data/glib2.0-2.66.3/glib/tests/slice.c:115:14:  [3] (random) g_random_int_range:
  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.
      size = g_random_int_range (0, 4096);
data/glib2.0-2.66.3/glib/tests/sort.c:38:17:  [3] (random) g_random_int_range:
  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.
      data[i] = g_random_int_range (0, 10000);
data/glib2.0-2.66.3/glib/tests/sort.c:78:21:  [3] (random) g_random_int_range:
  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.
      data[i].val = g_random_int_range (0, 10000);
data/glib2.0-2.66.3/glib/tests/sort.c:102:21:  [3] (random) g_random_int_range:
  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.
      data[i].val = g_random_int_range (0, 10000);
data/glib2.0-2.66.3/glib/tests/testing.c:474:38:  [3] (random) g_random_int:
  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.
  g_warning ("This is a %d warning", g_random_int ());
data/glib2.0-2.66.3/glib/tests/tree.c:439:11:  [3] (random) g_random_int_range:
  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.
      a = g_random_int_range (0, strlen (scrambled));
data/glib2.0-2.66.3/glib/tests/tree.c:440:11:  [3] (random) g_random_int_range:
  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.
      b = g_random_int_range (0, strlen (scrambled));
data/glib2.0-2.66.3/glib/tests/utils.c:165:20:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
  g_assert_cmpstr (g_get_tmp_dir (), !=, "");
data/glib2.0-2.66.3/glib/tests/utils.c:452:29:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
    xdg = g_build_filename (g_get_home_dir (), ".config", NULL);
data/glib2.0-2.66.3/glib/tests/utils.c:461:29:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
    xdg = g_build_filename (g_get_home_dir (), ".local", "share", NULL);
data/glib2.0-2.66.3/glib/tests/utils.c:470:29:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
    xdg = g_build_filename (g_get_home_dir (), ".cache", NULL);
data/glib2.0-2.66.3/glib/win_iconv.c:732:9:  [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.
    h = LoadLibrary(TEXT("mlang.dll"));
data/glib2.0-2.66.3/glib/win_iconv.c:1175:9:  [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.
    p = getenv("WINICONV_LIBICONV_DLL");
data/glib2.0-2.66.3/gobject/tests/closure-refcount.c:172:20:  [3] (random) g_random_int:
  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.
  guint i = 0, n = g_random_int () % 199;
data/glib2.0-2.66.3/gobject/tests/qdata.c:33:11:  [3] (random) g_random_int_range:
  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.
      d = g_random_int_range (-10, 100);
data/glib2.0-2.66.3/gobject/tests/signals.c:1278:17:  [3] (random) g_random_int_range:
  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.
      handler = g_random_int_range (0x01, 0xFF);
data/glib2.0-2.66.3/gobject/tests/threadtests.c:291:26:  [3] (random) g_random_int_range:
  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.
      data.unref_delay = g_random_int_range (SLEEP_MIN_USEC / 2, SLEEP_MAX_USEC / 2);
data/glib2.0-2.66.3/gobject/tests/threadtests.c:292:19:  [3] (random) g_random_int_range:
  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.
      get_delay = g_random_int_range (SLEEP_MIN_USEC, SLEEP_MAX_USEC);
data/glib2.0-2.66.3/tests/asyncqueue-test.c:112:8:  [3] (random) g_random_int_range:
  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.
  ms = g_random_int_range (MIN_TIME * 1000, MAX_TIME * 1000);
data/glib2.0-2.66.3/tests/gio-test.c:387:7:  [3] (random) srand:
  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.
      srand (tv.tv_sec ^ (tv.tv_usec / 1000) ^ readfd ^ (writefd << 4));
data/glib2.0-2.66.3/tests/mainloop-test.c:309:43:  [3] (random) g_random_int_range:
  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.
      other_source = crawler_array->pdata[g_random_int_range (0, crawler_array->len)];
data/glib2.0-2.66.3/tests/mainloop-test.c:337:43:  [3] (random) g_random_int_range:
  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.
  GSource *source = g_timeout_source_new (g_random_int_range (0, CRAWLER_TIMEOUT_RANGE));
data/glib2.0-2.66.3/tests/mainloop-test.c:345:49:  [3] (random) g_random_int_range:
  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.
  g_source_attach (source, context_array->pdata[g_random_int_range (0, context_array->len)]);
data/glib2.0-2.66.3/tests/mainloop-test.c:390:38:  [3] (random) g_random_int_range:
  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.
      context = context_array->pdata[g_random_int_range (0, context_array->len)];
data/glib2.0-2.66.3/tests/qsort-test.c:22:16:  [3] (random) g_random_int:
  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.
    array[i] = g_random_int ();
data/glib2.0-2.66.3/tests/refcount/signals.c:220:17:  [3] (random) g_random_int:
  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->value = g_random_int ();
data/glib2.0-2.66.3/tests/slice-test.c:54:19:  [3] (random) g_random_int:
  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.
      guint32 r = g_random_int() % 8000009;
data/glib2.0-2.66.3/tests/sources.c:39:11:  [3] (random) g_random_int_range:
  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.
      a = g_random_int_range (0, num);
data/glib2.0-2.66.3/tests/sources.c:40:11:  [3] (random) g_random_int_range:
  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.
      b = g_random_int_range (0, num);
data/glib2.0-2.66.3/tests/testglib.c:737:12:  [3] (buffer) g_get_tmp_dir:
  This function is synonymous with 'getenv("TMP")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
  tmpdir = g_get_tmp_dir();
data/glib2.0-2.66.3/tests/testglib.c:739:13:  [3] (buffer) g_get_home_dir:
  This function is synonymous with 'getenv("HOME")';it returns untrustable
  input if the environment can beset by an attacker. It 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.
  homedir = g_get_home_dir ();
data/glib2.0-2.66.3/tests/thread-test.c:233:11:  [3] (random) g_random_double:
  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.
      if (g_random_double() > .2) /* I'm a reader */
data/glib2.0-2.66.3/tests/thread-test.c:236:8:  [3] (random) g_random_double:
  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.
	  if (g_random_double() > .2) /* I'll block */
data/glib2.0-2.66.3/tests/thread-test.c:246:14:  [3] (random) g_random_int_range:
  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.
	  g_usleep (g_random_int_range (20,1000));
data/glib2.0-2.66.3/tests/thread-test.c:257:8:  [3] (random) g_random_double:
  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.
	  if (g_random_double() > .2) /* I'll block */ 
data/glib2.0-2.66.3/tests/thread-test.c:267:14:  [3] (random) g_random_int_range:
  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.
	  g_usleep (g_random_int_range (20,1000));
data/glib2.0-2.66.3/tests/thread-test.c:309:13:  [3] (random) g_random_int_range:
  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.
  g_usleep (g_random_int_range (20,1000));
data/glib2.0-2.66.3/tests/thread-test.c:311:13:  [3] (random) g_random_int_range:
  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.
  g_usleep (g_random_int_range (20,1000));
data/glib2.0-2.66.3/tests/thread-test.c:324:19:  [3] (random) g_random_int_range:
  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.
      guint pos = g_random_int_range (0, G_ONCE_SIZE);
data/glib2.0-2.66.3/tests/threadpool-test.c:149:13:  [3] (random) g_random_int_range:
  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.
  g_usleep (g_random_int_range (0, 4000));
data/glib2.0-2.66.3/tests/threadpool-test.c:286:10:  [3] (random) g_random_int_range:
  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.
    id = g_random_int_range (1, limit) + 1;
data/glib2.0-2.66.3/fuzzing/driver.c:19: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).
  f = fopen (argv[1], "r");
data/glib2.0-2.66.3/gio/gapplication.c:1580:55:  [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).
                  G_STRUCT_OFFSET (GApplicationClass, open),
data/glib2.0-2.66.3/gio/gapplication.h:63:32:  [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).
  void                      (* open)                (GApplication              *application,
data/glib2.0-2.66.3/gio/gbufferedinputstream.c:224:7:  [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->buffer + priv->pos, in_buffer);
data/glib2.0-2.66.3/gio/gbufferedinputstream.c:597: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, stream->priv->buffer + stream->priv->pos + offset, count);
data/glib2.0-2.66.3/gio/gbufferedinputstream.c:780:7:  [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->buffer + priv->pos, count);
data/glib2.0-2.66.3/gio/gbufferedinputstream.c:789: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, priv->buffer + priv->pos, available);
data/glib2.0-2.66.3/gio/gbufferedinputstream.c:832: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 ((char *)buffer + bytes_read, (char *)priv->buffer + priv->pos, count);
data/glib2.0-2.66.3/gio/gbufferedoutputstream.c:214:7:  [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->buffer, priv->pos);
data/glib2.0-2.66.3/gio/gbufferedoutputstream.c:473: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 (priv->buffer + priv->pos, buffer, count);
data/glib2.0-2.66.3/gio/gcontenttype-win32.c:61:11:  [2] (buffer) wchar_t:
  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.
          wchar_t dummy[1];
data/glib2.0-2.66.3/gio/gcontenttype-win32.c:389:3:  [2] (buffer) wchar_t:
  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.
  wchar_t keyname[256];
data/glib2.0-2.66.3/gio/gcontenttype.c:520: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 *icon_names[6];
data/glib2.0-2.66.3/gio/gcontenttype.c:633:7:  [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 (icon_name, type, p - type);
data/glib2.0-2.66.3/gio/gcontenttype.c:634:7:  [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 (icon_name + (p - type), suffix, strlen (suffix));
data/glib2.0-2.66.3/gio/gcontenttype.c:734: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.
  const char *name_mimetypes[10], *sniffed_mimetype;
data/glib2.0-2.66.3/gio/gcontenttype.c:1000:21:  [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).
  match->priority = atoi (line + 1);
data/glib2.0-2.66.3/gio/gcontenttype.c:1024: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).
      *depth = atoi (line);
data/glib2.0-2.66.3/gio/gconverterinputstream.c:266: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 (dest, buffer->data + buffer->start, count);
data/glib2.0-2.66.3/gio/gconverterinputstream.c:299: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 (data,
data/glib2.0-2.66.3/gio/gconverteroutputstream.c:304: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 (data,
data/glib2.0-2.66.3/gio/gconverteroutputstream.c:357: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->data + buffer->end, data, data_size);
data/glib2.0-2.66.3/gio/gcredentials.c:487: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 (credentials->native, native, ucred_size ());
data/glib2.0-2.66.3/gio/gdbus-tool.c:67: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).
      f = fopen ("/tmp/gdbus-completion-debug.txt", "a+");
data/glib2.0-2.66.3/gio/gdbusaddress.c:719:15:  [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).
          f = fopen (nonce_file, "rb");
data/glib2.0-2.66.3/gio/gdbusdaemon.c:271: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).
	  element->arg = atoi (digits);
data/glib2.0-2.66.3/gio/gdbusdaemon.c:276: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).
	  element->arg = atoi (digits);
data/glib2.0-2.66.3/gio/gdbuserror.c:279:27:  [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).
        *out_error_code = atoi (dbus_name + n + sizeof ".Code" - 1);
data/glib2.0-2.66.3/gio/gdbusmessage.c:104: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 (&v, mbuf->data + mbuf->pos, 2);
data/glib2.0-2.66.3/gio/gdbusmessage.c:124: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 (&v, mbuf->data + mbuf->pos, 2);
data/glib2.0-2.66.3/gio/gdbusmessage.c:144: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 (&v, mbuf->data + mbuf->pos, 4);
data/glib2.0-2.66.3/gio/gdbusmessage.c:164: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 (&v, mbuf->data + mbuf->pos, 4);
data/glib2.0-2.66.3/gio/gdbusmessage.c:184: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 (&v, mbuf->data + mbuf->pos, 8);
data/glib2.0-2.66.3/gio/gdbusmessage.c:204: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 (&v, mbuf->data + mbuf->pos, 8);
data/glib2.0-2.66.3/gio/gdbusmessage.c:283: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 (dest, buffer, count);
data/glib2.0-2.66.3/gio/gdbusprivate.c:2244:19:  [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 *console = fopen ("CONOUT$", "w");
data/glib2.0-2.66.3/gio/gdbusprivate.c:2358:7:  [2] (buffer) wchar_t:
  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.
      wchar_t gio_path[MAX_PATH + 2] = { 0 };
data/glib2.0-2.66.3/gio/gdbusprivate.c:2367:4:  [2] (buffer) wchar_t:
  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.
	  wchar_t exe_path[MAX_PATH + 100] = { 0 };
data/glib2.0-2.66.3/gio/gdbusprivate.c:2378:4:  [2] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Risk is low because the source is a constant string.
	  wcscat (exe_path, L"\\gdbus.exe");
data/glib2.0-2.66.3/gio/gdbusprivate.c:2390:8:  [2] (buffer) wchar_t:
  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.
	      wchar_t args[MAX_PATH*2 + 100] = { 0 };
data/glib2.0-2.66.3/gio/gdbusprivate.c:2393:8:  [2] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Risk is low because the source is a constant string.
	      wcscat (args, L"\" ");
data/glib2.0-2.66.3/gio/gdesktopappinfo.c:676: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 (static_total_results + static_total_results_size,
data/glib2.0-2.66.3/gio/gdesktopappinfo.c:2595:21:  [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.
    real_argv[i] = (char *)the_argv[j];
data/glib2.0-2.66.3/gio/gdesktopappinfo.c:3709: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 *argv[3] = {
data/glib2.0-2.66.3/gio/gdummyfile.c:639:20:  [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).
	  decoded->port = atoi(port_start);
data/glib2.0-2.66.3/gio/gemblem.c:343: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).
  origin = atoi (tokens[1]);
data/glib2.0-2.66.3/gio/ghttpproxy.c:151:14:  [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).
  err_code = atoi (ptr);
data/glib2.0-2.66.3/gio/ginetaddress.c:102:7:  [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 (&address->priv->addr, g_value_get_pointer (value),
data/glib2.0-2.66.3/gio/ginetsocketaddress.c:209:7:  [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 (&(sock->sin_addr.s_addr), g_inet_address_to_bytes (addr->priv->address), sizeof (sock->sin_addr));
data/glib2.0-2.66.3/gio/ginetsocketaddress.c:229:7:  [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 (&(sock->sin6_addr.s6_addr), g_inet_address_to_bytes (addr->priv->address), sizeof (sock->sin6_addr));
data/glib2.0-2.66.3/gio/ginputstream.c:409: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[8192];
data/glib2.0-2.66.3/gio/ginputstream.c:1431: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[8192];
data/glib2.0-2.66.3/gio/gio-tool-copy.c:190:15:  [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 line[16];
data/glib2.0-2.66.3/gio/gio-tool-mount.c:89: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 data[256];
data/glib2.0-2.66.3/gio/gio-tool-mount.c:236: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).
  choice = atoi (s);
data/glib2.0-2.66.3/gio/gio-tool-move.c:180:15:  [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 line[16];
data/glib2.0-2.66.3/gio/gio-tool-set.c:157:16:  [2] (integer) atol:
  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).
      uint32 = atol (argv[3]);
data/glib2.0-2.66.3/gio/gio-tool-set.c:161:15:  [2] (integer) atol:
  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).
      int32 = atol (argv[3]);
data/glib2.0-2.66.3/gio/gkeyfilesettingsbackend.c:531:7:  [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 (kfsb->digest, digest, sizeof digest);
data/glib2.0-2.66.3/gio/glib-compile-resources.c:1027:14:  [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 = fopen (target, "w");
data/glib2.0-2.66.3/gio/glib-compile-resources.c:1076:14:  [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 = fopen (target, "w");
data/glib2.0-2.66.3/gio/glocalfile.c:1519: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 symlink_value[4096];
data/glib2.0-2.66.3/gio/glocalfile.c:1829: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 uid_str[32];
data/glib2.0-2.66.3/gio/glocalfile.c:2021:7:  [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 uid_str[32];
data/glib2.0-2.66.3/gio/glocalfileinfo.c:103: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 in[64];
data/glib2.0-2.66.3/gio/glocalfileinfo.c:431: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 value[64];
data/glib2.0-2.66.3/gio/glocalfileinfo.c:596: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 value[64];
data/glib2.0-2.66.3/gio/glocalfileinfo.c:1170: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/glib2.0-2.66.3/gio/glocalfileinfo.c:1262: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/glib2.0-2.66.3/gio/glocalfilemonitor.c:553: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 (&event_queue, &fms->event_queue, sizeof event_queue);
data/glib2.0-2.66.3/gio/gmemoryinputstream.c:331:7:  [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 ((guint8 *)buffer + (count - rest), chunk_data + start, size);
data/glib2.0-2.66.3/gio/gmemoryoutputstream.c:660: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 (dest, buffer, count);
data/glib2.0-2.66.3/gio/gnativesocketaddress.c:113: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 (dest, addr->priv->sockaddr, addr->priv->sockaddr_len);
data/glib2.0-2.66.3/gio/gnativesocketaddress.c:160: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 (addr->priv->sockaddr, native, len);
data/glib2.0-2.66.3/gio/goutputstream.c:768: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[8192], *p;
data/glib2.0-2.66.3/gio/gproxyresolverportal.c:88:14:  [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 const char *no_proxy[2] = { "direct://", NULL };
data/glib2.0-2.66.3/gio/gresource.c:458:7:  [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 (candidate, dst, dst_len);
data/glib2.0-2.66.3/gio/gresource.c:459:7:  [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 (candidate + dst_len, path + src_len, path_len - src_len);
data/glib2.0-2.66.3/gio/gresource.c:949:11:  [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 (local_str, path, path_len);
data/glib2.0-2.66.3/gio/gsocket.c:2352:7:  [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 (&mc_req.imr_multiaddr, native_addr, sizeof (struct in_addr));
data/glib2.0-2.66.3/gio/gsocket.c:2391:7:  [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 (&mc_req_ipv6.ipv6mr_multiaddr, native_addr, sizeof (struct in6_addr));
data/glib2.0-2.66.3/gio/gsocket.c:2577:13:  [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 (ifr.ifr_name, iface, if_name_len);
data/glib2.0-2.66.3/gio/gsocket.c:2594: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 (&mc_req_src.imr_multiaddr, g_inet_address_to_bytes (group),
data/glib2.0-2.66.3/gio/gsocket.c:2596: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 (&mc_req_src.imr_sourceaddr,
data/glib2.0-2.66.3/gio/gsocket.c:4958: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.
	bufs[i].buf = (char *)vectors[i].buffer;
data/glib2.0-2.66.3/gio/gsocket.c:5446: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.
	bufs[i].buf = (char *)vectors[i].buffer;
data/glib2.0-2.66.3/gio/gsocketaddress.c:250: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 (&(sin_addr.sin_addr.s_addr), addr->sin6_addr.s6_addr + 12, 4);
data/glib2.0-2.66.3/gio/gsocks4aproxy.c:101:7:  [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 (msg + len, &hp, 2);
data/glib2.0-2.66.3/gio/gsocks4aproxy.c:124: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 (msg + len, g_inet_address_to_bytes (addr), addr_len);
data/glib2.0-2.66.3/gio/gsocks4aproxy.c:140:7:  [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 (msg + len, username, user_len);
data/glib2.0-2.66.3/gio/gsocks4aproxy.c:158:7:  [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 (msg + len, hostname, host_len);
data/glib2.0-2.66.3/gio/gsocks5proxy.c:229: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 (msg + len, username, ulen);
data/glib2.0-2.66.3/gio/gsocks5proxy.c:235: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 (msg + len, password, plen);
data/glib2.0-2.66.3/gio/gsocks5proxy.c:288:7:  [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 (msg + len, g_inet_address_to_bytes (addr), addr_len);
data/glib2.0-2.66.3/gio/gsocks5proxy.c:307:7:  [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 (msg + len, hostname, host_len);
data/glib2.0-2.66.3/gio/gsocks5proxy.c:313:7:  [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 (msg + len, &hp, 2);
data/glib2.0-2.66.3/gio/gtask.c:2054: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 (value, task->result.pointer, sizeof (GValue));
data/glib2.0-2.66.3/gio/gtcpconnection.c:149: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[1024];
data/glib2.0-2.66.3/gio/gtcpconnection.c:216: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[1024];
data/glib2.0-2.66.3/gio/gunixcredentialsmessage.c:153: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,
data/glib2.0-2.66.3/gio/gunixfdlist.c:194: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 (list->priv->fds, fds, sizeof (gint) * n_fds);
data/glib2.0-2.66.3/gio/gunixfdmessage.c:146: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, fds, sizeof (gint) * n_fds);
data/glib2.0-2.66.3/gio/gunixmounts.c:199:24:  [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).
#define setmntent(f,m) fopen(f,m)
data/glib2.0-2.66.3/gio/gunixmounts.c:573: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[1024];
data/glib2.0-2.66.3/gio/gunixmounts.c:916: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 filename[9 + NAME_MAX];
data/glib2.0-2.66.3/gio/gunixmounts.c:934:7:  [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 (filename, "/dev/fs/");
data/glib2.0-2.66.3/gio/gunixmounts.c:1087: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[1024];
data/glib2.0-2.66.3/gio/gunixmounts.c:1302: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 mnt_mount[PATH_MAX];
data/glib2.0-2.66.3/gio/gunixmounts.c:1303: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 mnt_special[PATH_MAX];
data/glib2.0-2.66.3/gio/gunixmounts.c:1304: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 mnt_fstype[16];
data/glib2.0-2.66.3/gio/gunixmounts.c:1305: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 mnt_options[128];
data/glib2.0-2.66.3/gio/gunixmounts.c:1313:10:  [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 char word[PATH_MAX] = { 0 };
data/glib2.0-2.66.3/gio/gunixmounts.c:1314: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 value[PATH_MAX];
data/glib2.0-2.66.3/gio/gunixmounts.c:3087:10:  [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 char real_dev_root[256];
data/glib2.0-2.66.3/gio/gunixmounts.c:3107:15:  [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).
          f = fopen ("/etc/mtab", "r");
data/glib2.0-2.66.3/gio/gunixmounts.c:3113:15:  [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[1024];
data/glib2.0-2.66.3/gio/gunixmounts.c:3156:3:  [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 (real_dev_root, "/dev/root");
data/glib2.0-2.66.3/gio/gunixsocketaddress.c:75: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 path[UNIX_PATH_MAX]; /* Not including the initial zero in abstract case, so
data/glib2.0-2.66.3/gio/gunixsocketaddress.c:122: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 (address->priv->path, array->data, len);
data/glib2.0-2.66.3/gio/gunixsocketaddress.c:248:7:  [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 (sock->sun_path+1, addr->priv->path, addr->priv->path_len);
data/glib2.0-2.66.3/gio/gvdb/gvdb-builder.c:295: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 (chunk->data, string, length);
data/glib2.0-2.66.3/gio/gvdb/gvdb-builder.c:332: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 (chunk (sizeof bloom_hdr), &bloom_hdr, sizeof bloom_hdr);
data/glib2.0-2.66.3/gio/gvdb/gvdb-builder.c:333: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 (chunk (sizeof table_hdr), &table_hdr, sizeof table_hdr);
data/glib2.0-2.66.3/gio/gvdb/gvdb-reader.c:287:47:  [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.
    hash_value = (hash_value * 33) + ((signed char *) key)[key_length];
data/glib2.0-2.66.3/gio/gvdb/gvdb-reader.c:445:19:  [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 (fullname, parent_name, parent_length);
data/glib2.0-2.66.3/gio/gvdb/gvdb-reader.c:446:19:  [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 (fullname + parent_length, name, name_length);
data/glib2.0-2.66.3/gio/gwin32registrykey.c:1706: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 *) basic_info)[datasize] = 0;
data/glib2.0-2.66.3/gio/gwin32registrykey.c:1707: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 *) basic_info)[datasize + 1] = 0;
data/glib2.0-2.66.3/gio/gwin32volumemonitor.c:149:3:  [2] (buffer) wchar_t:
  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.
  wchar_t wc_name[MAX_PATH+1];
data/glib2.0-2.66.3/gio/gwin32volumemonitor.c:170:7:  [2] (buffer) wchar_t:
  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.
      wchar_t wc_dev_name[MAX_PATH+1];
data/glib2.0-2.66.3/gio/gzlibdecompressor.c:55: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 filename[257];
data/glib2.0-2.66.3/gio/inotify/inotify-kernel.c:200:11:  [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 (new_buffer, buffer, n_read);
data/glib2.0-2.66.3/gio/kqueue/gkqueuefilemonitor.c:586:13:  [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).
  sub->fd = open (sub->filename, O_KQFLAG);
data/glib2.0-2.66.3/gio/strinfo.c:135: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 (((gchar *) words) + 1, string, size + 1);
data/glib2.0-2.66.3/gio/tests/appinfo-test.c:23:22:  [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).
      pid_from_env = atoi (envvar);
data/glib2.0-2.66.3/gio/tests/basic-application.c:77:1:  [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).
open (GApplication  *application,
data/glib2.0-2.66.3/gio/tests/basic-application.c:252:46:  [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).
  g_signal_connect (app, "open", G_CALLBACK (open), NULL);
data/glib2.0-2.66.3/gio/tests/contexts.c:12:8:  [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 char async_read_buffer[8192];
data/glib2.0-2.66.3/gio/tests/converter-stream.c:648: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 (outbuf, inbuf, *bytes_written);
data/glib2.0-2.66.3/gio/tests/echo-server.c:22: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[1024];
data/glib2.0-2.66.3/gio/tests/file.c:315: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->buffer, data->data, 10);
data/glib2.0-2.66.3/gio/tests/file.c:888:14:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
      GFile *tmpfile;
data/glib2.0-2.66.3/gio/tests/file.c:905:29:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
      g_file_set_attribute (tmpfile, G_FILE_ATTRIBUTE_UNIX_MODE, G_FILE_ATTRIBUTE_TYPE_UINT32,
data/glib2.0-2.66.3/gio/tests/file.c:923:20:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
      g_file_copy (tmpfile, dest_tmpfile, vectors[i].copy_flags,
data/glib2.0-2.66.3/gio/tests/file.c:936:29:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
      (void) g_file_delete (tmpfile, NULL, NULL);
data/glib2.0-2.66.3/gio/tests/file.c:939:24:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
      g_clear_object (&tmpfile);
data/glib2.0-2.66.3/gio/tests/filter-cat.c:81: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[1024 * 8 + 1];
data/glib2.0-2.66.3/gio/tests/filter-streams.c:187: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[20];
data/glib2.0-2.66.3/gio/tests/gapplication-example-open.c:18:1:  [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).
open (GApplication  *application,
data/glib2.0-2.66.3/gio/tests/gapplication-example-open.c:48:46:  [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).
  g_signal_connect (app, "open", G_CALLBACK (open), NULL);
data/glib2.0-2.66.3/gio/tests/gdbus-serialization.c:788: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 (blob + i, after, slen);
data/glib2.0-2.66.3/gio/tests/gsubprocess-testprog.c:74: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[1024];
data/glib2.0-2.66.3/gio/tests/gsubprocess-testprog.c:136: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).
      int fd = atoi (argv[i]);
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1494:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  GFile *tmpfile;
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1505:36:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  tmp_file_path = g_file_get_path (tmpfile);
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1527:25:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  g_file_load_contents (tmpfile, NULL, &tmp_contents, NULL, NULL, error);
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1533:25:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  (void) g_file_delete (tmpfile, NULL, NULL);
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1534:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  g_object_unref (tmpfile);
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1546:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  GFile *tmpfile;
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1579:25:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  g_file_load_contents (tmpfile, NULL, &tmp_contents, NULL, NULL, error);
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1585:25:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  (void) g_file_delete (tmpfile, NULL, NULL);
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1586:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  g_object_unref (tmpfile);
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1603:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  GFile *tmpfile;
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1637:25:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  g_file_load_contents (tmpfile, NULL, &tmp_contents, NULL, NULL, error);
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1643:25:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  (void) g_file_delete (tmpfile, NULL, NULL);
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1644:19:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  g_object_unref (tmpfile);
data/glib2.0-2.66.3/gio/tests/live-g-file.c:322:8:  [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).
	  f = fopen (path, "a");
data/glib2.0-2.66.3/gio/tests/memory-input-stream.c:34: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[128];
data/glib2.0-2.66.3/gio/tests/memory-input-stream.c:108: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[128];
data/glib2.0-2.66.3/gio/tests/memory-input-stream.c:183: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[10];
data/glib2.0-2.66.3/gio/tests/network-address.c:243:8:  [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 char SCOPE_ID_TEST_IFNAME[IF_NAMESIZE];
data/glib2.0-2.66.3/gio/tests/pollable.c:37: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[2];
data/glib2.0-2.66.3/gio/tests/pollable.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 buf[1];
data/glib2.0-2.66.3/gio/tests/readwrite.c:39: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[1024];
data/glib2.0-2.66.3/gio/tests/readwrite.c:105: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 (modified_data + 10, new_data, strlen (new_data));
data/glib2.0-2.66.3/gio/tests/readwrite.c:241: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[1024];
data/glib2.0-2.66.3/gio/tests/resources.c:42: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[128];
data/glib2.0-2.66.3/gio/tests/resources.c:313: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 (content_copy + 1, content, content_size);
data/glib2.0-2.66.3/gio/tests/resources.c:378: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[128];
data/glib2.0-2.66.3/gio/tests/send-data.c:91: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[1000];
data/glib2.0-2.66.3/gio/tests/sleepy-stream.c:23: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[MAX_PIECE_SIZE * 2];
data/glib2.0-2.66.3/gio/tests/sleepy-stream.c:117:7:  [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, sleepy->current, length);
data/glib2.0-2.66.3/gio/tests/socket.c:1407: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[1024];
data/glib2.0-2.66.3/gio/tests/srvtarget.c:96: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 result[7], *p;
data/glib2.0-2.66.3/gio/tests/unix-fd.c:51: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[1024];
data/glib2.0-2.66.3/gio/tests/unix-fd.c:216:3:  [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 (buffer, "failure to say failure to say 'i love gnome-panel!'.");
data/glib2.0-2.66.3/gio/tests/unix-streams.c:87: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[sizeof (DATA)];
data/glib2.0-2.66.3/gio/tests/unix-streams.c:123:8:  [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 char main_buf[sizeof (DATA)];
data/glib2.0-2.66.3/gio/tests/win32-streams.c:92: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[sizeof (DATA)];
data/glib2.0-2.66.3/gio/tests/win32-streams.c:137: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 main_buf[sizeof (DATA)];
data/glib2.0-2.66.3/gio/tests/win32-streams.c:283: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[sizeof (DATA)];
data/glib2.0-2.66.3/gio/thumbnail-verify.c:144:7:  [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 (&chunk_size_be, contents, 4);
data/glib2.0-2.66.3/gio/win32/gwin32fsmonitorutils.c:272:11:  [2] (buffer) wchar_t:
  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.
          wchar_t wlongname[MAX_PATH_LONG];
data/glib2.0-2.66.3/gio/win32/gwin32fsmonitorutils.c:273:11:  [2] (buffer) wchar_t:
  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.
          wchar_t wshortname[MAX_PATH_LONG];
data/glib2.0-2.66.3/gio/win32/gwinhttpvfs.c:42: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 winhttp_dll[MAX_PATH + 100];
data/glib2.0-2.66.3/gio/win32/gwinhttpvfs.c:54:9:  [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 (winhttp_dll, "winhttp.dll");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:145:34:  [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.
  strcpy (file_name, directory); strcat (file_name, "/mime.cache");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:165:34:  [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.
  strcpy (file_name, directory); strcat (file_name, "/globs2");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:175:38:  [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.
      strcpy (file_name, directory); strcat (file_name, "/globs");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:188:34:  [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.
  strcpy (file_name, directory); strcat (file_name, "/magic");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:200:34:  [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.
  strcpy (file_name, directory); strcat (file_name, "/aliases");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:205:34:  [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.
  strcpy (file_name, directory); strcat (file_name, "/subclasses");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:210:34:  [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.
  strcpy (file_name, directory); strcat (file_name, "/icons");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:215:34:  [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.
  strcpy (file_name, directory); strcat (file_name, "/generic-icons");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:258:7:  [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 (mime_subdir, "/mime/");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:268:7:  [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 (guessed_xdg_home, "/.local/share/mime/");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:299:7:  [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 (dir, "/mime/");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:412:34:  [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.
  strcpy (file_name, directory); strcat (file_name, "/mime.cache");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:427:34:  [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.
  strcpy (file_name, directory); strcat (file_name, "/globs");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:438:34:  [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.
  strcpy (file_name, directory); strcat (file_name, "/magic");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:562: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.
  const char *mime_types[5];
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:606: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).
  file = fopen (file_name, "r");
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:912: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 (result, parents, n);
data/glib2.0-2.66.3/gio/xdgmime/xdgmimealias.c:120: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 line[255];
data/glib2.0-2.66.3/gio/xdgmime/xdgmimealias.c:123: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).
  file = fopen (file_name, "r");
data/glib2.0-2.66.3/gio/xdgmime/xdgmimecache.c:121:10:  [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 (file_name, O_RDONLY|_O_BINARY, 0);
data/glib2.0-2.66.3/gio/xdgmime/xdgmimecache.c:193:18:  [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)[j + i]) & ((unsigned char *)cache->buffer)[mask_offset + j]))
data/glib2.0-2.66.3/gio/xdgmime/xdgmimecache.c:204:76:  [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.
	      if (((unsigned char *)cache->buffer)[data_offset + j] != ((unsigned char *) data)[j + i])
data/glib2.0-2.66.3/gio/xdgmime/xdgmimecache.c:785: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.
  const char *mime_types[10];
data/glib2.0-2.66.3/gio/xdgmime/xdgmimecache.c:828: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).
  file = fopen (file_name, "r");
data/glib2.0-2.66.3/gio/xdgmime/xdgmimecache.c:999: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 *all_parents[128]; /* we'll stop at 128 */ 
data/glib2.0-2.66.3/gio/xdgmime/xdgmimecache.c:1051: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 (result, all_parents, p * sizeof (char *));
data/glib2.0-2.66.3/gio/xdgmime/xdgmimeglob.c:652: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 line[255];
data/glib2.0-2.66.3/gio/xdgmime/xdgmimeglob.c:655:15:  [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).
  glob_file = fopen (file_name, "r");
data/glib2.0-2.66.3/gio/xdgmime/xdgmimeglob.c:683:20:  [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).
          weight = atoi (p);
data/glib2.0-2.66.3/gio/xdgmime/xdgmimeicon.c:119: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 line[255];
data/glib2.0-2.66.3/gio/xdgmime/xdgmimeicon.c:122: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).
  file = fopen (file_name, "r");
data/glib2.0-2.66.3/gio/xdgmime/xdgmimeint.c:40:14:  [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 const char _xdg_utf8_skip_data[256] = {
data/glib2.0-2.66.3/gio/xdgmime/xdgmimemagic.c:200: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 number_string[MAX_NUMBER_SIZE + 1];
data/glib2.0-2.66.3/gio/xdgmime/xdgmimemagic.c:538:18:  [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)[j + i]) & matchlet->mask[j]))
data/glib2.0-2.66.3/gio/xdgmime/xdgmimemagic.c:549:45:  [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.
	      if (matchlet->value[j] != ((unsigned char *) data)[j + i])
data/glib2.0-2.66.3/gio/xdgmime/xdgmimemagic.c:800: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 header[12];
data/glib2.0-2.66.3/gio/xdgmime/xdgmimemagic.c:802: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).
  magic_file = fopen (file_name, "r");
data/glib2.0-2.66.3/gio/xdgmime/xdgmimeparent.c:126: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 line[255];
data/glib2.0-2.66.3/gio/xdgmime/xdgmimeparent.c:130: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).
  file = fopen (file_name, "r");
data/glib2.0-2.66.3/glib/deprecated/gcompletion.c:470: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).
  file = fopen (argv[1], "r");
data/glib2.0-2.66.3/glib/deprecated/grel.c:434: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 (tuples->data + (tuples->len * tuples->width),
data/glib2.0-2.66.3/glib/dirent/dirent.h:25: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		d_name[FILENAME_MAX]; /* File name. */
data/glib2.0-2.66.3/glib/dirent/dirent.h:61: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			dd_name[1];
data/glib2.0-2.66.3/glib/dirent/dirent.h:79:2:  [2] (buffer) wchar_t:
  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.
	wchar_t		d_name[FILENAME_MAX]; /* File name. */
data/glib2.0-2.66.3/glib/dirent/dirent.h:108:2:  [2] (buffer) wchar_t:
  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.
	wchar_t			dd_name[1];
data/glib2.0-2.66.3/glib/garcbox.c:272: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 (res, mem_block, block_size);
data/glib2.0-2.66.3/glib/garray.c:501: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 (g_array_elt_pos (array, array->len), data, 
data/glib2.0-2.66.3/glib/garray.c:563: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 (g_array_elt_pos (array, 0), data, g_array_elt_len (array, len));
data/glib2.0-2.66.3/glib/garray.c:636: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 (g_array_elt_pos (array, index_), data, g_array_elt_len (array, len));
data/glib2.0-2.66.3/glib/garray.c:744: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 (g_array_elt_pos (array, index_),
data/glib2.0-2.66.3/glib/garray.c:1230:7:  [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 (new_array->pdata, array->pdata,
data/glib2.0-2.66.3/glib/garray.c:1280: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 (new_rarray->data, rarray->data, rarray->len * rarray->elt_size);
data/glib2.0-2.66.3/glib/garray.c:1861:7:  [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 (rarray_to_extend->pdata + rarray_to_extend->len, array->pdata,
data/glib2.0-2.66.3/glib/gbacktrace.c:177:5:  [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 (buf, "E\n");
data/glib2.0-2.66.3/glib/gbacktrace.c:313: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[BUFSIZE];
data/glib2.0-2.66.3/glib/gbase64.c:114:15:  [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.
  if (len + ((char *) save) [0] > 2)
data/glib2.0-2.66.3/glib/gbase64.c:122: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.
      switch (((char *) save) [0])
data/glib2.0-2.66.3/glib/gbase64.c:125:27:  [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.
          c1 = ((unsigned char *) save) [1];
data/glib2.0-2.66.3/glib/gbase64.c:128:27:  [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.
          c1 = ((unsigned char *) save) [1];
data/glib2.0-2.66.3/glib/gbase64.c:129:27:  [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.
          c2 = ((unsigned char *) save) [2];
data/glib2.0-2.66.3/glib/gbase64.c:158: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 *)save)[0] = 0;
data/glib2.0-2.66.3/glib/gbase64.c:169:22:  [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.
      saveout = & (((char *)save)[1]) + ((char *)save)[0];
data/glib2.0-2.66.3/glib/gbase64.c:169:43:  [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.
      saveout = & (((char *)save)[1]) + ((char *)save)[0];
data/glib2.0-2.66.3/glib/gbase64.c:180: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 *)save)[0] += len;
data/glib2.0-2.66.3/glib/gbase64.c:218:19:  [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.
  c1 = ((unsigned char *) save) [1];
data/glib2.0-2.66.3/glib/gbase64.c:219:19:  [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.
  c2 = ((unsigned char *) save) [2];
data/glib2.0-2.66.3/glib/gbase64.c:221:13:  [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.
  switch (((char *) save) [0])
data/glib2.0-2.66.3/glib/gbase64.c:283:23:  [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 const unsigned char mime_base64_rank[256] = {
data/glib2.0-2.66.3/glib/gbookmarkfile.c:894:17:  [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).
    ai->count = atoi (count);
data/glib2.0-2.66.3/glib/gbookmarkfile.c:910:52:  [2] (integer) atol:
  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).
        ai->stamp = g_date_time_new_from_unix_utc (atol (stamp));
data/glib2.0-2.66.3/glib/gbsearcharray.h:244: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 (node, key_node, bconfig->sizeof_node);
data/glib2.0-2.66.3/glib/gbsearcharray.h:254: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 (node, key_node, bconfig->sizeof_node);
data/glib2.0-2.66.3/glib/gcharset.c:271: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[2 + 20 + 1]; /* "CP" + G_MAXUINT64 (to be safe) in decimal form (20 bytes) + "\0" */
data/glib2.0-2.66.3/glib/gcharset.c:295:15:  [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, dot, modifier - dot);
data/glib2.0-2.66.3/glib/gcharset.c:307: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.
          sprintf (buf, "CP%u", cp);
data/glib2.0-2.66.3/glib/gcharset.c:351: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/glib2.0-2.66.3/glib/gcharset.c:353:8:  [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).
  fp = fopen (file,"r");
data/glib2.0-2.66.3/glib/gchecksum.c:361:11:  [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 (p, data, length);
data/glib2.0-2.66.3/glib/gchecksum.c:365:7:  [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 (p, data, bit);
data/glib2.0-2.66.3/glib/gchecksum.c:377:7:  [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 (md5->u.data, data, MD5_DATASIZE);
data/glib2.0-2.66.3/glib/gchecksum.c:387: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 (md5->u.data, data, length);
data/glib2.0-2.66.3/glib/gchecksum.c:436: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 (md5->digest, md5->buf, 16);
data/glib2.0-2.66.3/glib/gchecksum.c:715:11:  [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 (p, buffer, count);
data/glib2.0-2.66.3/glib/gchecksum.c:719:7:  [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 (p, buffer, dataCount);
data/glib2.0-2.66.3/glib/gchecksum.c:731:7:  [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 (sha1->data, buffer, SHA1_DATASIZE);
data/glib2.0-2.66.3/glib/gchecksum.c:741: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 (sha1->data, buffer, count);
data/glib2.0-2.66.3/glib/gchecksum.c:789: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 (sha1->digest, sha1->buf, SHA1_DIGEST_LEN);
data/glib2.0-2.66.3/glib/gchecksum.c:1009:7:  [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 ((sha256->data + left), input, fill);
data/glib2.0-2.66.3/glib/gchecksum.c:1027: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 (sha256->data + left, input, length);
data/glib2.0-2.66.3/glib/gchecksum.c:1293:7:  [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 (sha512->block + sha512->block_len, buffer, fill_len);
data/glib2.0-2.66.3/glib/gchecksum.c:1308:7:  [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 (sha512->block, buffer + offset, SHA2_BLOCK_LEN);
data/glib2.0-2.66.3/glib/gchecksum.c:1319:7:  [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 (sha512->block, buffer + offset, length);
data/glib2.0-2.66.3/glib/gchecksum.c:1380: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 (digest, sha512->digest, SHA384_DIGEST_LEN);
data/glib2.0-2.66.3/glib/gchecksum.c:1387: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 (digest, sha512->digest, SHA512_DIGEST_LEN);
data/glib2.0-2.66.3/glib/gdate.c:999:33:  [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).
  pt->n[0] = pt->num_ints > 0 ? atoi (num[0]) : 0;
data/glib2.0-2.66.3/glib/gdate.c:1000:33:  [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).
  pt->n[1] = pt->num_ints > 1 ? atoi (num[1]) : 0;
data/glib2.0-2.66.3/glib/gdate.c:1001:33:  [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).
  pt->n[2] = pt->num_ints > 2 ? atoi (num[2]) : 0;
data/glib2.0-2.66.3/glib/gdate.c:1427:7:  [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 ((void *) &tm, (void *) ptm, sizeof(struct tm));
data/glib2.0-2.66.3/glib/gdate.c:2586: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 (s, convbuf, convlen);
data/glib2.0-2.66.3/glib/gdate.c:2724: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 (s, convbuf, convlen);
data/glib2.0-2.66.3/glib/genviron.c:456:3:  [2] (buffer) wchar_t:
  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.
  wchar_t dummy[2], *wname, *wvalue;
data/glib2.0-2.66.3/glib/gfileutils.c:763:7:  [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 + total_bytes, buf, bytes);
data/glib2.0-2.66.3/glib/gfileutils.c:895: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 (filename, O_RDONLY|O_BINARY);
data/glib2.0-2.66.3/glib/gfileutils.c:1728:7:  [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 c[2];
data/glib2.0-2.66.3/glib/gfileutils.c:2577: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 (retval, file_name + (base + 1), len);
data/glib2.0-2.66.3/glib/gfileutils.c:2871:3:  [2] (buffer) wchar_t:
  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.
  wchar_t dummy[2], *wdir;
data/glib2.0-2.66.3/glib/ggettext.c:283: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 (msg_ctxt_id, msgctxt, msgctxt_len - 1);
data/glib2.0-2.66.3/glib/ggettext.c:285: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 (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
data/glib2.0-2.66.3/glib/ghmac.c:147:7:  [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, key, key_len);
data/glib2.0-2.66.3/glib/giochannel.c:2094: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 (buf, USE_BUF (channel)->str, got_bytes);
data/glib2.0-2.66.3/glib/giochannel.c:2325:15:  [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 (channel->partial_write_buf + from_buf_old_len, buf,
data/glib2.0-2.66.3/glib/giochannel.c:2418:25:  [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 (channel->partial_write_buf, from_buf, left_len);
data/glib2.0-2.66.3/glib/giowin32.c:208: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[100];
data/glib2.0-2.66.3/glib/giowin32.c:231:12:  [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.
	  bufp += sprintf (bufp, "|%#x", mask & ~checked_bits);
data/glib2.0-2.66.3/glib/giowin32.c:239: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[100];
data/glib2.0-2.66.3/glib/giowin32.c:258:12:  [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.
	  bufp += sprintf (bufp, "|%#x", condition & ~checked_bits);
data/glib2.0-2.66.3/glib/giowin32.c:602: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 (dest, channel->buffer + channel->rdp, nbytes);
data/glib2.0-2.66.3/glib/giowin32.c:671: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 (channel->buffer + channel->wrp, dest, nbytes);
data/glib2.0-2.66.3/glib/gkeyfile.c:2478: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 list_separator[2];
data/glib2.0-2.66.3/glib/glib-mirroring-tab/gen-mirroring-tab.c:83:8:  [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 char buf[4000];
data/glib2.0-2.66.3/glib/glib-mirroring-tab/gen-mirroring-tab.c:159:13:  [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).
  if (!(f = fopen (data_file_name, "rt")))
data/glib2.0-2.66.3/glib/glib-mirroring-tab/gen-mirroring-tab.c:218:21:  [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).
    int max_depth = atoi (argv[1]);
data/glib2.0-2.66.3/glib/gmacros.h:747:39:  [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.
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED
data/glib2.0-2.66.3/glib/gmacros.h:749:39:  [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.
#define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __LINE__)[(expr) ? 1 : -1] G_GNUC_UNUSED
data/glib2.0-2.66.3/glib/gmarkup.c:575:7:  [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, temp, strlen (temp));
data/glib2.0-2.66.3/glib/gmessages.c:577:7:  [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 (fatal_msg_ptr, buf, len);
data/glib2.0-2.66.3/glib/gmessages.c:1177:7:  [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 (level_prefix, "ERROR");
data/glib2.0-2.66.3/glib/gmessages.c:1181:7:  [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 (level_prefix, "CRITICAL");
data/glib2.0-2.66.3/glib/gmessages.c:1185:7:  [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 (level_prefix, "WARNING");
data/glib2.0-2.66.3/glib/gmessages.c:1189:7:  [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 (level_prefix, "Message");
data/glib2.0-2.66.3/glib/gmessages.c:1193:7:  [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 (level_prefix, "INFO");
data/glib2.0-2.66.3/glib/gmessages.c:1196:7:  [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 (level_prefix, "DEBUG");
data/glib2.0-2.66.3/glib/gmessages.c:1201: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 (level_prefix, "LOG-");
data/glib2.0-2.66.3/glib/gmessages.c:1205:2:  [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 (level_prefix, "LOG");
data/glib2.0-2.66.3/glib/gmessages.c:1212:5:  [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 (level_prefix, " (recursed)");
data/glib2.0-2.66.3/glib/gmessages.c:1214:5:  [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 (level_prefix, " **");
data/glib2.0-2.66.3/glib/gmessages.c:2390: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 (CMSG_DATA (cmsg), &buf_fd, sizeof (int));
data/glib2.0-2.66.3/glib/gmessages.c:2483:11:  [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[k], &nstr, sizeof (nstr));
data/glib2.0-2.66.3/glib/gmessages.c:2796: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 *s, lstr[32];
data/glib2.0-2.66.3/glib/gnulib/printf-parse.c:124:11:  [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 (memory, a->arg, a->count * sizeof (argument));        \
data/glib2.0-2.66.3/glib/gnulib/printf-parse.c:601:17:  [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 (memory, d->dir, d->count * sizeof (DIRECTIVE));
data/glib2.0-2.66.3/glib/gnulib/printf.c:110: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 (string, result, length + 1);
data/glib2.0-2.66.3/glib/gnulib/printf.c:127:7:  [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 (string, result, MIN(length + 1, n));
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:153:21:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#  define DCHAR_CPY memcpy
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:297: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 pointbuf[5];
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:298: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 (pointbuf, "%#.0f", 1.0);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:522:7:  [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 (r_ptr, a_ptr, a_len * sizeof (mp_limb_t));
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:658:11:  [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 (r_ptr, a_ptr, a_len * sizeof (mp_limb_t));
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:2679:27:  [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 cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:2724:27:  [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 cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:2774:25:  [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 cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:2787:25:  [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 (tmpptr, cbuf, count);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:2855:27:  [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 cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:2868:27:  [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 (result + length, cbuf, count);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:2884:27:  [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 cbuf[64]; /* Assume MB_CUR_MAX <= 64.  */
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:2906:27:  [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 (result + length, cbuf, count);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3187:35:  [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 ((char *) p, "%+d", exponent);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3193:35:  [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 expbuf[6 + 1];
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3195:35:  [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 (expbuf, "%+d", exponent);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3338:35:  [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 ((char *) p, "%+d", exponent);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3344:35:  [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 expbuf[6 + 1];
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3346:35:  [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 (expbuf, "%+d", exponent);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3413:17:  [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 (result + length, tmp, count * sizeof (DCHAR_T));
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3798:37:  [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 ((char *) p, "%+.2d", exponent);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3804:37:  [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 expbuf[6 + 1];
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3806:37:  [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 (expbuf, "%+.2d", exponent);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3979:45:  [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 ((char *) p, "%+.2d", exponent);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3985:45:  [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 expbuf[6 + 1];
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3987:45:  [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 (expbuf, "%+.2d", exponent);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:4277:39:  [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 expbuf[6 + 1];
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:4470:47:  [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 expbuf[6 + 1];
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:4596:17:  [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 (result + length, tmp, count * sizeof (DCHAR_T));
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:4804:29:  [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 (fbp, dp->width_start, n * sizeof (TCHAR_T));
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:4825:29:  [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 (fbp, dp->precision_start, n * sizeof (TCHAR_T));
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:5543:21:  [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 (result + length, tmp, count * sizeof (DCHAR_T));
data/glib2.0-2.66.3/glib/goption.c:2432: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 (group->entries + group->n_entries, entries, sizeof (GOptionEntry) * n_entries);
data/glib2.0-2.66.3/glib/gqsort.c:172:8:  [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, b1, s);
data/glib2.0-2.66.3/glib/gqsort.c:179:8:  [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, b2, s);
data/glib2.0-2.66.3/glib/gqsort.c: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 (tmp, b1, n1 * s);
data/glib2.0-2.66.3/glib/gqsort.c:190: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 (b, p->t, (n - n2) * s);
data/glib2.0-2.66.3/glib/gqsort.c:246: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 (tmp_storage, ip, s);
data/glib2.0-2.66.3/glib/gqsort.c:252: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 (jp, kp, s);
data/glib2.0-2.66.3/glib/gqsort.c:260: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 (jp, tmp_storage, s);
data/glib2.0-2.66.3/glib/gquark.c:172: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 (copy, string, len);
data/glib2.0-2.66.3/glib/gquark.c:296: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 (quarks_new, quarks, sizeof (char *) * quark_seq_id);
data/glib2.0-2.66.3/glib/grand.c:231:18:  [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).
	  dev_urandom = fopen("/dev/urandom", "rb");
data/glib2.0-2.66.3/glib/grand.c:323: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 (new_rand, rand, sizeof (GRand));
data/glib2.0-2.66.3/glib/grcbox.c:393: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 (res, mem_block, block_size);
data/glib2.0-2.66.3/glib/grefstring.c:159: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 (res, str, len);
data/glib2.0-2.66.3/glib/gslice.c:382:3:  [2] (buffer) wchar_t:
  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.
  wchar_t wvalue[128];  /* at least big enough for `always-malloc,debug-blocks` */
data/glib2.0-2.66.3/glib/gslice.c:1122: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 (mem, mem_block, mem_size);
data/glib2.0-2.66.3/glib/gspawn-win32-helper.c:231:25:  [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).
  child_err_report_fd = atoi (argv[ARG_CHILD_ERR_REPORT]);
data/glib2.0-2.66.3/glib/gspawn-win32-helper.c:246:20:  [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).
  helper_sync_fd = atoi (argv[ARG_HELPER_SYNC]);
data/glib2.0-2.66.3/glib/gspawn-win32-helper.c:257:12:  [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 ("NUL:", O_RDONLY);
data/glib2.0-2.66.3/glib/gspawn-win32-helper.c:266: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).
      fd = atoi (argv[ARG_STDIN]);
data/glib2.0-2.66.3/glib/gspawn-win32-helper.c:278:12:  [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 ("NUL:", O_WRONLY);
data/glib2.0-2.66.3/glib/gspawn-win32-helper.c:287: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).
      fd = atoi (argv[ARG_STDOUT]);
data/glib2.0-2.66.3/glib/gspawn-win32-helper.c:300:12:  [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 ("NUL:", O_WRONLY);
data/glib2.0-2.66.3/glib/gspawn-win32-helper.c:309: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).
      fd = atoi (argv[ARG_STDERR]);
data/glib2.0-2.66.3/glib/gspawn-win32.c:549: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 args[ARG_COUNT][10];
data/glib2.0-2.66.3/glib/gspawn.c:1235:16:  [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 dir_fd = open ("/proc/self/fd", O_RDONLY | O_DIRECTORY);
data/glib2.0-2.66.3/glib/gspawn.c:1238:7:  [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[4096];
data/glib2.0-2.66.3/glib/gspawn.c:1357: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).
    ret = open (path, mode);
data/glib2.0-2.66.3/glib/gspawn.c:2338:7:  [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 (name + pathlen + 1, file, len);
data/glib2.0-2.66.3/glib/gspawn.c:2357:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    startp = memcpy (name - (p - path), path, p - path);
data/glib2.0-2.66.3/glib/gstdio-private.c:112:7:  [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, to_copy);
data/glib2.0-2.66.3/glib/gstdio-private.c:120:7:  [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 (*alloc_buf, data, to_copy);
data/glib2.0-2.66.3/glib/gstdio.c:899: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 (buf, tmp, tmp_len);
data/glib2.0-2.66.3/glib/gstdio.c:1068:10:  [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, flags, mode);
data/glib2.0-2.66.3/glib/gstdio.c:1598: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/glib2.0-2.66.3/glib/gstdio.h:70:19:  [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).
#define g_open    open
data/glib2.0-2.66.3/glib/gstdio.h:77:19:  [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).
#define g_fopen   fopen
data/glib2.0-2.66.3/glib/gstrfuncs.c:365:7:  [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 (new_str, str, length);
data/glib2.0-2.66.3/glib/gstrfuncs.c:393:7:  [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 (new_mem, mem, byte_size);
data/glib2.0-2.66.3/glib/gstrfuncs.c:805:7:  [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 (c, nptr, decimal_point_pos - nptr);
data/glib2.0-2.66.3/glib/gstrfuncs.c:807:7:  [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 (c, decimal_point, decimal_point_len);
data/glib2.0-2.66.3/glib/gstrfuncs.c:809:7:  [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 (c, decimal_point_pos + 1, end - (decimal_point_pos + 1));
data/glib2.0-2.66.3/glib/gstrfuncs.c:833:7:  [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 (copy, nptr, end - nptr);
data/glib2.0-2.66.3/glib/gstring.c:474:11:  [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 (string->str + pos_unsigned, val, precount);
data/glib2.0-2.66.3/glib/gstring.c:479: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 (string->str + pos_unsigned + precount,
data/glib2.0-2.66.3/glib/gstring.c:499: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 (string->str + pos_unsigned, val, len_unsigned);
data/glib2.0-2.66.3/glib/gstring.c:900: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 (string->str + pos, val, len);
data/glib2.0-2.66.3/glib/gstring.c:1115:7:  [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 (string->str + string->len, buf, len + 1);
data/glib2.0-2.66.3/glib/gstringchunk.c:308: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 (pos, string, size);
data/glib2.0-2.66.3/glib/gtestutils.c:1477:10:  [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 char seedstr[4 + 4 * 8 + 1];
data/glib2.0-2.66.3/glib/gtestutils.c:1639:11:  [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 (hexbuf, s + 0, 8);
data/glib2.0-2.66.3/glib/gtestutils.c:1642:11:  [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 (hexbuf, s + 8, 8);
data/glib2.0-2.66.3/glib/gtestutils.c:1645:11:  [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 (hexbuf, s + 16, 8);
data/glib2.0-2.66.3/glib/gtestutils.c:1648:11:  [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 (hexbuf, s + 24, 8);
data/glib2.0-2.66.3/glib/gtestutils.c:2891: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 lstr[32];
data/glib2.0-2.66.3/glib/gtestutils.c:3497:7:  [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 log_fd_buf[128];
data/glib2.0-2.66.3/glib/gtestutils.c:3783: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 (&aligned_int64, *ipointer, 8);
data/glib2.0-2.66.3/glib/gtestutils.c:3793: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 (&aligned_int, *ipointer, 4);
data/glib2.0-2.66.3/glib/gtimezone.c:101:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  gint64 tmp; memcpy (&tmp, &be, sizeof tmp); return GINT64_FROM_BE (tmp);
data/glib2.0-2.66.3/glib/gtimezone.c:105:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  gint32 tmp; memcpy (&tmp, &be, sizeof tmp); return GINT32_FROM_BE (tmp);
data/glib2.0-2.66.3/glib/gtimezone.c:109:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  guint32 tmp; memcpy (&tmp, &be, sizeof tmp); return GUINT32_FROM_BE (tmp);
data/glib2.0-2.66.3/glib/gtimezone.c:911:7:  [2] (buffer) wchar_t:
  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.
      wchar_t s[12];
data/glib2.0-2.66.3/glib/gtimezone.c:949:13:  [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 (&regtzi_prev, &regtzi, sizeof regtzi);
data/glib2.0-2.66.3/glib/gtranslit.c:250:7:  [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 (key, language, language_len);
data/glib2.0-2.66.3/glib/gtranslit.c:251:7:  [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 (key + language_len, modifier, modifier_len);
data/glib2.0-2.66.3/glib/gtranslit.c:261:7:  [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 (key, language, language_len);
data/glib2.0-2.66.3/glib/gtranslit.c:262:7:  [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 (key + language_len, territory, territory_len);
data/glib2.0-2.66.3/glib/gtranslit.c:272:7:  [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 (key, language, language_len);
data/glib2.0-2.66.3/glib/gunicollate.c:242: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 (result, &lkey[2], result_len);
data/glib2.0-2.66.3/glib/gunicollate.c:465:7:  [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 (result + 1, str_norm, xfrm_len);
data/glib2.0-2.66.3/glib/guniprop.c:718: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 locale[2];
data/glib2.0-2.66.3/glib/guniprop.c:792: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 (out_buffer, p, len);
data/glib2.0-2.66.3/glib/guniprop.c:902: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 (out_buffer + len, last, char_len);
data/glib2.0-2.66.3/glib/guniprop.c:1093: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 (out_buffer + len, last, char_len);
data/glib2.0-2.66.3/glib/gutf8.c:295: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 (out, start, end - start);
data/glib2.0-2.66.3/glib/gutils.c:113:3:  [2] (buffer) wchar_t:
  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.
  wchar_t wc_fn[MAX_PATH];
data/glib2.0-2.66.3/glib/gutils.c:260: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 (decorated_program, program, program_length);
data/glib2.0-2.66.3/glib/gutils.c:261: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 (decorated_program+program_length, p, q-p);
data/glib2.0-2.66.3/glib/gutils.c:323:3:  [2] (buffer) wchar_t:
  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.
  wchar_t wfilename[MAXPATHLEN], wsysdir[MAXPATHLEN],
data/glib2.0-2.66.3/glib/gutils.c:423: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 (name + pathlen + 1, program, len);
data/glib2.0-2.66.3/glib/gutils.c:442:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        startp = memcpy (name - (p - path), path, p - path);
data/glib2.0-2.66.3/glib/gutils.c:553:3:  [2] (buffer) wchar_t:
  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.
  wchar_t path[MAX_PATH+1];
data/glib2.0-2.66.3/glib/gutils.c:573:3:  [2] (buffer) wchar_t:
  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.
  wchar_t wwindowsdir[MAX_PATH];
data/glib2.0-2.66.3/glib/gutils.c:710:9:  [2] (buffer) wchar_t:
  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.
        wchar_t buffer[UNLEN+1];
data/glib2.0-2.66.3/glib/gutils.c:1027:7:  [2] (buffer) wchar_t:
  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.
      wchar_t tmp[MAX_COMPUTERNAME_LENGTH + 1];
data/glib2.0-2.66.3/glib/gutils.c:2745: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 string[10];
data/glib2.0-2.66.3/glib/gutils.h:469:3:  [2] (buffer) wchar_t:
  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.
  wchar_t wcbfr[1000];							\
data/glib2.0-2.66.3/glib/gvariant-core.c:558: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 (aligned_data, g_bytes_get_data (bytes, NULL), aligned_size);
data/glib2.0-2.66.3/glib/gvariant-core.c:1159: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 (data, value->contents.serialised.data, value->size);
data/glib2.0-2.66.3/glib/gvariant-serialiser.c:582: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 (&tmpvalue.bytes, bytes, size);
data/glib2.0-2.66.3/glib/gvariant-serialiser.c:599: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 (bytes, &tmpvalue.bytes, size);
data/glib2.0-2.66.3/glib/gvariant-serialiser.c:1266: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 (value.data + child.size + 1, type_string, strlen (type_string));
data/glib2.0-2.66.3/glib/gvarianttype.c:400: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 (new, type, length);
data/glib2.0-2.66.3/glib/gvarianttype.c:1149: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[1024];
data/glib2.0-2.66.3/glib/gvarianttype.c:1177:7:  [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[offset], type, size);
data/glib2.0-2.66.3/glib/gvarianttype.c:1212: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 (new + 1, element, size);
data/glib2.0-2.66.3/glib/gvarianttype.c:1242: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 (new + 1, element, size);
data/glib2.0-2.66.3/glib/gvarianttype.c:1277: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 (new + 1, key, keysize);
data/glib2.0-2.66.3/glib/gvarianttype.c:1278: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 (new + 1 + keysize, value, valsize);
data/glib2.0-2.66.3/glib/gvarianttypeinfo.c:150:14:  [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 const char g_variant_type_info_basic_chars[24][2] = {
data/glib2.0-2.66.3/glib/gwakeup.c:207: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[16];
data/glib2.0-2.66.3/glib/gwin32-private.c:38: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 pid_str[STR_BUFFER_SIZE] = {0};
data/glib2.0-2.66.3/glib/gwin32-private.c:40: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 event_str[STR_BUFFER_SIZE] = {0};
data/glib2.0-2.66.3/glib/gwin32.c:114: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 iso639[10];
data/glib2.0-2.66.3/glib/gwin32.c:115: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 iso3166[10];
data/glib2.0-2.66.3/glib/gwin32.c:263:3:  [2] (buffer) wchar_t:
  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.
  wchar_t wc_fn[MAX_PATH];
data/glib2.0-2.66.3/glib/gwin32.c:709:7:  [2] (buffer) wchar_t:
  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.
      wchar_t wshortname[MAX_PATH + 1];
data/glib2.0-2.66.3/glib/gwin32.c:1064: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                 debugger[MAX_PATH + 1];
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:130: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 (file_name, dir, dir_len);
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:133: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 (file_name + dir_len + add_slash, base, base_len + 1);
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:137:38:  [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).
      if (file_name == NULL || (fp = fopen (file_name, "r")) == NULL)
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:149:8:  [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 buf1[50+1];
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:150:8:  [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 buf2[50+1];
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:299:14:  [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 char buf[2 + 10 + 1];
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:325: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 (buf, dot, modifier - dot);
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:333:7:  [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, "CP%u", GetACP ());
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:370:10:  [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 char buf[2 + 10 + 1];
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:373: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, "CP%u", GetACP ());
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:379:10:  [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 char buf[2 + 10 + 1];
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:408:8:  [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, dot, modifier - dot);
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:424: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, "CP%u", cp[0]);
data/glib2.0-2.66.3/glib/pcre/pcre_compile.c:698:1:  [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(newspace, cd->start_workspace, cd->workspace_size * sizeof(pcre_uchar));
data/glib2.0-2.66.3/glib/pcre/pcre_compile.c:3952: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(pbits, cbits + posix_class_maps[posix_class],
data/glib2.0-2.66.3/glib/pcre/pcre_compile.c:4697: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(code, classbits, 32);
data/glib2.0-2.66.3/glib/pcre/pcre_compile.c:4720:7:  [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(code, classbits, 32);
data/glib2.0-2.66.3/glib/pcre/pcre_compile.c:4853: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(utf_chars, lastchar, IN_UCHARS(c)); /* Save the char */
data/glib2.0-2.66.3/glib/pcre/pcre_compile.c:4986:13:  [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(code, utf_chars, IN_UCHARS(c & 7));
data/glib2.0-2.66.3/glib/pcre/pcre_compile.c:5011:13:  [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(code, utf_chars, IN_UCHARS(c & 7));
data/glib2.0-2.66.3/glib/pcre/pcre_compile.c:5041: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(code, utf_chars, IN_UCHARS(c & 7));
data/glib2.0-2.66.3/glib/pcre/pcre_compile.c:5252:15:  [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(code, previous, IN_UCHARS(len));
data/glib2.0-2.66.3/glib/pcre/pcre_compile.c:5331:11:  [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(code, previous, IN_UCHARS(len));
data/glib2.0-2.66.3/glib/pcre/pcre_compile.c:5689:13:  [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(code, arg, IN_UCHARS(arglen));
data/glib2.0-2.66.3/glib/pcre/pcre_compile.c:6157:13:  [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(slot + IMM2_SIZE, name, IN_UCHARS(namelen));
data/glib2.0-2.66.3/glib/pcre/pcre_dfa_exec.c:540:7:  [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(new_states, active_states, new_count * sizeof(stateblock));
data/glib2.0-2.66.3/glib/pcre/pcre_exec.c:1759:7:  [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(new_recursive.offset_save, md->offset_vector,
data/glib2.0-2.66.3/glib/pcre/pcre_exec.c:1773: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(md->offset_vector, new_recursive.offset_save,
data/glib2.0-2.66.3/glib/pcre/pcre_exec.c:7037:7:  [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(offsets + 2, md->offset_vector + 2,
data/glib2.0-2.66.3/glib/pcre/pcre_get.c:308:1:  [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, subject + ovector[stringnumber], IN_UCHARS(yield));
data/glib2.0-2.66.3/glib/pcre/pcre_get.c:419: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(p, subject + ovector[i], IN_UCHARS(len));
data/glib2.0-2.66.3/glib/pcre/pcre_get.c:499:1:  [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(substring, subject + ovector[stringnumber], IN_UCHARS(yield));
data/glib2.0-2.66.3/glib/pcre/pcre_internal.h:346: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.
#define memcpy(d,s,n)    _memcpy(d,s,n)
data/glib2.0-2.66.3/glib/pcre/pcre_internal.h:359:26:  [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 memmove(a, b, c) bcopy(b, a, c)
data/glib2.0-2.66.3/glib/pcre/pcre_study.c:1446: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(study->start_bits, start_bits, sizeof(start_bits));
data/glib2.0-2.66.3/glib/tests/autoptr.c:618: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 data[1] = {0};
data/glib2.0-2.66.3/glib/tests/autoptr.c:650: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 data[1] = {0};
data/glib2.0-2.66.3/glib/tests/autoptr.c:679: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 data[1] = {0};
data/glib2.0-2.66.3/glib/tests/fileutils.c:1546:7:  [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, testcases[i].in, str_len * sizeof (gunichar2));
data/glib2.0-2.66.3/glib/tests/fileutils.c:1565:7:  [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, testcases[i].in, (str_len) * sizeof (gunichar2));
data/glib2.0-2.66.3/glib/tests/gdatetime.c:71:7:  [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 ((void *) retval, (void *) ptm, sizeof (struct tm));
data/glib2.0-2.66.3/glib/tests/gdatetime.c:1299: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 (&tm, tmp, sizeof (struct tm));
data/glib2.0-2.66.3/glib/tests/gdatetime.c:1432: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 (&tm, tmp, sizeof (struct tm));
data/glib2.0-2.66.3/glib/tests/gvariant.c:340: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 (new, type_string, n);
data/glib2.0-2.66.3/glib/tests/gvariant.c:342: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 (new + n + 1, type_string + n, length - n);
data/glib2.0-2.66.3/glib/tests/gvariant.c:1118:7:  [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 type_string[MAX_FIXED_MULTIPLIER];
data/glib2.0-2.66.3/glib/tests/gvariant.c:1134:7:  [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 type_string[2] = { 'a', base_type };
data/glib2.0-2.66.3/glib/tests/gvariant.c:1371: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 (*offset_ptr, tmpvalue.bytes, offset_size);
data/glib2.0-2.66.3/glib/tests/gvariant.c:1388: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 (*offset_ptr, tmpvalue.bytes, offset_size);
data/glib2.0-2.66.3/glib/tests/gvariant.c:1813: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 (ptr, type_string, len);
data/glib2.0-2.66.3/glib/tests/gvariant.c:2180:15:  [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 (serialised->data,
data/glib2.0-2.66.3/glib/tests/gvariant.c:3788: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 (valid_data, validbytes, sizeof validbytes);
data/glib2.0-2.66.3/glib/tests/gvariant.c:3789: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 (corrupt_data, corruptbytes, sizeof corruptbytes);
data/glib2.0-2.66.3/glib/tests/gvariant.c:4131:7:  [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 (test_blob, test[i], test_len);
data/glib2.0-2.66.3/glib/tests/hash.c:224: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 val [20];
data/glib2.0-2.66.3/glib/tests/hash.c:231:7:  [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).
  i = atoi (_key);
data/glib2.0-2.66.3/glib/tests/hash.c:233: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 (val, "%d value", i);
data/glib2.0-2.66.3/glib/tests/hash.c:248: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 val [20];
data/glib2.0-2.66.3/glib/tests/hash.c:255:7:  [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).
  i = atoi (_key);
data/glib2.0-2.66.3/glib/tests/hash.c:257: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 (val, "%d value", i);
data/glib2.0-2.66.3/glib/tests/hash.c:272: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      key[20] = "", val[20]="", *v, *orig_key, *orig_val;
data/glib2.0-2.66.3/glib/tests/hash.c:284:7:  [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 (key, "%d", i);
data/glib2.0-2.66.3/glib/tests/hash.c:285:17:  [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).
      g_assert (atoi (key) == i);
data/glib2.0-2.66.3/glib/tests/hash.c:287:7:  [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 (val, "%d value", i);
data/glib2.0-2.66.3/glib/tests/hash.c:288:17:  [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).
      g_assert (atoi (val) == i);
data/glib2.0-2.66.3/glib/tests/hash.c:297:7:  [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 (key, "%d", i);
data/glib2.0-2.66.3/glib/tests/hash.c:298:17:  [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).
      g_assert (atoi(key) == i);
data/glib2.0-2.66.3/glib/tests/hash.c:304:17:  [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).
      g_assert (atoi (v) == i);
data/glib2.0-2.66.3/glib/tests/hash.c:307: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 (key, "%d", 3);
data/glib2.0-2.66.3/glib/tests/hash.c:316:7:  [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 (key, "%d", i);
data/glib2.0-2.66.3/glib/tests/hash.c:317:17:  [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).
      g_assert (atoi(key) == i);
data/glib2.0-2.66.3/glib/tests/hash.c:319:7:  [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 (val, "%d value", i);
data/glib2.0-2.66.3/glib/tests/hash.c:320:17:  [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).
      g_assert (atoi (val) == i);
data/glib2.0-2.66.3/glib/tests/hash.c:544:20:  [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).
  g_assert_cmpint (atoi (key) % 7, ==, 2);
data/glib2.0-2.66.3/glib/tests/mainloop.c:1537: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 ("/dev/null", O_RDONLY);
data/glib2.0-2.66.3/glib/tests/mainloop.c:1580:9:  [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).
  fd1 = open ("/dev/random", O_RDONLY);
data/glib2.0-2.66.3/glib/tests/mainloop.c:1588:9:  [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).
  fd2 = open ("/dev/random", O_RDONLY);
data/glib2.0-2.66.3/glib/tests/mainloop.c:1714:10:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  gchar *tmpfile;
data/glib2.0-2.66.3/glib/tests/mainloop.c:1725:32:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  fd = g_file_open_tmp (NULL, &tmpfile, &error);
data/glib2.0-2.66.3/glib/tests/mainloop.c:1825:11:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  remove (tmpfile);
data/glib2.0-2.66.3/glib/tests/mainloop.c:1826:11:  [2] (tmpfile) tmpfile:
  Function tmpfile() has a security flaw on some systems (e.g., older System
  V systems) (CWE-377).
  g_free (tmpfile);
data/glib2.0-2.66.3/glib/tests/mappedfile.c:105: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 (contents, new, strlen (new));
data/glib2.0-2.66.3/glib/tests/mappedfile.c:151: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 (contents, new, strlen (new));
data/glib2.0-2.66.3/glib/tests/markup-parse.c:173: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 (contents_unterminated, contents, length_bytes);
data/glib2.0-2.66.3/glib/tests/mem-overflow.c:35: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.
typedef char X[10];
data/glib2.0-2.66.3/glib/tests/mutex.c:233: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.
          sprintf (name, "/thread/mutex/perf/contended/%d", i);
data/glib2.0-2.66.3/glib/tests/rec-mutex.c:248:15:  [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 (name, "/thread/rec-mutex/perf/contended%d/depth%d", i, j);
data/glib2.0-2.66.3/glib/tests/rec-mutex.c:250:15:  [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 (name, "/thread/rec-mutex/perf/uncontended/depth%d", j);
data/glib2.0-2.66.3/glib/tests/spawn-multithreaded.c:117: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[1024];
data/glib2.0-2.66.3/glib/tests/spawn-singlethread.c:80: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[1024];
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1523: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[G_ASCII_DTOSTR_BUF_SIZE];
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1710: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[4097];
data/glib2.0-2.66.3/glib/tests/thread.c:197: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 name[16];
data/glib2.0-2.66.3/glib/tests/unicode.c:1395: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 four_letter_code[5];
data/glib2.0-2.66.3/glib/tests/unix.c:35: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[1024];
data/glib2.0-2.66.3/glib/tests/utf8-pointer.c:109: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 (str_copy, str, str_size);
data/glib2.0-2.66.3/glib/win_iconv.c:1046: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).
        return atoi(name + 2); /* CP123 */
data/glib2.0-2.66.3/glib/win_iconv.c:1048: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).
        return atoi(name);     /* 123 */
data/glib2.0-2.66.3/glib/win_iconv.c:1050: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).
        return atoi(name + 2); /* XX123 for debug */
data/glib2.0-2.66.3/glib/win_iconv.c:1148: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(p, s, n);
data/glib2.0-2.66.3/glib/win_iconv.c:1399:17:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
    *wbufsize = MultiByteToWideChar(cv->codepage, mbtowc_flags (cv->codepage),
data/glib2.0-2.66.3/glib/win_iconv.c:1468: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 tmpbuf[MB_CHAR_MAX]; /* enough room for one character */
data/glib2.0-2.66.3/glib/win_iconv.c:1481: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(buf, tmpbuf, tmpsize);
data/glib2.0-2.66.3/glib/win_iconv.c:1547:13:  [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, "\xFF\xFE", 2);
data/glib2.0-2.66.3/glib/win_iconv.c:1549:13:  [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, "\xFE\xFF", 2);
data/glib2.0-2.66.3/glib/win_iconv.c:1640:13:  [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, "\xFF\xFE\x00\x00", 4);
data/glib2.0-2.66.3/glib/win_iconv.c:1642:13:  [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, "\x00\x00\xFE\xFF", 4);
data/glib2.0-2.66.3/glib/win_iconv.c:1724: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 tmp[MB_CHAR_MAX];
data/glib2.0-2.66.3/glib/win_iconv.c:1741:30:  [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.
                if (strncmp((char *)buf, iesc[i].esc, bufsize) == 0)
data/glib2.0-2.66.3/glib/win_iconv.c:1746:30:  [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.
                if (strncmp((char *)buf, iesc[i].esc, esc_len) == 0)
data/glib2.0-2.66.3/glib/win_iconv.c:1787: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(tmp, iesc[cs].esc, esc_len);
data/glib2.0-2.66.3/glib/win_iconv.c:1790: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(tmp + esc_len, iso2022_SO_seq, 1);
data/glib2.0-2.66.3/glib/win_iconv.c:1793: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(tmp + esc_len, buf, len);
data/glib2.0-2.66.3/glib/win_iconv.c:1801: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(tmp, iesc[ISO2022JP_CS_JISX0201_KANA].esc, esc_len);
data/glib2.0-2.66.3/glib/win_iconv.c:1802: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(tmp + esc_len, buf, len);
data/glib2.0-2.66.3/glib/win_iconv.c:1828: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 tmp[MB_CHAR_MAX];
data/glib2.0-2.66.3/glib/win_iconv.c:1902:13:  [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, iesc[ISO2022JP_CS_ASCII].esc, esc_len);
data/glib2.0-2.66.3/glib/win_iconv.c:1908:13:  [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, iso2022_SI_seq, 1);
data/glib2.0-2.66.3/glib/win_iconv.c:1915: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(buf, tmp, len + esc_len);
data/glib2.0-2.66.3/glib/win_iconv.c:1939:13:  [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, iso2022_SI_seq, 1);
data/glib2.0-2.66.3/glib/win_iconv.c:1944:13:  [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 + esc_len, iesc[ISO2022JP_CS_ASCII].esc,
data/glib2.0-2.66.3/glib/win_iconv.c:1981: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 inbuf[BUFSIZ];
data/glib2.0-2.66.3/glib/win_iconv.c:1982: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 outbuf[BUFSIZ];
data/glib2.0-2.66.3/glib/win_iconv.c:2016:35:  [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).
            out_allocated = out = fopen(argv[++i], "wb");
data/glib2.0-2.66.3/glib/win_iconv.c:2025:33:  [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).
            in_allocated = in = fopen(argv[i], "rb");
data/glib2.0-2.66.3/glib/win_iconv.c:2051:9:  [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(tocode, "//IGNORE");
data/glib2.0-2.66.3/gmodule/gmodule-ar.c:57: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(file_name, O_RDONLY);
data/glib2.0-2.66.3/gmodule/gmodule-ar.c:69:18:  [2] (integer) atol:
  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).
  first_member = atol(file_header.fl_fstmoff);
data/glib2.0-2.66.3/gmodule/gmodule-ar.c:79:14:  [2] (integer) atol:
  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).
  name_len = atol(ar_header.ar_namlen);
data/glib2.0-2.66.3/gobject/gatomicarray.c:134:7:  [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 (new, old, old_size);
data/glib2.0-2.66.3/gobject/gboxed.c:96: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 (dest, src, sizeof (GPollFD));
data/glib2.0-2.66.3/gobject/gobject-query.c:139: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).
	    spacing = atoi (argv[i]);
data/glib2.0-2.66.3/gobject/gobject.c:2241:15:  [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 (params, stack_params, sizeof stack_params);
data/glib2.0-2.66.3/gobject/gparam.c:748:7:  [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 (dest_value, &tmp_value, sizeof (tmp_value));
data/glib2.0-2.66.3/gobject/gparam.c:946: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 (&pool->mutex, &init_mutex, sizeof (init_mutex));
data/glib2.0-2.66.3/gobject/gparam.c:1594:7:  [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 (priv->default_value.data, default_value.data, sizeof (default_value.data));
data/glib2.0-2.66.3/gobject/gsignal.c:1166: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 (buffer, name, l);
data/glib2.0-2.66.3/gobject/gsignal.c:1174: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 (signal, name, l);
data/glib2.0-2.66.3/gobject/gtype.c:471:7:  [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 (node->supers + 1, pnode->supers, sizeof (GType) * (1 + pnode->n_supers + 1));
data/glib2.0-2.66.3/gobject/gtype.c:2142:7:  [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 (class, pclass, pnode->data->class.class_size);
data/glib2.0-2.66.3/gobject/gtype.c:2143:7:  [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 (G_STRUCT_MEMBER_P (class, ALIGN_STRUCT (node->data->class.class_size)), G_STRUCT_MEMBER_P (pclass, ALIGN_STRUCT (pnode->data->class.class_size)), pnode->data->class.class_private_size);
data/glib2.0-2.66.3/gobject/gtype.c:3557: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 (children, node->children, sizeof (GType) * node->n_children);
data/glib2.0-2.66.3/gobject/gvaluetransform.c:33: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 (&dest_value->data[0], &src_value->data[0], sizeof (src_value->data[0]));
data/glib2.0-2.66.3/gobject/tests/closure.c:155: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 ("/dev/null", O_RDONLY);
data/glib2.0-2.66.3/gobject/tests/properties.c:366: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.
  const char *prop_names[4] = { "foo", "bar", "baz", "quux" };
data/glib2.0-2.66.3/gobject/tests/properties.c:390: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.
  const char *prop_names[4] = { "foo", "bar", "baz", "quux" };
data/glib2.0-2.66.3/gobject/tests/properties.c:448:13:  [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.
      const char *invalid_prop_names[1] = { "foo" };
data/glib2.0-2.66.3/gobject/tests/properties.c:472:13:  [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.
      const char *invalid_prop_names[4] = { "foo", "boo", "moo", "poo" };
data/glib2.0-2.66.3/gobject/tests/properties.c:507: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.
  const char *prop_names[4] = { "foo", "bar", "baz", "quux" };
data/glib2.0-2.66.3/gobject/tests/properties.c:593: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.
  const char *prop_names[3] = { "foo", "bar", "baz" };
data/glib2.0-2.66.3/tests/child-test.c:153:17:  [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).
      int ttl = atoi (argv[1] + 2);
data/glib2.0-2.66.3/tests/file-test.c:50: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 template[32];
data/glib2.0-2.66.3/tests/file-test.c:55: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 chars[62];
data/glib2.0-2.66.3/tests/file-test.c:57:3:  [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 (template, "foobar");
data/glib2.0-2.66.3/tests/file-test.c:65:3:  [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 (template, "foobarXXX");
data/glib2.0-2.66.3/tests/file-test.c:73:3:  [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 (template, "fooXXXXXX");
data/glib2.0-2.66.3/tests/file-test.c:91:3:  [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 (template, "fooXXXXXX.pdf");
data/glib2.0-2.66.3/tests/file-test.c:102: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 template[32], *retval;
data/glib2.0-2.66.3/tests/file-test.c:106:3:  [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 (template, "foodir");
data/glib2.0-2.66.3/tests/file-test.c:114:3:  [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 (template, "foodir");
data/glib2.0-2.66.3/tests/file-test.c:122:3:  [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 (template, "fooXXXXXX");
data/glib2.0-2.66.3/tests/file-test.c:129:3:  [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 (template, "/abc");
data/glib2.0-2.66.3/tests/file-test.c:141:3:  [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 (template, "fooXXXXXX.dir");
data/glib2.0-2.66.3/tests/file-test.c:161: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).
  file = fopen (filename, "w");
data/glib2.0-2.66.3/tests/gio-test.c:130:7:  [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[BUFSIZE];
data/glib2.0-2.66.3/tests/gio-test.c:268:35:  [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).
      nkiddies = (argc == 1 ? 1 : atoi(argv[1]));
data/glib2.0-2.66.3/tests/gio-test.c:374:7:  [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[BUFSIZE];
data/glib2.0-2.66.3/tests/gobject/timeloop-closure.c:197: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).
    n_children = atoi(argv[1]);
data/glib2.0-2.66.3/tests/gobject/timeloop-closure.c:200:15:  [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).
    n_iters = atoi(argv[2]);
data/glib2.0-2.66.3/tests/mainloop-test.c:105: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 buf1[32];
data/glib2.0-2.66.3/tests/mainloop-test.c:106: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 buf2[32];
data/glib2.0-2.66.3/tests/mainloop-test.c:108: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 result[32] = { 0, };
data/glib2.0-2.66.3/tests/mainloop-test.c:119: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 (result, "%d", atoi(buf1) + atoi(buf2));
data/glib2.0-2.66.3/tests/mainloop-test.c:119:26:  [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).
  sprintf (result, "%d", atoi(buf1) + atoi(buf2));
data/glib2.0-2.66.3/tests/mainloop-test.c:119:39:  [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).
  sprintf (result, "%d", atoi(buf1) + atoi(buf2));
data/glib2.0-2.66.3/tests/mainloop-test.c:220: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 buf1[32] = { 0, };
data/glib2.0-2.66.3/tests/mainloop-test.c:221: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 buf2[32] = { 0, };
data/glib2.0-2.66.3/tests/mainloop-test.c:223: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 (buf1, "%d", a);
data/glib2.0-2.66.3/tests/mainloop-test.c:224: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 (buf2, "%d", b);
data/glib2.0-2.66.3/tests/mainloop-test.c:235: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 result[32];
data/glib2.0-2.66.3/tests/mainloop-test.c:241:28:  [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).
  test_data->current_val = atoi (result);
data/glib2.0-2.66.3/tests/mapping-test.c:115: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).
  parent_pid = atoi (argv[2]);
data/glib2.0-2.66.3/tests/spawn-test-win32-gui.c:37: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).
      int infd = atoi (__argv[2]);
data/glib2.0-2.66.3/tests/spawn-test-win32-gui.c:38: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).
      int outfd = atoi (__argv[3]);
data/glib2.0-2.66.3/tests/spawn-test-win32-gui.c:40:7:  [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[100] = {0};
data/glib2.0-2.66.3/tests/spawn-test.c:276:7:  [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[100];
data/glib2.0-2.66.3/tests/testglib.c:404: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 chars[62];
data/glib2.0-2.66.3/tests/testglib.c:1017: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 template[32];
data/glib2.0-2.66.3/tests/testglib.c:1018: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 *name_used, chars[62];
data/glib2.0-2.66.3/tests/testglib.c:1022:3:  [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 (template, "foobar");
data/glib2.0-2.66.3/tests/testglib.c:1028:3:  [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 (template, "fooXXXXXX");
data/glib2.0-2.66.3/tests/testglib.c:1056:3:  [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 (template, "zap" G_DIR_SEPARATOR_S "barXXXXXX");
data/glib2.0-2.66.3/tests/testglib.c:1072:3:  [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 (template, "zap/barXXXXXX");
data/glib2.0-2.66.3/tests/testglib.c:1087:3:  [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 (template, "zapXXXXXX");
data/glib2.0-2.66.3/tests/timeloop-basic.c:175: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).
    n_children = atoi(argv[1]);
data/glib2.0-2.66.3/tests/timeloop-basic.c:178:15:  [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).
    n_iters = atoi(argv[2]);
data/glib2.0-2.66.3/tests/timeloop.c: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).
    n_children = atoi(argv[1]);
data/glib2.0-2.66.3/tests/timeloop.c:194:15:  [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).
    n_iters = atoi(argv[2]);
data/glib2.0-2.66.3/tests/unicode-caseconv.c:13: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[1024];
data/glib2.0-2.66.3/tests/unicode-caseconv.c:27:12:  [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).
  infile = fopen (filename, "r");
data/glib2.0-2.66.3/tests/unicode-caseconv.c:97:12:  [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).
  infile = fopen (filename, "r");
data/glib2.0-2.66.3/tests/unicode-encoding.c:239: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 (utf16_expected, utf16_expected_tmp + 1, sizeof(gunichar2) * n_chars);
data/glib2.0-2.66.3/tests/unicode-encoding.c:249: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 (utf16_expected, utf16_expected_tmp, sizeof(gunichar2) * n_chars);
data/glib2.0-2.66.3/tests/unicode-normalize.c:38:7:  [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.
const char *names[4] = {
data/glib2.0-2.66.3/tests/unicode-normalize.c:115: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 *c[5];
data/glib2.0-2.66.3/tests/unicode-normalize.c:157: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).
    line_to_do = atoi(argv[2]);
data/glib2.0-2.66.3/gio/gaction.c:494:16:  [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).
  target_len = strlen (target);
data/glib2.0-2.66.3/gio/gappinfo.c:161:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  return (* iface->equal) (appinfo1, appinfo2);
data/glib2.0-2.66.3/gio/gappinfo.h:95:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  gboolean     (* equal)                        (GAppInfo           *appinfo1,
data/glib2.0-2.66.3/gio/gapplication-tool.c:119:40:  [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).
              maxwidth = MAX(maxwidth, strlen (_(substvars[i].var)));
data/glib2.0-2.66.3/gio/gapplication-tool.c:138:34:  [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).
        maxwidth = MAX(maxwidth, strlen (topics[i].command));
data/glib2.0-2.66.3/gio/gapplication-tool.c:220:43:  [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).
                id = g_strndup (filename, strlen (filename) - 8);
data/glib2.0-2.66.3/gio/gapplicationcommandline.c:621: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).
  gint length = strlen (name);
data/glib2.0-2.66.3/gio/gcontenttype.c:630: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).
        p = type + strlen (type);
data/glib2.0-2.66.3/gio/gcontenttype.c:632:40:  [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).
      icon_name = g_malloc (p - type + strlen (suffix) + 1);
data/glib2.0-2.66.3/gio/gcontenttype.c:634: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).
      memcpy (icon_name + (p - type), suffix, strlen (suffix));
data/glib2.0-2.66.3/gio/gcontenttype.c:635: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).
      icon_name[(p - type) + strlen (suffix)] = 0;
data/glib2.0-2.66.3/gio/gcontenttype.c:755:11:  [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).
      i = strlen (filename);
data/glib2.0-2.66.3/gio/gcontenttype.c:865:68:  [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).
              mimetype = g_strdup_printf ("%s/%.*s", prefix, (int) strlen (ent->d_name) - 4, ent->d_name);
data/glib2.0-2.66.3/gio/gcontenttype.c:991: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).
  len = strlen (line);
data/glib2.0-2.66.3/gio/gcontenttype.c:1131: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).
          lines = g_strsplit (text + strlen ("MIME-TreeMagic") + 2, "\n", 0);
data/glib2.0-2.66.3/gio/gdatainputstream.c:1084: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).
    stop_chars_len = strlen (stop_chars);
data/glib2.0-2.66.3/gio/gdatainputstream.c:1345: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).
    stop_chars_len = strlen (stop_chars);
data/glib2.0-2.66.3/gio/gdataoutputstream.c:521:14:  [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).
				    str, strlen (str),
data/glib2.0-2.66.3/gio/gdbus-tool.c:1323:14:  [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).
  name_len = strlen (o->name);
data/glib2.0-2.66.3/gio/gdbus-tool.c:1366:14:  [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).
  name_len = strlen (o->name);
data/glib2.0-2.66.3/gio/gdbusaddress.c:510:56:  [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).
      value = g_uri_unescape_segment (s + 1, kv_pair + strlen (kv_pair), NULL);
data/glib2.0-2.66.3/gio/gdbusaddress.c:1172: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).
          s = _g_dbus_hexdump (launch_stdout, strlen (launch_stdout) + 1 + sizeof (pid_t) + sizeof (long), 2);
data/glib2.0-2.66.3/gio/gdbusaddress.c:1433: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).
  s = g_string_sized_new (strlen (string));
data/glib2.0-2.66.3/gio/gdbusauthmechanismanon.c:275:31:  [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).
  *out_initial_response_len = strlen (result);
data/glib2.0-2.66.3/gio/gdbusauthmechanismexternal.c:348: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).
 *out_initial_response_len = strlen (initial_response);
data/glib2.0-2.66.3/gio/gdbusauthmechanismsha1.c:1074: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).
  *out_data_len = strlen (s);
data/glib2.0-2.66.3/gio/gdbusauthmechanismsha1.c:1135:31:  [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).
  *out_initial_response_len = strlen (initial_response);
data/glib2.0-2.66.3/gio/gdbusauthmechanismsha1.c:1138:31:  [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).
  *out_initial_response_len = strlen (initial_response);
data/glib2.0-2.66.3/gio/gdbusauthmechanismsha1.c:1228: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).
  *out_data_len = strlen (m->priv->to_send);
data/glib2.0-2.66.3/gio/gdbusconnection.c:3806: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).
  len_namespace = strlen (namespace);
data/glib2.0-2.66.3/gio/gdbusconnection.c:3807:14:  [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).
  len_name = strlen (name);
data/glib2.0-2.66.3/gio/gdbusconnection.c:3824:11:  [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).
  len_a = strlen (path_a);
data/glib2.0-2.66.3/gio/gdbusconnection.c:3825:11:  [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).
  len_b = strlen (path_b);
data/glib2.0-2.66.3/gio/gdbusconnection.c:4737: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).
  if (g_str_has_prefix (object_path, path) && strlen (object_path) > path_len && object_path[path_len-1] == '/')
data/glib2.0-2.66.3/gio/gdbusconnection.c:4774:14:  [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).
  path_len = strlen (path);
data/glib2.0-2.66.3/gio/gdbusdaemon.c:211:15:  [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).
  gsize len = strlen (value);
data/glib2.0-2.66.3/gio/gdbusdaemon.c:601:10:  [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).
	  len = strlen (element->value);
data/glib2.0-2.66.3/gio/gdbusdaemon.c:616:10:  [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).
	  len = strlen (element->value);
data/glib2.0-2.66.3/gio/gdbusdaemon.c:617:11:  [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).
	  len2 = strlen (value);
data/glib2.0-2.66.3/gio/gdbusdaemon.c:625:10:  [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).
	  len = strlen (element->value);
data/glib2.0-2.66.3/gio/gdbusintrospection.c:1801: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).
                                     strlen (xml_data),
data/glib2.0-2.66.3/gio/gdbusmessage.c:425:44:  [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 g_memory_buffer_write (mbuf, str, strlen (str));
data/glib2.0-2.66.3/gio/gdbusmessage.c:1142:25:  [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).
      type_string_len = strlen (type_string);
data/glib2.0-2.66.3/gio/gdbusmessage.c:2570: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).
              g_memory_buffer_put_byte (mbuf, strlen (signature));
data/glib2.0-2.66.3/gio/gdbusmessage.c:2809: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).
      if (signature != NULL && strlen (signature_str) > 0)
data/glib2.0-2.66.3/gio/gdbusnamewatching.c:348: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).
  if ((old_owner != NULL && strlen (old_owner) > 0) && client->name_owner != NULL)
data/glib2.0-2.66.3/gio/gdbusnamewatching.c:355: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 (new_owner != NULL && strlen (new_owner) > 0)
data/glib2.0-2.66.3/gio/gdbusprivate.c:2177:11:  [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).
				   0, strlen (value) + 1, shm_name);
data/glib2.0-2.66.3/gio/gdbusprivate.c:2391:8:  [1] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer. Risk is low because the source is a constant character.
	      wcscpy (args, L"\"");
data/glib2.0-2.66.3/gio/gdbusproxy.c:1261: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).
  if (strlen (new_owner) == 0)
data/glib2.0-2.66.3/gio/gdbusutils.c:131: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).
  len = strlen (string);
data/glib2.0-2.66.3/gio/gdbusutils.c: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).
  len = strlen (string);
data/glib2.0-2.66.3/gio/gdbusutils.c:252: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).
  len = strlen (string);
data/glib2.0-2.66.3/gio/gdocumentportal.c:188:59:  [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 *basename = g_path_get_basename (uri + strlen ("file:"));
data/glib2.0-2.66.3/gio/gdummyfile.c:242:16:  [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).
  prefix_len = strlen (prefix);
data/glib2.0-2.66.3/gio/gdummyfile.c:452:43:  [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).
    escaped_string_end = escaped_string + strlen (escaped_string);
data/glib2.0-2.66.3/gio/gdummyfile.c:485: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).
  g_warn_if_fail (out - result <= strlen (escaped_string));
data/glib2.0-2.66.3/gio/gdummyfile.c:588:24:  [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).
	  hier_part_end = p + strlen (p);
data/glib2.0-2.66.3/gio/gfile.c:753:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  return (* iface->equal) (file1, file2);
data/glib2.0-2.66.3/gio/gfile.c:8410:48:  [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).
      unescaped = g_uri_unescape_string (uri + strlen ("resource://"), NULL);
data/glib2.0-2.66.3/gio/gfile.h:170:26:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  gboolean            (* equal)                       (GFile         *file1,
data/glib2.0-2.66.3/gio/gfileattribute.c:283: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).
  len = strlen (str);
data/glib2.0-2.66.3/gio/gfilenamecompleter.c:355: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).
  len = strlen (initial_text);
data/glib2.0-2.66.3/gio/gfilenamecompleter.c:435:42:  [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).
	    suffix = g_strdup (possible_match + strlen (prefix));
data/glib2.0-2.66.3/gio/gfilenamecompleter.c:439:26:  [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).
					   possible_match + strlen (prefix));
data/glib2.0-2.66.3/gio/gfilenamecompleter.c:485: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).
			 g_strconcat (initial_text, possible_match + strlen (prefix), NULL));
data/glib2.0-2.66.3/gio/ghttpproxy.c:119:55:  [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).
      base64_cred = g_base64_encode ((guchar *) cred, strlen (cred));
data/glib2.0-2.66.3/gio/ghttpproxy.c:227:48:  [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 (!g_output_stream_write_all (out, buffer, strlen (buffer), NULL,
data/glib2.0-2.66.3/gio/gicon.c:132:20:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  return (* iface->equal) (icon1, icon2);
data/glib2.0-2.66.3/gio/gicon.h:68:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  gboolean    (* equal)       (GIcon   *icon1,
data/glib2.0-2.66.3/gio/gio-tool-mount.c:123: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).
  len = strlen (data);
data/glib2.0-2.66.3/gio/gio-tool-save.c:98:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      res = read (STDIN_FILENO, buffer, STREAM_BUFFER_SIZE);
data/glib2.0-2.66.3/gio/gio-tool-set.c:46: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).
  len = strlen (str);
data/glib2.0-2.66.3/gio/giomodule-priv.c:64:11:  [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).
    len = strlen (bname + prefix_len);
data/glib2.0-2.66.3/gio/giomodule.c:732:31:  [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).
          width = MAX (width, strlen (g_io_extension_get_name (extension)));
data/glib2.0-2.66.3/gio/giowin32-private.c:134:11:  [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).
    len = strlen (filename);
data/glib2.0-2.66.3/gio/gkeyfilesettingsbackend.c:148: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).
  gint key_len = strlen (key);
data/glib2.0-2.66.3/gio/gkeyfilesettingsbackend.c:237:48:  [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).
              GString *s = g_string_sized_new (strlen (str) + 2);
data/glib2.0-2.66.3/gio/gkeyfilesettingsbackend.c:752: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).
        kfsb->prefix_len = strlen (kfsb->prefix);
data/glib2.0-2.66.3/gio/gkeyfilesettingsbackend.c:760: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).
        kfsb->root_group_len = strlen (kfsb->root_group);
data/glib2.0-2.66.3/gio/glib-compile-resources.c:598:14:  [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).
	  key_len = strlen (key);
data/glib2.0-2.66.3/gio/glib-compile-resources.c:681: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).
  str = g_string_sized_new (strlen (string) + 1);
data/glib2.0-2.66.3/gio/glib-compile-resources.c:825: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).
	base[strlen(base) - strlen (".xml")] = 0;
data/glib2.0-2.66.3/gio/glib-compile-resources.c:825: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).
	base[strlen(base) - strlen (".xml")] = 0;
data/glib2.0-2.66.3/gio/glib-compile-resources.c:830:11:  [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).
	    base[strlen(base) - strlen (".gresource")] = 0;
data/glib2.0-2.66.3/gio/glib-compile-resources.c:830:26:  [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).
	    base[strlen(base) - strlen (".gresource")] = 0;
data/glib2.0-2.66.3/gio/glib-compile-resources.c:836: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).
            base[strlen(base) - strlen (".gresource")] = 0;
data/glib2.0-2.66.3/gio/glib-compile-resources.c:836: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).
            base[strlen(base) - strlen (".gresource")] = 0;
data/glib2.0-2.66.3/gio/glib-compile-schemas.c:687:25:  [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).
                  len = strlen (state->l10n_context);
data/glib2.0-2.66.3/gio/glocalfile.c:463:16:  [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).
  prefix_len = strlen (prefix);
data/glib2.0-2.66.3/gio/glocalfile.c:853:9:  [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).
  len = wcslen (result);
data/glib2.0-2.66.3/gio/glocalfile.c:1508: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).
  len = strlen (path_copy);
data/glib2.0-2.66.3/gio/glocalfile.c:1736:16:  [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).
  prefix_len = strlen (prefix);
data/glib2.0-2.66.3/gio/glocalfile.c:1761:26:  [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).
      relative = path2 + strlen (base2);
data/glib2.0-2.66.3/gio/glocalfile.c:1913: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).
  mount_dir_len = strlen (mount_dir);
data/glib2.0-2.66.3/gio/glocalfile.c:1919:23:  [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 (mount_dir_len + strlen ("/lost+found") != strlen (path))
data/glib2.0-2.66.3/gio/glocalfile.c:1919: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).
  if (mount_dir_len + strlen ("/lost+found") != strlen (path))
data/glib2.0-2.66.3/gio/glocalfileinfo.c:358:34:  [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 hex_escape_buffer (str, strlen (str), free_return);
data/glib2.0-2.66.3/gio/glocalfileinfo.c:371: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).
  len = strlen (str);
data/glib2.0-2.66.3/gio/glocalfileinfo.c:552:10:  [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).
	  len = strlen (attr) + 1;
data/glib2.0-2.66.3/gio/glocalfileinfo.c:714:10:  [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).
	  len = strlen (attr) + 1;
data/glib2.0-2.66.3/gio/glocalfileinfo.c:787: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).
      escaped_attribute += strlen ("xattr::");
data/glib2.0-2.66.3/gio/glocalfileinfo.c:793: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).
      escaped_attribute += strlen ("xattr-sys::");
data/glib2.0-2.66.3/gio/glocalfileinfo.c:1111: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).
  remaining_bytes = strlen (name);
data/glib2.0-2.66.3/gio/glocalfileinfo.c:1374:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      res = read (fd, sniff_buffer, sniff_length);
data/glib2.0-2.66.3/gio/glocalfileinfo.c:1404:54:  [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_checksum_update (checksum, (const guchar *) uri, strlen (uri));
data/glib2.0-2.66.3/gio/glocalfileinfo.c:1936:36:  [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 (basename != NULL && basename[strlen (basename) -1] == '~' &&
data/glib2.0-2.66.3/gio/glocalfileinputstream.c:158:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      res = read (file->priv->fd, buffer, count);
data/glib2.0-2.66.3/gio/glocalfileoutputstream.c:785:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      bytes_read = read (sfd, buffer, BUFSIZE);
data/glib2.0-2.66.3/gio/gmemoryinputstream.c:252:11:  [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).
    len = strlen (data);
data/glib2.0-2.66.3/gio/goutputstream.c:608: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).
                                       text, strlen (text),
data/glib2.0-2.66.3/gio/gregistrysettingsbackend.c:255:43:  [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).
  for (c = path_name + (registry_prefix ? strlen (registry_prefix) : 0); *c != 0; c++)
data/glib2.0-2.66.3/gio/gregistrysettingsbackend.c:1058: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).
      value_data_size = (DWORD)((wcslen (value_data) + 1) * sizeof (gunichar2));
data/glib2.0-2.66.3/gio/gresolver.c:302:16:  [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 len = strlen (hostname);
data/glib2.0-2.66.3/gio/gresolver.c:306: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).
  if (len < strlen ("localhost"))
data/glib2.0-2.66.3/gio/gresolver.c:330:57:  [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 g_ascii_strncasecmp (p, "localhost", MAX (len, strlen ("localhost"))) == 0;
data/glib2.0-2.66.3/gio/gresource-tool.c:97: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).
      len = MIN (strlen (child), strlen (prefix));
data/glib2.0-2.66.3/gio/gresource-tool.c:97:34:  [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).
      len = MIN (strlen (child), strlen (prefix));
data/glib2.0-2.66.3/gio/gresource-tool.c:213:43:  [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 (!callback (shdr, section_name + strlen (".gresource."), data))
data/glib2.0-2.66.3/gio/gresource.c:436: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).
        path_len = strlen (path);
data/glib2.0-2.66.3/gio/gresource.c:451: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).
      dst_len = strlen (dst);
data/glib2.0-2.66.3/gio/gresource.c:660:14:  [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).
  path_len = strlen (path);
data/glib2.0-2.66.3/gio/gresource.c:936:14:  [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).
  path_len = strlen (path);
data/glib2.0-2.66.3/gio/gresourcefile.c:181:26:  [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).
  bptr = out = g_malloc (strlen (in) + 2);
data/glib2.0-2.66.3/gio/gresourcefile.c:245: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).
  path = g_uri_unescape_string (uri + strlen ("resource:"), NULL);
data/glib2.0-2.66.3/gio/gresourcefile.c:353:16:  [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).
  prefix_len = strlen (prefix);
data/glib2.0-2.66.3/gio/gsettings-tool.c:199: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 (children[i]) > max)
data/glib2.0-2.66.3/gio/gsettings-tool.c:200: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).
      max = strlen (children[i]);
data/glib2.0-2.66.3/gio/gsettingsbackend.c:717:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ->read (backend, key, expected_type, default_value);
data/glib2.0-2.66.3/gio/gsettingsbackend.h:81:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  GVariant *    (*read)             (GSettingsBackend    *backend,
data/glib2.0-2.66.3/gio/gsettingsschema.c:1070:25:  [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).
          gint length = strlen (key);
data/glib2.0-2.66.3/gio/gsimpleproxyresolver.c:235:23:  [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).
      domain.length = strlen (domain.name);
data/glib2.0-2.66.3/gio/gsimpleproxyresolver.c: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).
        length = strlen (host);
data/glib2.0-2.66.3/gio/gsocket.c:2250: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).
      size_t if_name_len = strlen (name_or_ip);
data/glib2.0-2.66.3/gio/gsocket.c:2566:34:  [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 if_name_len = strlen (iface);
data/glib2.0-2.66.3/gio/gsocks4aproxy.c:131:24:  [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).
      gsize user_len = strlen (username);
data/glib2.0-2.66.3/gio/gsocks4aproxy.c:148:24:  [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).
      gsize host_len = strlen (hostname);
data/glib2.0-2.66.3/gio/gsocks4aproxy.c:389:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  gssize read;
data/glib2.0-2.66.3/gio/gsocks4aproxy.c:394:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read < 0)
data/glib2.0-2.66.3/gio/gsocks4aproxy.c:401:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  data->offset += read;
data/glib2.0-2.66.3/gio/gsocks5proxy.c:212: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).
    ulen = strlen (username);
data/glib2.0-2.66.3/gio/gsocks5proxy.c:215: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).
    plen = strlen (password);
data/glib2.0-2.66.3/gio/gsocks5proxy.c:295:24:  [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).
      gsize host_len = strlen (hostname);
data/glib2.0-2.66.3/gio/gsocks5proxy.c:708:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  gssize read;
data/glib2.0-2.66.3/gio/gsocks5proxy.c:713:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read < 0)
data/glib2.0-2.66.3/gio/gsocks5proxy.c:720:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  data->offset += read;
data/glib2.0-2.66.3/gio/gsocks5proxy.c:812:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  gssize read;
data/glib2.0-2.66.3/gio/gsocks5proxy.c:817:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read < 0)
data/glib2.0-2.66.3/gio/gsocks5proxy.c:824:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  data->offset += read;
data/glib2.0-2.66.3/gio/gsocks5proxy.c:914:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  gssize read;
data/glib2.0-2.66.3/gio/gsocks5proxy.c:919:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read < 0)
data/glib2.0-2.66.3/gio/gsocks5proxy.c:926:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  data->offset += read;
data/glib2.0-2.66.3/gio/gsocks5proxy.c:974:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  gssize read;
data/glib2.0-2.66.3/gio/gsocks5proxy.c:979:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read < 0)
data/glib2.0-2.66.3/gio/gsocks5proxy.c:1000:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  gssize read;
data/glib2.0-2.66.3/gio/gsocks5proxy.c:1005:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read < 0)
data/glib2.0-2.66.3/gio/gsocks5proxy.c:1012:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  data->offset += read;
data/glib2.0-2.66.3/gio/gsubprocess.c:1832: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).
    stdin_buf_len = strlen (stdin_buf);
data/glib2.0-2.66.3/gio/gsubprocess.c:1872: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).
    stdin_buf_len = strlen (stdin_buf);
data/glib2.0-2.66.3/gio/gthemedicon.c:276:50:  [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).
        name = g_strndup (themed->init_names[i], strlen (themed->init_names[i]) - 9);
data/glib2.0-2.66.3/gio/gthemedicon.c:332:36:  [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).
        variant = g_strndup (name, strlen (name) - 9);
data/glib2.0-2.66.3/gio/gtlscertificate.c:248: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).
  header_end += strlen (PEM_PRIVKEY_HEADER_END);
data/glib2.0-2.66.3/gio/gtlscertificate.c:268: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).
  footer_end += strlen (PEM_PRIVKEY_FOOTER_END);
data/glib2.0-2.66.3/gio/gtlscertificate.c:303:10:  [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).
  end += strlen (PEM_CERTIFICATE_FOOTER);
data/glib2.0-2.66.3/gio/gtlscertificate.c:483:14:  [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).
    length = strlen (data);
data/glib2.0-2.66.3/gio/gtlscertificate.c:737:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  gboolean equal;
data/glib2.0-2.66.3/gio/gtlscertificate.c:751:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  return equal;
data/glib2.0-2.66.3/gio/gtlspassword.c:96:14:  [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).
    length = strlen ((gchar*) value);
data/glib2.0-2.66.3/gio/gtlspassword.c:290:14:  [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).
    length = strlen ((gchar *)value);
data/glib2.0-2.66.3/gio/gunixinputstream.c:373:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      res = read (unix_stream->priv->fd, buffer, count);
data/glib2.0-2.66.3/gio/gunixmounts.c:1252:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((c = getc (fd)) == '*')
data/glib2.0-2.66.3/gio/gunixmounts.c:1254:20:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while (((c = getc (fd)) != '\n') && (c != EOF))
data/glib2.0-2.66.3/gio/gunixmounts.c:1323: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).
  word[strlen(word) - 1] = 0;
data/glib2.0-2.66.3/gio/gunixmounts.c:1331:16:  [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 (word[strlen(word) - 1] == ':')
data/glib2.0-2.66.3/gio/gunixmounts.c:2581: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).
      const char *name = mount_path + strlen ("/");
data/glib2.0-2.66.3/gio/gunixmounts.c:2901: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).
          if (strncmp (mount_path, "/run/media/", strlen ("/run/media/")) == 0)
data/glib2.0-2.66.3/gio/gunixmounts.c:2907: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).
          user_name_len = strlen (user_name);
data/glib2.0-2.66.3/gio/gunixmounts.c:2908: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).
          if (strncmp (mount_path, "/run/media/", strlen ("/run/media/")) == 0 &&
data/glib2.0-2.66.3/gio/gunixmounts.c:2909: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).
              strncmp (mount_path + strlen ("/run/media/"), user_name, user_name_len) == 0 &&
data/glib2.0-2.66.3/gio/gunixmounts.c:2910:26:  [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).
              mount_path[strlen ("/run/media/") + user_name_len] == '/')
data/glib2.0-2.66.3/gio/gunixmounts.c:2946: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).
          mount_path[strlen (g_get_home_dir())] == G_DIR_SEPARATOR)
data/glib2.0-2.66.3/gio/gunixmounts.c:3124:23:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
                      strncpy (real_dev_root, entp->mnt_fsname, sizeof (real_dev_root) - 1);
data/glib2.0-2.66.3/gio/gunixmounts.c:3147:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
              strncpy (real_dev_root, resolved, sizeof (real_dev_root) - 1);
data/glib2.0-2.66.3/gio/gunixsocketaddress.c:109: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).
	  address->priv->path_len = strlen (address->priv->path);
data/glib2.0-2.66.3/gio/gunixsocketaddress.c:461:16:  [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).
    path_len = strlen (path);
data/glib2.0-2.66.3/gio/gvdb/gvdb-builder.c:288: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).
  length = strlen (string);
data/glib2.0-2.66.3/gio/gvdb/gvdb-builder.c:392:36:  [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).
            basename = item->key + strlen (item->parent->key);
data/glib2.0-2.66.3/gio/gvdb/gvdb-reader.c:443: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).
                  parent_length = strlen (parent_name);
data/glib2.0-2.66.3/gio/gwin32appinfo.c:592:17:  [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).
      length += wcslen (component);
data/glib2.0-2.66.3/gio/gwin32appinfo.c:607:16:  [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).
      length = wcslen (component);
data/glib2.0-2.66.3/gio/gwin32networkmonitor.c:268:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  gboolean read;
data/glib2.0-2.66.3/gio/gwin32networkmonitor.c:276:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if (read)
data/glib2.0-2.66.3/gio/gwin32registrykey.c:134:18:  [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).
      str_size = wcslen (str) + 1;
data/glib2.0-2.66.3/gio/gwin32registrykey.c:568:29:  [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).
    first_chunk_end = &path[wcslen (path)];
data/glib2.0-2.66.3/gio/gwin32registrykey.c:694:16:  [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).
  subkey_len = wcslen (subkey);
data/glib2.0-2.66.3/gio/gwin32registrykey.c:721:18:  [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).
      g_malloc ((wcslen (key_path) + 2 + subkey_len) * sizeof (gunichar2));
data/glib2.0-2.66.3/gio/gwin32registrykey.c:724:3:  [1] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Risk is low because the source is a constant
  character.
  wcscat (&result->priv->absolute_path_w[wcslen (key_path)], L"\\");
data/glib2.0-2.66.3/gio/gwin32registrykey.c:724:42:  [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).
  wcscat (&result->priv->absolute_path_w[wcslen (key_path)], L"\\");
data/glib2.0-2.66.3/gio/gwin32registrykey.c:725:42:  [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).
  wcscat (&result->priv->absolute_path_w[wcslen (key_path) + 1], subkey);
data/glib2.0-2.66.3/gio/gwin32volumemonitor.c:171:24:  [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).
      guint trailing = wcslen (wc_name) - 1;
data/glib2.0-2.66.3/gio/gzlibcompressor.c:86: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).
  compressor->gzheader.name_max = filename ? strlen (filename) + 1 : 0;
data/glib2.0-2.66.3/gio/inotify/inotify-kernel.c:149:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  result = read (iks->fd, buffer, buffer_len);
data/glib2.0-2.66.3/gio/inotify/inotify-sub.c:37:16:  [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 len = strlen (d_dirname);
data/glib2.0-2.66.3/gio/strinfo.c:126:10:  [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 = strlen (string);
data/glib2.0-2.66.3/gio/tests/actions.c:586:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  gboolean equal;
data/glib2.0-2.66.3/gio/tests/actions.c:598:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  for (i = 0; equal && alist[i]; i++)
data/glib2.0-2.66.3/gio/tests/actions.c:605:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          equal = equal && (aenabled == benabled);
data/glib2.0-2.66.3/gio/tests/actions.c:606:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          equal = equal && ((!aparameter_type && !bparameter_type) || g_variant_type_equal (aparameter_type, bparameter_type));
data/glib2.0-2.66.3/gio/tests/actions.c:607:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          equal = equal && ((!astate_type && !bstate_type) || g_variant_type_equal (astate_type, bstate_type));
data/glib2.0-2.66.3/gio/tests/actions.c:608:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          equal = equal && ((!astate_hint && !bstate_hint) || g_variant_equal (astate_hint, bstate_hint));
data/glib2.0-2.66.3/gio/tests/actions.c:609:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          equal = equal && ((!astate && !bstate) || g_variant_equal (astate, bstate));
data/glib2.0-2.66.3/gio/tests/actions.c:627:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  return equal;
data/glib2.0-2.66.3/gio/tests/async-splice-output-stream.c:71: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_assert_cmpint (bytes_spliced, ==, strlen (data->data));
data/glib2.0-2.66.3/gio/tests/async-splice-output-stream.c:134: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).
                           data.data, strlen (data.data),
data/glib2.0-2.66.3/gio/tests/buffered-input-stream.c:42:94:  [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_assert_cmpint (g_buffered_input_stream_get_available (G_BUFFERED_INPUT_STREAM (in)), ==, strlen ("abcdefjhijk"));
data/glib2.0-2.66.3/gio/tests/buffered-input-stream.c:77:71:  [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).
  nfill = g_buffered_input_stream_fill (G_BUFFERED_INPUT_STREAM (in), strlen ("abcdefghijk"), NULL, NULL);
data/glib2.0-2.66.3/gio/tests/buffered-input-stream.c:104: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).
  g_buffered_input_stream_fill (G_BUFFERED_INPUT_STREAM (in), strlen ("abcdefghijk"), NULL, NULL);
data/glib2.0-2.66.3/gio/tests/converter-stream.c:837:15:  [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).
  count = 2 * strlen (test->text_out);
data/glib2.0-2.66.3/gio/tests/converter-stream.c:844:40:  [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_assert_cmpint (bytes_read, ==, strlen (test->text_out));
data/glib2.0-2.66.3/gio/tests/converter-stream.c:871:15:  [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).
  count = 2 * strlen (test->text_out);
data/glib2.0-2.66.3/gio/tests/converter-stream.c:877:36:  [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_assert_cmpint (bytes_read, ==, strlen (test->text_out));
data/glib2.0-2.66.3/gio/tests/data-input-stream.c:260: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).
	  g_assert_cmpint (strlen (data), ==, DATA_PART_LEN);
data/glib2.0-2.66.3/gio/tests/data-input-stream.c:314: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).
          g_assert_cmpint (strlen (data), ==, DATA_PART_LEN);
data/glib2.0-2.66.3/gio/tests/data-output-stream.c:73:23:  [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).
  lines = g_malloc0 ((strlen (TEST_STRING) + strlen (endl[newline_type])) * MAX_LINES + 1);
data/glib2.0-2.66.3/gio/tests/data-output-stream.c:73: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).
  lines = g_malloc0 ((strlen (TEST_STRING) + strlen (endl[newline_type])) * MAX_LINES + 1);
data/glib2.0-2.66.3/gio/tests/data-output-stream.c:86: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).
      g_stpcpy ((char*)(lines + i*strlen(s)), s);
data/glib2.0-2.66.3/gio/tests/data-output-stream.c:99:10:  [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 = strlen (data);
data/glib2.0-2.66.3/gio/tests/dbus-launch.c:74: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).
  write_all (addr, strlen (addr) + 1);
data/glib2.0-2.66.3/gio/tests/echo-server.c:28:44:  [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_output_stream_write_all (out, MESSAGE, strlen (MESSAGE),
data/glib2.0-2.66.3/gio/tests/file.c:230: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).
  if (data->pos < strlen (data->data))
data/glib2.0-2.66.3/gio/tests/file.c:234:34:  [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).
                                 strlen (data->data) - data->pos,
data/glib2.0-2.66.3/gio/tests/file.c:278: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).
                             strlen (data->data) - data->pos,
data/glib2.0-2.66.3/gio/tests/file.c:286: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).
                             strlen (data->data) - data->pos,
data/glib2.0-2.66.3/gio/tests/file.c:312: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).
  data->buffer = g_new0 (gchar, strlen (data->data) + 1);
data/glib2.0-2.66.3/gio/tests/file.c:358: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).
  if (data->pos < strlen (data->data))
data/glib2.0-2.66.3/gio/tests/file.c:362:36:  [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).
                                   strlen (data->data) - data->pos,
data/glib2.0-2.66.3/gio/tests/file.c:411: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).
                               strlen (data->data),
data/glib2.0-2.66.3/gio/tests/file.c:419: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).
                               strlen (data->data),
data/glib2.0-2.66.3/gio/tests/file.c:588: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).
  g_assert_cmpint (length, ==, strlen (data->data));
data/glib2.0-2.66.3/gio/tests/file.c:600: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).
                                     strlen (data->data),
data/glib2.0-2.66.3/gio/tests/file.c:660:34:  [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).
                                 strlen (data->data),
data/glib2.0-2.66.3/gio/tests/file.c:699: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).
                           strlen (original_data),
data/glib2.0-2.66.3/gio/tests/file.c:708:44:  [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).
                             replace_data, strlen (replace_data),
data/glib2.0-2.66.3/gio/tests/file.c:711: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).
  g_assert_cmpint (nwrote, ==, strlen (replace_data));
data/glib2.0-2.66.3/gio/tests/file.c:854:26:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  mode_t current_umask = umask (0);
data/glib2.0-2.66.3/gio/tests/file.c:883:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask (current_umask);
data/glib2.0-2.66.3/gio/tests/file.c:1156: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).
  len = strlen ("test_load_bytes");
data/glib2.0-2.66.3/gio/tests/file.c:1208: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).
  len = strlen ("test_load_bytes_async");
data/glib2.0-2.66.3/gio/tests/g-file.c:30:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  gboolean equal;
data/glib2.0-2.66.3/gio/tests/g-file.c:85:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  gboolean equal;
data/glib2.0-2.66.3/gio/tests/g-file.c:106:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  return equal;
data/glib2.0-2.66.3/gio/tests/g-file.c:135:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      g_assert_cmpint (equal, ==, cmp_paths[i].equal);
data/glib2.0-2.66.3/gio/tests/g-file.c:135:48:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      g_assert_cmpint (equal, ==, cmp_paths[i].equal);
data/glib2.0-2.66.3/gio/tests/g-file.c:164:24:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      g_assert_cmpint (equal, ==, cmp_uris[i].equal);
data/glib2.0-2.66.3/gio/tests/g-file.c:164:47:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      g_assert_cmpint (equal, ==, cmp_uris[i].equal);
data/glib2.0-2.66.3/gio/tests/g-file.c:175:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  gboolean equal;
data/glib2.0-2.66.3/gio/tests/g-file.c:193:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  return equal;
data/glib2.0-2.66.3/gio/tests/g-file.c:225:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  gboolean equal;
data/glib2.0-2.66.3/gio/tests/g-file.c:256:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  return equal;
data/glib2.0-2.66.3/gio/tests/g-file.c:428:61:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      char *s = get_relative_path (dirs[i].use_uri, dirs[i].equal, dirs[i].path1, dirs[i].path2);
data/glib2.0-2.66.3/gio/tests/g-file.c:429:19:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      if (dirs[i].equal) 
data/glib2.0-2.66.3/gio/tests/g-file.c:502:56:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
    roundtrip_parent_child (paths[i].use_uri, paths[i].equal, paths[i].path1, paths[i].path2);
data/glib2.0-2.66.3/gio/tests/g-icon.c:582: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).
  bytes = g_bytes_new_static (data, strlen (data));
data/glib2.0-2.66.3/gio/tests/gapplication.c:35: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).
  len = strlen (expected);
data/glib2.0-2.66.3/gio/tests/gapplication.c:37:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  actual = read (fd, buffer, len + 100);
data/glib2.0-2.66.3/gio/tests/gdbus-connection-slow.c:165: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).
  g_assert_cmpint (strlen (reply), >, LARGE_MESSAGE_STRING_LENGTH);
data/glib2.0-2.66.3/gio/tests/gdbus-connection.c:926:59:  [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 (g_strcmp0 (name, "com.example.TestService") == 0 && strlen (new_owner) > 0)
data/glib2.0-2.66.3/gio/tests/gdbus-example-subtree.c:140: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).
  if (strlen (node) == 4)
data/glib2.0-2.66.3/gio/tests/gdbus-example-subtree.c:273:11:  [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 (node) == 4)
data/glib2.0-2.66.3/gio/tests/gdbus-example-subtree.c:302:11:  [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 (node) == 4)
data/glib2.0-2.66.3/gio/tests/gdbus-example-unix-fd-client.c:89: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).
      len = strlen (str);
data/glib2.0-2.66.3/gio/tests/gdbus-peer.c:702:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      num_read = read (fd, buf, sizeof (buf));
data/glib2.0-2.66.3/gio/tests/gdbus-peer.c:1296:3:  [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 (100 * 1000);
data/glib2.0-2.66.3/gio/tests/gdbus-proxy.c:392: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).
  g_assert_cmpuint (strlen (data->s->str), >, 0);
data/glib2.0-2.66.3/gio/tests/gdbus-proxy.c:435: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).
  g_assert_cmpuint (strlen (s->str), ==, 0);
data/glib2.0-2.66.3/gio/tests/gdbus-serialization.c:507: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).
  len = strlen (s);
data/glib2.0-2.66.3/gio/tests/gdbus-serialization.c:780:16:  [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).
  gsize slen = strlen (before) + 1;
data/glib2.0-2.66.3/gio/tests/gdbus-serialization.c:782: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).
  g_assert_cmpuint (strlen (before), ==, strlen (after));
data/glib2.0-2.66.3/gio/tests/gdbus-serialization.c:782:42:  [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_assert_cmpuint (strlen (before), ==, strlen (after));
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:558:11:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          equal &= b_value && g_variant_equal (a_value, b_value);
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:569:11:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          equal &= a_value && g_variant_equal (a_value, b_value);
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:580:11:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          equal &= b_menu && check_menus_equal (a_menu, b_menu);
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:591:11:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
          equal &= a_menu && check_menus_equal (a_menu, b_menu);
data/glib2.0-2.66.3/gio/tests/gmenumodel.c:599:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  return equal;
data/glib2.0-2.66.3/gio/tests/gsubprocess-testprog.c:43: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).
      write_all (1, (guint8*)argv[i], strlen (argv[i]));
data/glib2.0-2.66.3/gio/tests/gsubprocess-testprog.c:58: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).
      write_all (1, (guint8*)argv[i], strlen (argv[i]));
data/glib2.0-2.66.3/gio/tests/gsubprocess-testprog.c:60: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).
      write_all (2, (guint8*)argv[i], strlen (argv[i]));
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:20:36:  [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).
#define SPLICELEN (TOTAL_HELLOS * (strlen (HELLO_WORLD) + 1)) /* because \r */
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:24: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).
#define SPLICELEN (TOTAL_HELLOS * strlen (HELLO_WORLD))
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:438: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).
  input_buf = g_bytes_new_static ("hello, world!", strlen ("hello, world!"));
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:583:43:  [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).
                                          strlen (HELLO_WORLD), &bytes_written,
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:732:24:  [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).
          stdout_len = strlen (stdout_str);
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:737:79:  [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_assert_cmpmem (stdout_data, stdout_len, "# hello world" LINEEND, 13 + strlen (LINEEND));
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:788:44:  [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).
  input = g_bytes_new_static (hellostring, strlen (hellostring));
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:831:44:  [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).
  input = g_bytes_new_static (hellostring, strlen (hellostring));
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:839:79:  [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_assert_cmpmem (stdout_data, stdout_len, "# hello world" LINEEND, 13 + strlen (LINEEND));
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:874:44:  [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).
  input = g_bytes_new_static (hellostring, strlen (hellostring));
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:992:44:  [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).
  input = g_bytes_new_static (hellostring, strlen (hellostring));
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1516:55:  [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_output_stream_write_all (stdin_stream, test_data, strlen (test_data), NULL, NULL, error);
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1568:55:  [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_output_stream_write_all (stdin_stream, test_data, strlen (test_data), NULL, NULL, error);
data/glib2.0-2.66.3/gio/tests/gsubprocess.c:1626:55:  [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_output_stream_write_all (stdin_stream, test_data, strlen (test_data), NULL, NULL, error);
data/glib2.0-2.66.3/gio/tests/gtlsconsoleinteraction.c:59:16:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      buf[i] = getc (stdin);
data/glib2.0-2.66.3/gio/tests/httpd.c:25:40:  [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_output_stream_write_all (out, res, strlen (res), NULL, NULL, NULL);
data/glib2.0-2.66.3/gio/tests/live-g-file.c:500:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  gssize read, total_read;
data/glib2.0-2.66.3/gio/tests/live-g-file.c:569:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      total_read += read;
data/glib2.0-2.66.3/gio/tests/live-g-file.c:571:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	   read, total_read, PATTERN_FILE_SIZE);
data/glib2.0-2.66.3/gio/tests/memory-input-stream.c:46: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).
  len = strlen (data1) + strlen (data2);
data/glib2.0-2.66.3/gio/tests/memory-input-stream.c:46:26:  [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).
  len = strlen (data1) + strlen (data2);
data/glib2.0-2.66.3/gio/tests/memory-input-stream.c:123: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).
  len = strlen (data1) + strlen (data2);
data/glib2.0-2.66.3/gio/tests/memory-input-stream.c:123:26:  [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).
  len = strlen (data1) + strlen (data2);
data/glib2.0-2.66.3/gio/tests/memory-output-stream.c:288: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).
  bytes = g_bytes_new_static ("hello world!", strlen ("hello world!") + 1);
data/glib2.0-2.66.3/gio/tests/memory-output-stream.c:421:50:  [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_assert_cmpint (g_bytes_get_size (bytes), ==, strlen ("hello world!") + 1);
data/glib2.0-2.66.3/gio/tests/proxy-test.c:850:48:  [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_output_stream_write_all (ostream, testbuf, strlen (testbuf),
data/glib2.0-2.66.3/gio/tests/proxy-test.c:853: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).
  g_assert_cmpint (nwrote, ==, strlen (testbuf));
data/glib2.0-2.66.3/gio/tests/readwrite.c:60:25:  [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).
  verify_pos (iostream, strlen (original_data) - 10);
data/glib2.0-2.66.3/gio/tests/readwrite.c:64:53:  [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_assert_cmpmem (buffer, n_bytes, original_data + strlen (original_data) - 10, 10);
data/glib2.0-2.66.3/gio/tests/readwrite.c:66:25:  [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).
  verify_pos (iostream, strlen (original_data));
data/glib2.0-2.66.3/gio/tests/readwrite.c:77: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).
  g_assert (res == strlen (original_data) - 15);
data/glib2.0-2.66.3/gio/tests/readwrite.c:78:25:  [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).
  verify_pos (iostream, strlen (original_data));
data/glib2.0-2.66.3/gio/tests/readwrite.c:86: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).
  res = g_output_stream_write_all (out, new_data, strlen (new_data),
data/glib2.0-2.66.3/gio/tests/readwrite.c:89: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).
  g_assert_cmpint (n_bytes, ==, strlen (new_data));
data/glib2.0-2.66.3/gio/tests/readwrite.c:91: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).
  verify_pos (iostream, 10 + strlen (new_data));
data/glib2.0-2.66.3/gio/tests/readwrite.c:99: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).
  res = g_input_stream_read_all (in, buffer, strlen (original_data), &n_bytes, NULL, NULL);
data/glib2.0-2.66.3/gio/tests/readwrite.c:101: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).
  g_assert_cmpint ((int)n_bytes, ==, strlen (original_data));
data/glib2.0-2.66.3/gio/tests/readwrite.c:105:41:  [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).
  memcpy (modified_data + 10, new_data, strlen (new_data));
data/glib2.0-2.66.3/gio/tests/readwrite.c:108:25:  [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).
  verify_pos (iostream, strlen (original_data));
data/glib2.0-2.66.3/gio/tests/readwrite.c:124: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).
  res = g_output_stream_write_all (out, new_data, strlen (new_data),
data/glib2.0-2.66.3/gio/tests/readwrite.c:211:56:  [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).
  res = g_output_stream_write_all (out, original_data, strlen (original_data),
data/glib2.0-2.66.3/gio/tests/readwrite.c:214: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).
  g_assert_cmpint (n_bytes, ==, strlen (original_data));
data/glib2.0-2.66.3/gio/tests/readwrite.c:267:56:  [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).
  res = g_output_stream_write_all (out, original_data, strlen (original_data),
data/glib2.0-2.66.3/gio/tests/readwrite.c:270: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).
  g_assert_cmpint (n_bytes, ==, strlen (original_data));
data/glib2.0-2.66.3/gio/tests/send-data.c:170: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).
      if (!g_output_stream_write_all (out, buffer, strlen (buffer),
data/glib2.0-2.66.3/gio/tests/sleepy-stream.c:116: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).
      length = MIN (strlen (sleepy->current), length);
data/glib2.0-2.66.3/gio/tests/sleepy-stream.c:177: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).
  g_assert (strlen (str) == length);
data/glib2.0-2.66.3/gio/tests/sleepy-stream.c:252: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).
      g_assert (length == strlen (str));
data/glib2.0-2.66.3/gio/tests/slow-connect-preload.c:41:3:  [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 (600 * 1000);
data/glib2.0-2.66.3/gio/tests/socket-client.c:332: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).
      to_send = strlen (buffer);
data/glib2.0-2.66.3/gio/tests/socket-common.c:52: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).
      len = strlen (unix_socket_address_types[i]);
data/glib2.0-2.66.3/gio/tests/socket.c:218: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).
  g_assert_cmpint (len, ==, strlen (testbuf) + 1);
data/glib2.0-2.66.3/gio/tests/socket.c:239:41:  [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).
  len = g_socket_send (client, testbuf, strlen (testbuf) + 1, NULL, &error);
data/glib2.0-2.66.3/gio/tests/socket.c:241: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).
  g_assert_cmpint (len, ==, strlen (testbuf) + 1);
data/glib2.0-2.66.3/gio/tests/socket.c:405:59:  [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).
      len = g_socket_send_with_blocking (client, testbuf, strlen (testbuf) + 1,
data/glib2.0-2.66.3/gio/tests/socket.c:493:41:  [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).
  len = g_socket_send (client, testbuf, strlen (testbuf) + 1, NULL, &error);
data/glib2.0-2.66.3/gio/tests/socket.c:495: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).
  g_assert_cmpint (len, ==, strlen (testbuf) + 1);
data/glib2.0-2.66.3/gio/tests/socket.c:499: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).
  g_assert_cmpint (len, ==, strlen (testbuf) + 1);
data/glib2.0-2.66.3/gio/tests/socket.c:519: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).
    v[6].size = strlen (testbuf2) - (3 + 5 + 6 + 2 + 1);
data/glib2.0-2.66.3/gio/tests/socket.c:523:31:  [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_assert_cmpint (len, ==, strlen (testbuf2));
data/glib2.0-2.66.3/gio/tests/socket.c:528:31:  [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_assert_cmpint (len, ==, strlen (testbuf2));
data/glib2.0-2.66.3/gio/tests/socket.c:547:45:  [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).
      len = g_socket_send (client, testbuf, strlen (testbuf) + 1, NULL, &error);
data/glib2.0-2.66.3/gio/tests/socket.c:618:55:  [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).
  len = g_socket_send_to (client, dest_addr, testbuf, strlen (testbuf) + 1, NULL, &error);
data/glib2.0-2.66.3/gio/tests/socket.c:620: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).
  g_assert_cmpint (len, ==, strlen (testbuf) + 1);
data/glib2.0-2.66.3/gio/tests/socket.c:624: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).
  g_assert_cmpint (len, ==, strlen (testbuf) + 1);
data/glib2.0-2.66.3/gio/tests/socket.c:647: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).
    v[6].size = strlen (testbuf2) - (3 + 5 + 6 + 2 + 1);
data/glib2.0-2.66.3/gio/tests/socket.c:666:31:  [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_assert_cmpint (len, ==, strlen (testbuf2));
data/glib2.0-2.66.3/gio/tests/socket.c:671:31:  [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_assert_cmpint (len, ==, strlen (testbuf2));
data/glib2.0-2.66.3/gio/tests/socket.c:955: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).
  len = g_socket_send (sock, testbuf, strlen (testbuf) + 1, NULL, &error);
data/glib2.0-2.66.3/gio/tests/socket.c:957: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).
  g_assert_cmpint (len, ==, strlen (testbuf) + 1);
data/glib2.0-2.66.3/gio/tests/socket.c:1016:40:  [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).
  len = g_socket_receive (client, buf, strlen (testbuf) + 1, NULL, &error);
data/glib2.0-2.66.3/gio/tests/socket.c:1018: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).
  g_assert_cmpint (len, ==, strlen (testbuf) + 1);
data/glib2.0-2.66.3/gio/tests/socket.c:1267:42:  [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).
  len = g_socket_send (client2, testbuf, strlen (testbuf) + 1, NULL, &error);
data/glib2.0-2.66.3/gio/tests/socket.c:1269: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).
  g_assert_cmpint (len, ==, strlen (testbuf) + 1);
data/glib2.0-2.66.3/gio/tests/socket.c:1273: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).
  g_assert_cmpint (len, ==, strlen (testbuf) + 1);
data/glib2.0-2.66.3/gio/tests/socket.c:1467:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	len = read (pv[0], buffer, sizeof buffer);
data/glib2.0-2.66.3/gio/tests/stream-rw_all.c:33:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  gsize read;
data/glib2.0-2.66.3/gio/tests/stream-rw_all.c:35:79:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  success = g_input_stream_read_all_finish (G_INPUT_STREAM (source), result, &read, NULL);
data/glib2.0-2.66.3/gio/tests/stream-rw_all.c:37:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  g_assert_cmpint (expected_read, ==, read);
data/glib2.0-2.66.3/gio/tests/stream-rw_all.c:43:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
               gsize    read)
data/glib2.0-2.66.3/gio/tests/stream-rw_all.c:47:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  expected_read = read;
data/glib2.0-2.66.3/gio/tests/task.c:1392: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).
  g_assert_cmpint (strlen (buf), ==, NUM_OVERFLOW_TASKS);
data/glib2.0-2.66.3/gio/tests/testfilemonitor.c:214:11:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      if (mismatch)
data/glib2.0-2.66.3/gio/tests/unix-fd.c:217: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).
  s = write (sv[0], buffer, strlen (buffer) + 1);
data/glib2.0-2.66.3/gio/tests/unix-fd.c:218: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).
  g_assert_cmpint (s, ==, strlen (buffer) + 1);
data/glib2.0-2.66.3/gio/tests/unix-fd.c:223:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  s = read (peek[0], buffer, sizeof buffer);
data/glib2.0-2.66.3/gio/tests/unix-streams.c:517:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read_complete += read;
data/glib2.0-2.66.3/gio/tests/unix-streams.c:523:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (read > 0)
data/glib2.0-2.66.3/gio/tests/unix-streams.c:524:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          g_assert_cmpmem (data_read, read, data_write, sizeof (data_write));
data/glib2.0-2.66.3/gio/tests/unix-streams.c:526:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (read > 0);
data/glib2.0-2.66.3/gio/tests/unix-streams.c:609:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        read_complete += read;
data/glib2.0-2.66.3/gio/tests/unix-streams.c:615:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (read > 0)
data/glib2.0-2.66.3/gio/tests/unix-streams.c:616:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          g_assert_cmpmem (data_read, read, data_write, sizeof (data_write));
data/glib2.0-2.66.3/gio/tests/unix-streams.c:618:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while (read > 0);
data/glib2.0-2.66.3/gio/tests/win32-streams.c:297:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  gsize read;
data/glib2.0-2.66.3/gio/tests/win32-streams.c:303:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                             &read, NULL, &err);
data/glib2.0-2.66.3/gio/tests/win32-streams.c:305:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    g_assert_cmpuint (read, ==, sizeof (p->buf));
data/glib2.0-2.66.3/gio/tests/win32-streams.c:394:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  gsize read;
data/glib2.0-2.66.3/gio/tests/win32-streams.c:397:60:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  p->success = g_input_stream_read_all (p->in, p->buf, 1, &read, p->cancellable, &err);
data/glib2.0-2.66.3/gio/tests/win32-streams.c:404:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      g_assert_cmpuint (read, ==, 1);
data/glib2.0-2.66.3/gio/tests/win32-streams.c:450:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read (writer_pipe[0], &c, 1);
data/glib2.0-2.66.3/gio/thumbnail-verify.c:87:23:  [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).
      expected_size = strlen (expected_info->uri);
data/glib2.0-2.66.3/gio/win32/gwin32fsmonitorutils.c:163:43:  [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).
              gint long_filename_length = wcslen (monitor->wfilename_long);
data/glib2.0-2.66.3/gio/win32/gwin32fsmonitorutils.c:164:44:  [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).
              gint short_filename_length = wcslen (monitor->wfilename_short);
data/glib2.0-2.66.3/gio/win32/gwinhttpfile.c:228:40:  [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).
      memmove (retval + 7, retval + 9, strlen (retval) - 9);
data/glib2.0-2.66.3/gio/win32/gwinhttpfile.c:229:14:  [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).
      retval[strlen (retval) - 2] = '\0';
data/glib2.0-2.66.3/gio/win32/gwinhttpfile.c:233:41:  [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).
      memmove (retval + 8, retval + 10, strlen (retval) - 10);
data/glib2.0-2.66.3/gio/win32/gwinhttpfile.c:234:14:  [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).
      retval[strlen (retval) - 2] = '\0';
data/glib2.0-2.66.3/gio/win32/gwinhttpfile.c:323:16:  [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).
  prefix_len = strlen (prefix);
data/glib2.0-2.66.3/gio/win32/gwinhttpfile.c:394:26:  [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).
	  tmp = g_new (wchar_t, wcslen (winhttp_file->url.lpszUrlPath) + wcslen (wnew_path) + 1);
data/glib2.0-2.66.3/gio/win32/gwinhttpfile.c:394:67:  [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).
	  tmp = g_new (wchar_t, wcslen (winhttp_file->url.lpszUrlPath) + wcslen (wnew_path) + 1);
data/glib2.0-2.66.3/gio/win32/gwinhttpfile.c:399:26:  [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).
	  tmp = g_new (wchar_t, wcslen (winhttp_file->url.lpszUrlPath) + 1 + wcslen (wnew_path) + 1);
data/glib2.0-2.66.3/gio/win32/gwinhttpfile.c:399:71:  [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).
	  tmp = g_new (wchar_t, wcslen (winhttp_file->url.lpszUrlPath) + 1 + wcslen (wnew_path) + 1);
data/glib2.0-2.66.3/gio/win32/gwinhttpfile.c:401:4:  [1] (buffer) wcscat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Risk is low because the source is a constant
  character.
	  wcscat (tmp, L"/");
data/glib2.0-2.66.3/gio/win32/gwinhttpfile.c:417:32:  [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).
  child->url.dwUrlPathLength = wcslen (wnew_path);
data/glib2.0-2.66.3/gio/win32/gwinhttpfile.c:554:16:  [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).
          n == wcslen (content_length))
data/glib2.0-2.66.3/gio/win32/gwinhttpvfs.c:53: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 (winhttp_dll, "\\");
data/glib2.0-2.66.3/gio/win32/gwinhttpvfs.c:174:61:  [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 (g_ascii_strncasecmp (uri, winhttp_uri_schemes[i], strlen (winhttp_uri_schemes[i])) == 0 &&
data/glib2.0-2.66.3/gio/win32/gwinhttpvfs.c:175:15:  [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).
          uri[strlen (winhttp_uri_schemes[i])] == ':')
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:144:23:  [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).
  file_name = malloc (strlen (directory) + strlen ("/mime.cache") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:144:44:  [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).
  file_name = malloc (strlen (directory) + strlen ("/mime.cache") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:164:23:  [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).
  file_name = malloc (strlen (directory) + strlen ("/globs2") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:164:44:  [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).
  file_name = malloc (strlen (directory) + strlen ("/globs2") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:174: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).
      file_name = malloc (strlen (directory) + strlen ("/globs") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:174:48:  [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).
      file_name = malloc (strlen (directory) + strlen ("/globs") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:187:23:  [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).
  file_name = malloc (strlen (directory) + strlen ("/magic") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:187:44:  [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).
  file_name = malloc (strlen (directory) + strlen ("/magic") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:199:23:  [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).
  file_name = malloc (strlen (directory) + strlen ("/aliases") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:199:44:  [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).
  file_name = malloc (strlen (directory) + strlen ("/aliases") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:204:23:  [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).
  file_name = malloc (strlen (directory) + strlen ("/subclasses") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:204:44:  [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).
  file_name = malloc (strlen (directory) + strlen ("/subclasses") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:209:23:  [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).
  file_name = malloc (strlen (directory) + strlen ("/icons") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:209:44:  [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).
  file_name = malloc (strlen (directory) + strlen ("/icons") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:214:23:  [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).
  file_name = malloc (strlen (directory) + strlen ("/generic-icons") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:214:44:  [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).
  file_name = malloc (strlen (directory) + strlen ("/generic-icons") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:256: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).
      mime_subdir = malloc (strlen (xdg_data_home) + strlen ("/mime/") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:256:54:  [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).
      mime_subdir = malloc (strlen (xdg_data_home) + strlen ("/mime/") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:266:34:  [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).
      guessed_xdg_home = malloc (strlen (home) + strlen ("/.local/share/mime/") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:266:50:  [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).
      guessed_xdg_home = malloc (strlen (home) + strlen ("/.local/share/mime/") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:296: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).
      dir = malloc (len + strlen ("/mime/") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:297:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (dir, ptr, len);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:411:23:  [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).
  file_name = malloc (strlen (directory) + strlen ("/mime.cache") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:411:44:  [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).
  file_name = malloc (strlen (directory) + strlen ("/mime.cache") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:426:23:  [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).
  file_name = malloc (strlen (directory) + strlen ("/globs") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:426:44:  [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).
  file_name = malloc (strlen (directory) + strlen ("/globs") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:437:23:  [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).
  file_name = malloc (strlen (directory) + strlen ("/magic") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:437:44:  [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).
  file_name = malloc (strlen (directory) + strlen ("/magic") + 1);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:819: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).
  length = strlen (str);
data/glib2.0-2.66.3/gio/xdgmime/xdgmime.c:820: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).
  suffix_length = strlen (suffix);
data/glib2.0-2.66.3/gio/xdgmime/xdgmimealias.c:142:11:  [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).
      sep[strlen (sep) -1] = '\000';
data/glib2.0-2.66.3/gio/xdgmime/xdgmimecache.c:678: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).
  len = strlen (file_name);
data/glib2.0-2.66.3/gio/xdgmime/xdgmimecache.c:884: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).
  length = strlen (str);
data/glib2.0-2.66.3/gio/xdgmime/xdgmimecache.c:885: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).
  suffix_length = strlen (suffix);
data/glib2.0-2.66.3/gio/xdgmime/xdgmimeglob.c:478: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).
  len = strlen (file_name);
data/glib2.0-2.66.3/gio/xdgmime/xdgmimeglob.c:672: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).
      end = line + strlen(line) - 1;
data/glib2.0-2.66.3/gio/xdgmime/xdgmimeicon.c:141:11:  [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).
      sep[strlen (sep) -1] = '\000';
data/glib2.0-2.66.3/gio/xdgmime/xdgmimeint.c:159:43:  [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).
  out = malloc (sizeof (xdg_unichar_t) * (strlen (source) + 1));
data/glib2.0-2.66.3/gio/xdgmime/xdgmimemagic.c:47:28:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define getc_unlocked(fp) getc (fp)
data/glib2.0-2.66.3/gio/xdgmime/xdgmimeparent.c:149:11:  [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).
      sep[strlen (sep) -1] = '\000';
data/glib2.0-2.66.3/glib/deprecated/gcompletion.c:255: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).
  len = strlen(cmp->prefix);
data/glib2.0-2.66.3/glib/deprecated/gcompletion.c:259:10:  [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).
  plen = strlen (postfix);
data/glib2.0-2.66.3/glib/deprecated/gcompletion.c:276:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (*new_prefix, cmp->prefix, len);
data/glib2.0-2.66.3/glib/deprecated/gcompletion.c:277:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (*new_prefix + len, postfix, plen);
data/glib2.0-2.66.3/glib/deprecated/gcompletion.c:316:25:  [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 = *new_prefix + strlen (*new_prefix);
data/glib2.0-2.66.3/glib/deprecated/gcompletion.c:363: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).
  len = strlen (prefix);
data/glib2.0-2.66.3/glib/deprecated/gcompletion.c:366:14:  [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).
      plen = strlen (cmp->prefix);
data/glib2.0-2.66.3/glib/dirent/dirent.c:101:44:  [1] (buffer) _tcslen:
  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).
  nd = (_TDIR *) malloc (sizeof (_TDIR) + (_tcslen(szFullPath) + _tcslen (SLASH) +
data/glib2.0-2.66.3/glib/dirent/dirent.c:101:66:  [1] (buffer) _tcslen:
  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).
  nd = (_TDIR *) malloc (sizeof (_TDIR) + (_tcslen(szFullPath) + _tcslen (SLASH) +
data/glib2.0-2.66.3/glib/dirent/dirent.c:102:5:  [1] (buffer) _tcslen:
  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).
			 _tcslen(SUFFIX) + 1) * sizeof(_TCHAR));
data/glib2.0-2.66.3/glib/dirent/dirent.c:116:19:  [1] (buffer) _tcslen:
  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).
      nd->dd_name[_tcslen (nd->dd_name) - 1] != _T('/') &&
data/glib2.0-2.66.3/glib/dirent/dirent.c:117:19:  [1] (buffer) _tcslen:
  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).
      nd->dd_name[_tcslen (nd->dd_name) - 1] != _T('\\'))
data/glib2.0-2.66.3/glib/dirent/dirent.c:213:31:  [1] (buffer) _tcslen:
  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).
      dirp->dd_dir.d_namlen = _tcslen (dirp->dd_dta.name);
data/glib2.0-2.66.3/glib/gbacktrace.c:384:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          if (read (out_fd[0], &c, 1))
data/glib2.0-2.66.3/glib/gbase64.c:420: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).
  input_length = strlen (text);
data/glib2.0-2.66.3/glib/gbase64.c:455: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).
  input_length = strlen (text);
data/glib2.0-2.66.3/glib/gbookmarkfile.c:1496:14:  [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).
    length = strlen (buffer);
data/glib2.0-2.66.3/glib/gbookmarkfile.c:1710:14:  [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).
    length = strlen (data);
data/glib2.0-2.66.3/glib/gcharset.c:67: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).
          aliases += strlen (aliases) + 1;
data/glib2.0-2.66.3/glib/gcharset.c:69: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).
          aliases += strlen (aliases) + 1;
data/glib2.0-2.66.3/glib/gcharset.c:467:23:  [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).
    at_pos = locale + strlen (locale);
data/glib2.0-2.66.3/glib/gchecksum.c:1592:14:  [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).
    length = strlen ((const gchar *) data);
data/glib2.0-2.66.3/glib/gchecksum.c:1829:14:  [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).
    length = strlen (str);
data/glib2.0-2.66.3/glib/gconstructor.h:62:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  __pragma(section(".CRT$XCU",read)) \
data/glib2.0-2.66.3/glib/gconstructor.h:70:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  __pragma(section(".CRT$XCU",read)) \
data/glib2.0-2.66.3/glib/gconstructor.h:82:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  section(".CRT$XCU",read)
data/glib2.0-2.66.3/glib/gconstructor.h:89:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  section(".CRT$XCU",read)
data/glib2.0-2.66.3/glib/gconvert.c:411:11:  [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).
    len = strlen (str);
data/glib2.0-2.66.3/glib/gconvert.c:673:11:  [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).
    len = strlen (str);
data/glib2.0-2.66.3/glib/gconvert.c:782:25:  [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).
		  inbytes_remaining = strlen (p);
data/glib2.0-2.66.3/glib/gconvert.c:1510:11:  [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).
    len = strlen (escaped);
data/glib2.0-2.66.3/glib/gconvert.c:1646: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).
  path_part = uri + strlen ("file:");
data/glib2.0-2.66.3/glib/gdate.c:949: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).
  length = strlen (needle);
data/glib2.0-2.66.3/glib/gdate.c:2243:73:  [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 = g_array_sized_new (FALSE, FALSE, sizeof (wchar_t), MAX (128, strlen (format) * 2));
data/glib2.0-2.66.3/glib/gdate.c:2538:53:  [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).
		g_array_append_vals (result, tzinfo.StandardName, wcslen (tzinfo.StandardName));
data/glib2.0-2.66.3/glib/gdate.c:2540:53:  [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).
		g_array_append_vals (result, tzinfo.DaylightName, wcslen (tzinfo.DaylightName));
data/glib2.0-2.66.3/glib/gdatetime.c:3450: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).
  outstr = g_string_sized_new (strlen (format) * 2);
data/glib2.0-2.66.3/glib/genviron.c:70: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).
  len = strlen (variable);
data/glib2.0-2.66.3/glib/genviron.c:108:26:  [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 envp[index] + strlen (variable) + 1;
data/glib2.0-2.66.3/glib/genviron.c:174: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).
  len = strlen (variable);
data/glib2.0-2.66.3/glib/genviron.c:613:16:  [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).
          q += wcslen (q) + 1;
data/glib2.0-2.66.3/glib/genviron.c:635:12:  [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).
      q += wcslen (q) + 1;
data/glib2.0-2.66.3/glib/genviron.c:652:10:  [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).
    n += wcslen (strings + n) + 1;
data/glib2.0-2.66.3/glib/genviron.c:658:12:  [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).
      n += wcslen (strings + n) + 1;
data/glib2.0-2.66.3/glib/gfileutils.c:418:16:  [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).
      extlen = strlen (lastdot);
data/glib2.0-2.66.3/glib/gfileutils.c:425:14:  [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).
	    q = p + strlen (p);
data/glib2.0-2.66.3/glib/gfileutils.c:841:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      rc = read (fd, buf + bytes_read, size - bytes_read);
data/glib2.0-2.66.3/glib/gfileutils.c:1338:14:  [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).
    length = strlen (contents);
data/glib2.0-2.66.3/glib/gfileutils.c:1756: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).
  if (G_IS_DIR_SEPARATOR (tmpdir [strlen (tmpdir) - 1]))
data/glib2.0-2.66.3/glib/gfileutils.c:1882:24:  [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).
  gint separator_len = strlen (separator);
data/glib2.0-2.66.3/glib/gfileutils.c:1926: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).
      end = start + strlen (start);
data/glib2.0-2.66.3/glib/gfileutils.c:2116: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).
      end = start + strlen (start);
data/glib2.0-2.66.3/glib/gfileutils.c:2547: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).
  last_nonslash = strlen (file_name) - 1;
data/glib2.0-2.66.3/glib/gfileutils.c:2678:25:  [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).
          len = (guint) strlen (file_name) + 1;
data/glib2.0-2.66.3/glib/gfileutils.c:2782: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).
      memmove (start, start+i, strlen (start+i) + 1);
data/glib2.0-2.66.3/glib/gfileutils.c:2795: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).
          memmove (p, p+1, strlen (p+1)+1);
data/glib2.0-2.66.3/glib/gfileutils.c:2808:26:  [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).
          memmove (p, q, strlen (q)+1);
data/glib2.0-2.66.3/glib/gfileutils.c:2829:24:  [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).
        memmove (p, q, strlen (q) + 1);
data/glib2.0-2.66.3/glib/ggettext.c:70:41:  [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 char *p = GLIB_LOCALE_DIR + strlen (GLIB_LOCALE_DIR);
data/glib2.0-2.66.3/glib/ggettext.c:232:34:  [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).
          gchar *tmp = g_alloca (strlen (msgctxtid) + 1);
data/glib2.0-2.66.3/glib/ggettext.c:276:24:  [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 msgctxt_len = strlen (msgctxt) + 1;
data/glib2.0-2.66.3/glib/ggettext.c:277: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).
  size_t msgid_len = strlen (msgid) + 1;
data/glib2.0-2.66.3/glib/ghmac.c:439:14:  [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).
    length = strlen (str);
data/glib2.0-2.66.3/glib/gi18n-lib.h:33:81:  [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).
#define C_(Context,String) g_dpgettext (GETTEXT_PACKAGE, Context "\004" String, strlen (Context) + 1)
data/glib2.0-2.66.3/glib/gi18n.h:29: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).
#define C_(Context,String) g_dpgettext (NULL, Context "\004" String, strlen (Context) + 1)
data/glib2.0-2.66.3/glib/giochannel.c:895:14:  [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).
    length = strlen (line_term);
data/glib2.0-2.66.3/glib/giochannel.c:2204: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).
    count = strlen (buf);
data/glib2.0-2.66.3/glib/giochannel.c:2321:34:  [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).
              from_buf_old_len = strlen (channel->partial_write_buf);
data/glib2.0-2.66.3/glib/giounix.c:193:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  result = read (unix_channel->fd, buf, count);
data/glib2.0-2.66.3/glib/giowin32.c:373:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      nbytes = read (channel->fd, buffer, nbytes);
data/glib2.0-2.66.3/glib/giowin32.c:1209:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  result = read (win32_channel->fd, buf, count);
data/glib2.0-2.66.3/glib/gkeyfile.c:859:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      bytes_read = read (fd, read_buf, 4096);
data/glib2.0-2.66.3/glib/gkeyfile.c:999:14:  [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).
    length = strlen (data);
data/glib2.0-2.66.3/glib/gkeyfile.c:1496: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).
  if (locale && strlen (locale) <= 2)
data/glib2.0-2.66.3/glib/gkeyfile.c:1500: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).
    locale = g_strndup (locale + 1, strlen (locale) - 2);
data/glib2.0-2.66.3/glib/gkeyfile.c:2501: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).
  len = strlen (value);
data/glib2.0-2.66.3/glib/gkeyfile.c:4352: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).
  string_value = g_new (gchar, strlen (value) + 1);
data/glib2.0-2.66.3/glib/gkeyfile.c:4453: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).
  length = strlen (string) + 1;
data/glib2.0-2.66.3/glib/gkeyfile.c:4614: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).
  size_t len2 = strlen (s2);
data/glib2.0-2.66.3/glib/glib-init.c:167: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).
           q = p + strlen (p);
data/glib2.0-2.66.3/glib/glibintl.h:20: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).
#define C_(Context,String) glib_pgettext (Context "\004" String, strlen (Context) + 1)
data/glib2.0-2.66.3/glib/gmarkup.c:575:26:  [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).
      memcpy (buf, temp, strlen (temp));
data/glib2.0-2.66.3/glib/gmarkup.c:719: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).
                      to += strlen (buf) - 1;
data/glib2.0-2.66.3/glib/gmarkup.c:1147:16:  [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).
    text_len = strlen (text);
data/glib2.0-2.66.3/glib/gmarkup.c:2318:14:  [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).
    length = strlen (text);
data/glib2.0-2.66.3/glib/gmessages.c:1521:12:  [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).
  length = wcslen (L"\\cygwin-");
data/glib2.0-2.66.3/glib/gmessages.c:1524:16:  [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).
      length = wcslen (L"\\msys-");
data/glib2.0-2.66.3/glib/gmessages.c:1535:12:  [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).
  length = wcslen (L"-pty");
data/glib2.0-2.66.3/glib/gmessages.c:1545:12:  [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).
  length = wcslen (L"-to-master");
data/glib2.0-2.66.3/glib/gmessages.c:1548:16:  [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).
      length = wcslen (L"-from-master");
data/glib2.0-2.66.3/glib/gmessages.c:2347:62:  [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).
  mh.msg_namelen = offsetof (struct sockaddr_un, sun_path) + strlen (sa.sun_path);
data/glib2.0-2.66.3/glib/gmessages.c:2463: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).
          length = strlen (fields[i].value);
data/glib2.0-2.66.3/glib/gmessages.c:2477:26:  [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).
          v[0].iov_len = strlen (fields[i].key);
data/glib2.0-2.66.3/glib/gmessages.c:2493:26:  [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).
          v[0].iov_len = strlen (fields[i].key);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:242:24:  [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).
#  define local_wcslen wcslen
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:1746:26:  [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).
            tmp_length = strlen (arg);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:2578: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).
                      arg_end = arg + strlen (arg);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3665:43:  [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).
                                ndigits = strlen (digits);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3725: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).
                                        ndigits = strlen (digits);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3761:45:  [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 (digits2) == precision + 1)
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3861: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).
                                        ndigits = strlen (digits);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:3897:45:  [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 (digits2) == precision)
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:4127:43:  [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).
                                ndigits = strlen (digits);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:4184: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).
                                        ndigits = strlen (digits);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:4219:45:  [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 (digits2) == precision + 1)
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:4332: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).
                                        ndigits = strlen (digits);
data/glib2.0-2.66.3/glib/gnulib/vasnprintf.c:4367:45:  [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 (digits2) == precision)
data/glib2.0-2.66.3/glib/goption.c:1630: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).
          gint len = strlen (group->entries[j].long_name);
data/glib2.0-2.66.3/glib/goption.c:2124: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).
                  arg_length = strlen (arg);
data/glib2.0-2.66.3/glib/gpattern.c:264: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).
  pspec->pattern_length = strlen (pattern);
data/glib2.0-2.66.3/glib/gpattern.c:411:34:  [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 g_pattern_match (pspec, strlen (string), string, NULL);
data/glib2.0-2.66.3/glib/gpattern.c:437:34:  [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).
  ergo = g_pattern_match (pspec, strlen (string), string, NULL);
data/glib2.0-2.66.3/glib/gquark.c:157: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).
  len = strlen (string) + 1;
data/glib2.0-2.66.3/glib/grefstring.c:125: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).
  len = strlen (str);
data/glib2.0-2.66.3/glib/gregex.c:566: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).
    string_len = strlen (string);
data/glib2.0-2.66.3/glib/gregex.c:950: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).
  result = g_string_sized_new (strlen (string_to_expand));
data/glib2.0-2.66.3/glib/gregex.c:2198: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).
    string_len = strlen (string);
data/glib2.0-2.66.3/glib/gregex.c:2976: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).
    string_len = strlen (string);
data/glib2.0-2.66.3/glib/gregex.c:3144:14:  [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).
    length = strlen (string);
data/glib2.0-2.66.3/glib/gscanner.c:650:34:  [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).
      key.symbol = g_new (gchar, strlen (symbol) + 1);
data/glib2.0-2.66.3/glib/gscanner.c:1184:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  count = read (scanner->input_fd, buffer, READ_BUFFER_SIZE);
data/glib2.0-2.66.3/glib/gscanner.c:1259:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  count = read (scanner->input_fd, buffer, READ_BUFFER_SIZE);
data/glib2.0-2.66.3/glib/gscanner.c:2230:4:  [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).
	  strlen (value.v_identifier) == 4)
data/glib2.0-2.66.3/glib/gslice.c:1459:20:  [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.
  aligned_memory = memalign (alignment, memsize);
data/glib2.0-2.66.3/glib/gspawn-win32-helper.c:237:34:  [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 (argv[ARG_CHILD_ERR_REPORT][strlen (argv[ARG_CHILD_ERR_REPORT]) - 1] == '#')
data/glib2.0-2.66.3/glib/gspawn-win32-helper.c:383:3:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  read (helper_sync_fd, &c, 1);
data/glib2.0-2.66.3/glib/gspawn-win32.c:339:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      chunk = read (fd, ((gchar*)report) + bytes,
data/glib2.0-2.66.3/glib/gspawn-win32.c:627:7:  [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 (args[ARG_CHILD_ERR_REPORT], "#");
data/glib2.0-2.66.3/glib/gspawn.c:305:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bytes = read (fd, buf, 4096);
data/glib2.0-2.66.3/glib/gspawn.c:1518:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      chunk = read (fd,
data/glib2.0-2.66.3/glib/gspawn.c:1843: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).
  search_path_buffer_len = strlen (chosen_search_path) + strlen (argv[0]) + 2;
data/glib2.0-2.66.3/glib/gspawn.c:1843:58:  [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).
  search_path_buffer_len = strlen (chosen_search_path) + strlen (argv[0]) + 2;
data/glib2.0-2.66.3/glib/gspawn.c:2327: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).
      len = strlen (file) + 1;
data/glib2.0-2.66.3/glib/gspawn.c:2328: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).
      pathlen = strlen (path);
data/glib2.0-2.66.3/glib/gstdio-private.c:35:40:  [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).
  const gsize    extended_prefix_len = wcslen (extended_prefix);
data/glib2.0-2.66.3/glib/gstdio-private.c:39:38:  [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).
  const gsize    ntobjm_prefix_len = wcslen (ntobjm_prefix);
data/glib2.0-2.66.3/glib/gstdio.c:757: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).
  len = strlen (filename);
data/glib2.0-2.66.3/glib/gstdio.c:764:11:  [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).
    len = strlen (filename);
data/glib2.0-2.66.3/glib/gstrfuncs.c:363:16:  [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).
      length = strlen (str) + 1;
data/glib2.0-2.66.3/glib/gstrfuncs.c:427:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (new_str, str, n);
data/glib2.0-2.66.3/glib/gstrfuncs.c:584:11:  [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).
  l = 1 + strlen (string1);
data/glib2.0-2.66.3/glib/gstrfuncs.c:589: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).
      l += strlen (s);
data/glib2.0-2.66.3/glib/gstrfuncs.c:727:23:  [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).
  decimal_point_len = strlen (decimal_point);
data/glib2.0-2.66.3/glib/gstrfuncs.c:941:24:  [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).
  format_char = format[strlen (format) - 1];
data/glib2.0-2.66.3/glib/gstrfuncs.c:964:23:  [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).
  decimal_point_len = strlen (decimal_point);
data/glib2.0-2.66.3/glib/gstrfuncs.c:992:26:  [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).
              rest_len = strlen (p + (decimal_point_len - 1));
data/glib2.0-2.66.3/glib/gstrfuncs.c:1501: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).
    return dlength + strlen (s);
data/glib2.0-2.66.3/glib/gstrfuncs.c:1539: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).
    len = (gssize) strlen (str);
data/glib2.0-2.66.3/glib/gstrfuncs.c:1569: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).
    len = (gssize) strlen (str);
data/glib2.0-2.66.3/glib/gstrfuncs.c:1686: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).
      t = string + strlen (string) - 1;
data/glib2.0-2.66.3/glib/gstrfuncs.c:2096: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).
  dest = g_malloc (strlen (source) + 1);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2184:24:  [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).
  q = dest = g_malloc (strlen (source) * 4 + 1);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2284: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).
  memmove (string, start, strlen ((gchar *) start) + 1);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2312: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).
  len = strlen (string);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2372: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).
      gsize delimiter_len = strlen (delimiter);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2598:23:  [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).
      separator_len = strlen (separator);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2600: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).
      len = 1 + strlen (str_array[0]);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2602:16:  [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).
        len += strlen (str_array[i]);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2646: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).
  separator_len = strlen (separator);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2655: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).
      len = 1 + strlen (s);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2660:34:  [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).
          len += separator_len + strlen (s);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2718:26:  [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).
      gsize needle_len = strlen (needle);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2770:16:  [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).
  needle_len = strlen (needle);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2771: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).
  haystack_len = strlen (haystack);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2821:26:  [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).
      gsize needle_len = strlen (needle);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2872: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).
  str_len = strlen (str);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2873:16:  [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).
  suffix_len = strlen (suffix);
data/glib2.0-2.66.3/glib/gstrfuncs.c:2899: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).
  return strncmp (str, prefix, strlen (prefix)) == 0;
data/glib2.0-2.66.3/glib/gstring.c:153: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).
      len = strlen (init);
data/glib2.0-2.66.3/glib/gstring.c:440:11:  [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).
    len = strlen (val);
data/glib2.0-2.66.3/glib/gstring.c:530:53:  [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).
  _uri_encoder (string, (const guchar *) unescaped, strlen (unescaped),
data/glib2.0-2.66.3/glib/gstring.c:859: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).
  return g_string_overwrite_len (string, pos, val, strlen (val));
data/glib2.0-2.66.3/glib/gstring.c:893:11:  [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).
    len = strlen (val);
data/glib2.0-2.66.3/glib/gstringchunk.c:289: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).
    size = strlen (string);
data/glib2.0-2.66.3/glib/gtester.c:89: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).
    r = write (log_fd, result, strlen (result));
data/glib2.0-2.66.3/glib/gtestutils.c:1635:11:  [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 (s) >= 32)             /* require 4 * 8 chars */
data/glib2.0-2.66.3/glib/gtestutils.c:2697: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 prefix_len = strlen (prefix);
data/glib2.0-2.66.3/glib/gtestutils.c:2922: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).
  __glib_assert_msg = (char*) malloc (strlen (s) + 1);
data/glib2.0-2.66.3/glib/gtestutils.c:3767: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).
      guint l = strlen (msg->strings[ui]);
data/glib2.0-2.66.3/glib/gtimezone.c:495: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).
      prefix_len = strlen (tzdir);
data/glib2.0-2.66.3/glib/gtimezone.c:502:14:  [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).
             strlen (resolved_identifier) - prefix_len + 1  /* nul terminator */);
data/glib2.0-2.66.3/glib/gtimezone.c:751:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (rule->std_name, std_name, NAME_SIZE - 1);
data/glib2.0-2.66.3/glib/gtimezone.c:752:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (rule->dlt_name, dlt_name, NAME_SIZE - 1);
data/glib2.0-2.66.3/glib/gtimezone.c:1483:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (buffer, name_pos, len);
data/glib2.0-2.66.3/glib/gtranslit.c:346: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).
  result = g_string_sized_new (strlen (str));
data/glib2.0-2.66.3/glib/gunicollate.c:462: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).
      xfrm_len = strlen (str_norm);
data/glib2.0-2.66.3/glib/gunicollate.c:565:11:  [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).
    len = strlen (str);
data/glib2.0-2.66.3/glib/guniprop.c:788:10:  [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 (p) + 1;
data/glib2.0-2.66.3/glib/guniprop.c:790: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).
  len = strlen (p);
data/glib2.0-2.66.3/glib/guri.c:723: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).
  end = uri_string + strlen (uri_string);
data/glib2.0-2.66.3/glib/guri.c:903: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).
      if (!uri_normalize (fragment, end + 1, strlen (end + 1),
data/glib2.0-2.66.3/glib/guri.c:1217: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).
        memmove (p, p + 2, strlen (p + 2) + 1);
data/glib2.0-2.66.3/glib/guri.c:1242:26:  [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).
      memmove (p, q + 4, strlen (q + 4) + 1);
data/glib2.0-2.66.3/glib/guri.c:1258: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).
    memmove (path, path + 3, strlen (path) - 2);
data/glib2.0-2.66.3/glib/guri.c:2015:24:  [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).
    ri->end = params + strlen (params);
data/glib2.0-2.66.3/glib/guri.c:2472:14:  [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).
    length = strlen (escaped_string);
data/glib2.0-2.66.3/glib/guri.c:2548: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).
  s = g_string_sized_new (strlen (unescaped) * 1.25);
data/glib2.0-2.66.3/glib/guri.c:2594:14:  [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).
    length = strlen (escaped_string);
data/glib2.0-2.66.3/glib/gutf8.c:441:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(dest, src, s - src);
data/glib2.0-2.66.3/glib/gutf8.c:1773:11:  [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).
    len = strlen (str);
data/glib2.0-2.66.3/glib/gutf8.c:1822:11:  [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).
    len = strlen (str);
data/glib2.0-2.66.3/glib/gutils.c:245: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).
      const gint program_length = strlen (program);
data/glib2.0-2.66.3/glib/gutils.c:418: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).
  len = strlen (program) + 1;
data/glib2.0-2.66.3/glib/gutils.c:419: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).
  pathlen = strlen (path);
data/glib2.0-2.66.3/glib/gutils.c:933:15:  [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).
          k = strlen (tmp);
data/glib2.0-2.66.3/glib/gutils.c:1380:26:  [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).
          value = line + strlen (prefix);
data/glib2.0-2.66.3/glib/gutils.c:2079: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).
      len = strlen (buffer);
data/glib2.0-2.66.3/glib/gutils.c:2087:42:  [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 (strncmp (p, "XDG_DESKTOP_DIR", strlen ("XDG_DESKTOP_DIR")) == 0)
data/glib2.0-2.66.3/glib/gutils.c:2090:16:  [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 ("XDG_DESKTOP_DIR");
data/glib2.0-2.66.3/glib/gutils.c:2092: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).
      else if (strncmp (p, "XDG_DOCUMENTS_DIR", strlen ("XDG_DOCUMENTS_DIR")) == 0)
data/glib2.0-2.66.3/glib/gutils.c:2095:16:  [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 ("XDG_DOCUMENTS_DIR");
data/glib2.0-2.66.3/glib/gutils.c:2097:48:  [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 (strncmp (p, "XDG_DOWNLOAD_DIR", strlen ("XDG_DOWNLOAD_DIR")) == 0)
data/glib2.0-2.66.3/glib/gutils.c:2100:16:  [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 ("XDG_DOWNLOAD_DIR");
data/glib2.0-2.66.3/glib/gutils.c:2102:45:  [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 (strncmp (p, "XDG_MUSIC_DIR", strlen ("XDG_MUSIC_DIR")) == 0)
data/glib2.0-2.66.3/glib/gutils.c:2105:16:  [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 ("XDG_MUSIC_DIR");
data/glib2.0-2.66.3/glib/gutils.c:2107:48:  [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 (strncmp (p, "XDG_PICTURES_DIR", strlen ("XDG_PICTURES_DIR")) == 0)
data/glib2.0-2.66.3/glib/gutils.c:2110:16:  [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 ("XDG_PICTURES_DIR");
data/glib2.0-2.66.3/glib/gutils.c:2112: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).
      else if (strncmp (p, "XDG_PUBLICSHARE_DIR", strlen ("XDG_PUBLICSHARE_DIR")) == 0)
data/glib2.0-2.66.3/glib/gutils.c:2115:16:  [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 ("XDG_PUBLICSHARE_DIR");
data/glib2.0-2.66.3/glib/gutils.c:2117: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).
      else if (strncmp (p, "XDG_TEMPLATES_DIR", strlen ("XDG_TEMPLATES_DIR")) == 0)
data/glib2.0-2.66.3/glib/gutils.c:2120:16:  [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 ("XDG_TEMPLATES_DIR");
data/glib2.0-2.66.3/glib/gutils.c:2122: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).
      else if (strncmp (p, "XDG_VIDEOS_DIR", strlen ("XDG_VIDEOS_DIR")) == 0)
data/glib2.0-2.66.3/glib/gutils.c:2125:16:  [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 ("XDG_VIDEOS_DIR");
data/glib2.0-2.66.3/glib/gutils.c:2160: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).
      len = strlen (d);
data/glib2.0-2.66.3/glib/guuid.c:97: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).
  if (strlen (str) != expected_len)
data/glib2.0-2.66.3/glib/gvariant-parser.c:327: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).
  gint length = strlen (token);
data/glib2.0-2.66.3/glib/gvariant-parser.c:439: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).
  out = result = g_malloc (strlen (left) + strlen (right));
data/glib2.0-2.66.3/glib/gvariant-parser.c:439:44:  [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).
  out = result = g_malloc (strlen (left) + strlen (right));
data/glib2.0-2.66.3/glib/gvariant-parser.c:1573:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy (buffer, src + *src_ofs, length);
data/glib2.0-2.66.3/glib/gvariant-parser.c:1626: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).
  length = strlen (token);
data/glib2.0-2.66.3/glib/gvariant-parser.c:1757: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).
  length = strlen (token);
data/glib2.0-2.66.3/glib/gvariant-parser.c:2836: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).
      if (point >= strlen (source_str))
data/glib2.0-2.66.3/glib/gvariant-serialiser.c:1249: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).
  return child.size + 1 + strlen (type_string);
data/glib2.0-2.66.3/glib/gvariant-serialiser.c:1266:53:  [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).
  memcpy (value.data + child.size + 1, type_string, strlen (type_string));
data/glib2.0-2.66.3/glib/gvariant.c:1265: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).
                                     string, strlen (string) + 1);
data/glib2.0-2.66.3/glib/gvariant.c:1298: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).
  bytes = g_bytes_new_take (string, strlen (string) + 1);
data/glib2.0-2.66.3/glib/gvariant.c:1336: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).
  bytes = g_bytes_new_take (string, strlen (string) + 1);
data/glib2.0-2.66.3/glib/gvariant.c:1361: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).
                                     object_path, strlen (object_path) + 1);
data/glib2.0-2.66.3/glib/gvariant.c:1386:55:  [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 g_variant_serialiser_is_object_path (string, strlen (string) + 1);
data/glib2.0-2.66.3/glib/gvariant.c:1407: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).
                                     signature, strlen (signature) + 1);
data/glib2.0-2.66.3/glib/gvariant.c:1430:53:  [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 g_variant_serialiser_is_signature (string, strlen (string) + 1);
data/glib2.0-2.66.3/glib/gvariant.c:1834: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).
                                     string, strlen (string) + 1);
data/glib2.0-2.66.3/glib/gvariant.c:1910:10:  [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 = strlen (original);
data/glib2.0-2.66.3/glib/gvariant.c:2740:12:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  gboolean equal;
data/glib2.0-2.66.3/glib/gvariant.c:2788:10:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  return equal;
data/glib2.0-2.66.3/glib/gwakeup.c:210:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while (read (wakeup->fds[0], buffer, sizeof buffer) == sizeof buffer);
data/glib2.0-2.66.3/glib/gwin32-private.c:45: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).
  pid_str_len = strlen (pid_str);
data/glib2.0-2.66.3/glib/gwin32-private.c:48: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).
  event_str_len = strlen (event_str);
data/glib2.0-2.66.3/glib/gwin32.c:206:16:  [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).
      nchars = wcslen (msg);
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:87:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# undef getc
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:88:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
# define getc getc_unlocked
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:124: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).
	size_t dir_len = strlen (dir);
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:125: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).
	size_t base_len = strlen (base);
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:154:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	      c = getc (fp);
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:163:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		    c = getc (fp);
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:170:12:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	      if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:172: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).
	      l1 = strlen (buf1);
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:173: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).
	      l2 = strlen (buf2);
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:446: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).
       aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1)
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:446: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).
       aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1)
data/glib2.0-2.66.3/glib/libcharset/localcharset.c:450: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).
	codeset = aliases + strlen (aliases) + 1;
data/glib2.0-2.66.3/glib/pcre/pcre_internal.h:343: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).
#define strlen(s)        _strlen(s)
data/glib2.0-2.66.3/glib/pcre/pcre_internal.h:2268:24:  [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).
#define STRLEN_UC(str) strlen((const char *)str)
data/glib2.0-2.66.3/glib/tests/array-test.c:134:41:  [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_array_append_vals (garray, "hello", strlen ("hello"));
data/glib2.0-2.66.3/glib/tests/base64.c:378: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).
      gsize len = strlen (str);
data/glib2.0-2.66.3/glib/tests/base64.c:472:36:  [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).
      gsize expected_decoded_len = strlen (vectors[i].decoded);
data/glib2.0-2.66.3/glib/tests/bytes.c:109:59:  [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).
  GBytes *bytes = g_bytes_new_static ("Some stupid data", strlen ("Some stupid data") + 1);
data/glib2.0-2.66.3/glib/tests/bytes.c:146: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).
  GBytes *bytes = g_bytes_new_static ("Some data", strlen ("Some data") + 1);
data/glib2.0-2.66.3/glib/tests/checksum.c:17: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).
#define FIXED_LEN (strlen (FIXED_STR))
data/glib2.0-2.66.3/glib/tests/checksum.c:1021: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).
  g_assert (strlen (sum) % 2 == 0);
data/glib2.0-2.66.3/glib/tests/checksum.c:1022: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).
  l = strlen (sum) / 2;
data/glib2.0-2.66.3/glib/tests/convert.c:168: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).
  if (utf8_len == strlen (utf8))
data/glib2.0-2.66.3/glib/tests/convert.c:309: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).
  if (utf8_len == strlen (utf8))
data/glib2.0-2.66.3/glib/tests/fileutils.c:1538:23:  [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).
      gsize str_len = wcslen (testcases[i].in) + 1;
data/glib2.0-2.66.3/glib/tests/fileutils.c:1556:23:  [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).
      gsize str_len = wcslen (testcases[i].in) + 1;
data/glib2.0-2.66.3/glib/tests/fileutils.c:1567:25:  [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).
      old_endchar = buf[wcslen (testcases[i].out)];
data/glib2.0-2.66.3/glib/tests/fileutils.c:1584:46:  [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).
      g_assert_cmpuint (old_endchar, ==, buf[wcslen (testcases[i].out)]);
data/glib2.0-2.66.3/glib/tests/fileutils.c:1618:27:  [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).
 { (const guchar *) data, wcslen (data) * 2 + len_mod, use_buf, buf_size, terminate, reported_len, (guchar *) returned_string},
data/glib2.0-2.66.3/glib/tests/guuid.c:48: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).
  g_assert_cmpuint (strlen (str1), ==, 36);
data/glib2.0-2.66.3/glib/tests/guuid.c:52: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).
  g_assert_cmpuint (strlen (str2), ==, 36);
data/glib2.0-2.66.3/glib/tests/gvariant.c:337:14:  [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).
    length = strlen (type_string);
data/glib2.0-2.66.3/glib/tests/gvariant.c:924:24:  [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_assert_cmpint (strlen (result), ==, 1);
data/glib2.0-2.66.3/glib/tests/gvariant.c:1799: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).
  len = strlen (type_string);
data/glib2.0-2.66.3/glib/tests/gvariant.c:1978:54:  [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).
    string[i] = good_chars[g_test_rand_int_range (0, strlen (good_chars))];
data/glib2.0-2.66.3/glib/tests/gvariant.c:2584:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        gboolean equal;
data/glib2.0-2.66.3/glib/tests/gvariant.c:2598:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return equal;
data/glib2.0-2.66.3/glib/tests/gvariant.c:2614:22:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            gboolean equal;
data/glib2.0-2.66.3/glib/tests/gvariant.c:2620:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
            if (!equal)
data/glib2.0-2.66.3/glib/tests/gvariant.c:2632:18:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        gboolean equal;
data/glib2.0-2.66.3/glib/tests/gvariant.c:2643:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        return equal;
data/glib2.0-2.66.3/glib/tests/gvariant.c:2771:16:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      gboolean equal;
data/glib2.0-2.66.3/glib/tests/gvariant.c:2776:14:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      return equal;
data/glib2.0-2.66.3/glib/tests/gvariant.c:4128: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).
      gsize test_len = MAX (strlen (test[i]), 1);
data/glib2.0-2.66.3/glib/tests/hash.c:192:10:  [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 = strlen (name);
data/glib2.0-2.66.3/glib/tests/keyfile.c:1287:45:  [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).
                             original_data, strlen(original_data),
data/glib2.0-2.66.3/glib/tests/keyfile.c:1333:53:  [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).
  ok = g_key_file_load_from_data (file, int64_data, strlen (int64_data),
data/glib2.0-2.66.3/glib/tests/keyfile.c:1413:45:  [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).
  ok = g_key_file_load_from_data (kf, data, strlen (data), 0, NULL);
data/glib2.0-2.66.3/glib/tests/keyfile.c:1474: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).
  ok = g_key_file_load_from_data (file, data, strlen (data), 0, NULL);
data/glib2.0-2.66.3/glib/tests/keyfile.c:1544: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).
  ok = g_key_file_load_from_data (file, data, strlen (data), 0, NULL);
data/glib2.0-2.66.3/glib/tests/keyfile.c:1623: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).
  ok = g_key_file_load_from_data (file, data, strlen (data), 0, &error);
data/glib2.0-2.66.3/glib/tests/keyfile.c:1643: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).
  ok = g_key_file_load_from_data (file, data, strlen (data), 0, &error);
data/glib2.0-2.66.3/glib/tests/keyfile.c:1685: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).
  GBytes *bytes = g_bytes_new (data, strlen (data));
data/glib2.0-2.66.3/glib/tests/mainloop.c:1175:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  *to_read -= read (fd, buffer, sizeof buffer);
data/glib2.0-2.66.3/glib/tests/mappedfile.c:103:45:  [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_assert_cmpuint (strncmp (contents, old, strlen (old)), ==, 0);
data/glib2.0-2.66.3/glib/tests/mappedfile.c:105:26:  [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).
  memcpy (contents, new, strlen (new));
data/glib2.0-2.66.3/glib/tests/mappedfile.c:106:45:  [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_assert_cmpuint (strncmp (contents, new, strlen (new)), ==, 0);
data/glib2.0-2.66.3/glib/tests/mappedfile.c:115:45:  [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_assert_cmpuint (strncmp (contents, old, strlen (old)), ==, 0);
data/glib2.0-2.66.3/glib/tests/mappedfile.c:149:45:  [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_assert_cmpuint (strncmp (contents, old, strlen (old)), ==, 0);
data/glib2.0-2.66.3/glib/tests/mappedfile.c:151:26:  [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).
  memcpy (contents, new, strlen (new));
data/glib2.0-2.66.3/glib/tests/mappedfile.c:152:45:  [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_assert_cmpuint (strncmp (contents, new, strlen (new)), ==, 0);
data/glib2.0-2.66.3/glib/tests/mappedfile.c:164:45:  [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_assert_cmpuint (strncmp (contents, old, strlen (old)), ==, 0);
data/glib2.0-2.66.3/glib/tests/markup-subparser.c:291:42:  [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).
                                         strlen (tc->markup), &error);
data/glib2.0-2.66.3/glib/tests/pattern.c:81: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).
  g_assert_cmpint (spec->pattern_length, ==, strlen (spec->pattern));
data/glib2.0-2.66.3/glib/tests/pattern.c:164:40:  [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_assert_cmpint (g_pattern_match (p, strlen (test->string), test->string, r), ==, test->match);
data/glib2.0-2.66.3/glib/tests/refstring.c:30: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).
  g_assert_cmpint (strlen (s), ==, strlen ("hello, world"));
data/glib2.0-2.66.3/glib/tests/refstring.c:30:36:  [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_assert_cmpint (strlen (s), ==, strlen ("hello, world"));
data/glib2.0-2.66.3/glib/tests/refstring.c:31:50:  [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_assert_cmpuint (g_ref_string_length (s), ==, strlen ("hello, world"));
data/glib2.0-2.66.3/glib/tests/refstring.c:47: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).
  g_assert_cmpint (strlen (s), ==, strlen ("hello"));
data/glib2.0-2.66.3/glib/tests/refstring.c:47:36:  [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_assert_cmpint (strlen (s), ==, strlen ("hello"));
data/glib2.0-2.66.3/glib/tests/refstring.c:48:50:  [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_assert_cmpuint (g_ref_string_length (s), ==, strlen ("hello"));
data/glib2.0-2.66.3/glib/tests/refstring.c:58:50:  [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_assert_cmpuint (g_ref_string_length (s), ==, strlen ("hello"));
data/glib2.0-2.66.3/glib/tests/regex.c:210:44:  [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).
            data->string_len == -1 ? (int) strlen (data->string) :
data/glib2.0-2.66.3/glib/tests/regex.c:224:44:  [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).
            data->string_len == -1 ? (int) strlen (data->string) :
data/glib2.0-2.66.3/glib/tests/scannerapi.c:112:23:  [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 gint buflen = strlen (buf);
data/glib2.0-2.66.3/glib/tests/scannerapi.c:114:26:  [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 gint tokbuflen = strlen (tokbuf);
data/glib2.0-2.66.3/glib/tests/spawn-multithreaded.c:123:2:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
 read:
data/glib2.0-2.66.3/glib/tests/spawn-multithreaded.c:129:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	goto read;
data/glib2.0-2.66.3/glib/tests/strfuncs.c:217: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).
  str_dup = g_memdup (str, strlen (str) + 1);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:248: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).
  g_assert_true (str_cpy + strlen (str) == str_cpy_end);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:250:43:  [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_assert_cmpstr (str, ==, str_cpy_end - strlen (str));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:280: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).
  g_assert_cmpint (str_cpy_size, ==, strlen (""));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:286:43:  [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).
  str_cpy_size = g_strlcpy (str_cpy, str, strlen (str) + 1);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:289: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).
  g_assert_cmpint (str_cpy_size, ==, strlen (str));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:291:43:  [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).
  str_cpy_size = g_strlcpy (str_cpy, str, strlen (str));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:294: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).
  g_assert_cmpint (str_cpy_size, ==, strlen (str));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:296:43:  [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).
  str_cpy_size = g_strlcpy (str_cpy, str, strlen (str) - 15);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:299: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).
  g_assert_cmpint (str_cpy_size, ==, strlen (str));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:304: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).
  g_assert_cmpint (str_cpy_size, ==, strlen (str));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:306:43:  [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).
  str_cpy_size = g_strlcpy (str_cpy, str, strlen (str) + 15);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:309: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).
  g_assert_cmpint (str_cpy_size, ==, strlen (str));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:339: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).
  g_assert_cmpint (str_cpy_size, ==, strlen (""));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:345: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).
  g_assert_cmpuint (strlen (str) + 1, <=, sizeof (str_cpy));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:346:43:  [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).
  str_cpy_size = g_strlcat (str_cpy, str, strlen (str) + 1);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:348: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).
  g_assert_cmpint (str_cpy_size, ==, strlen (str));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:350: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).
  g_assert_cmpuint (strlen (str), <=, sizeof (str_cpy));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:351:43:  [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).
  str_cpy_size = g_strlcat (str_cpy, str, strlen (str));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:353:42:  [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_assert_cmpint (str_cpy_size, ==, 2 * strlen (str));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:355: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).
  g_assert_cmpuint (strlen (str) - 15, <=, sizeof (str_cpy));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:356:43:  [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).
  str_cpy_size = g_strlcat (str_cpy, str, strlen (str) - 15);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:358:42:  [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_assert_cmpint (str_cpy_size, ==, 2 * strlen (str) - 15);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:363: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).
  g_assert_cmpint (str_cpy_size, ==, strlen (str));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:365: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).
  g_assert_cmpuint (strlen (str) + 15, <=, sizeof (str_cpy));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:366:43:  [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).
  str_cpy_size = g_strlcat (str_cpy, str, strlen (str) + 15);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:369:42:  [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_assert_cmpint (str_cpy_size, ==, 2 * strlen (str));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:400:36:  [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).
  str = g_ascii_strdown (str_down, strlen (str_down));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:405:34:  [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).
  str = g_ascii_strdown (str_up, strlen (str_up));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:449: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).
  str = g_ascii_strup (str_up, strlen (str_up));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:454:34:  [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).
  str = g_ascii_strup (str_down, strlen (str_down));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:833: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).
  res = g_ascii_strncasecmp ("Frob0ZZ", "frob0zz", strlen ("frobozz"));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:836: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).
  res = g_ascii_strncasecmp ("Frob0ZZ", "frobozz", strlen ("frobozz"));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:839: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).
  res = g_ascii_strncasecmp ("frob0ZZ", "FroB0zz", strlen ("frobozz"));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:842: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).
  res = g_ascii_strncasecmp ("Frob0ZZ", "froB0zz", strlen ("frobozz") - 5);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:845: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).
  res = g_ascii_strncasecmp ("Frob0ZZ", "froB0zz", strlen ("frobozz") + 5);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1150: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).
  g_assert_true (str_end == gold_ratio_str + strlen (gold_ratio_str));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1153: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).
  g_assert_true (str_end == minus_gold_ratio_str + strlen (minus_gold_ratio_str));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1498: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).
                     (check_end ? correct_len : strlen (number)));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1745: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).
  g_assert_cmpint (strlen (tmp), ==, 4096);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1784: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).
  g_assert_cmpint (strlen (tmp), ==, 4095);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1788: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).
  g_assert_cmpint (strlen (tmp), ==, 4095);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1792: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).
  g_assert_cmpint (strlen (buffer), ==, 4095);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1816: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).
  g_assert_cmpint (strlen (buffer), ==, 4095);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1820: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).
  g_assert_cmpint (strlen (buffer), ==, 4095);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1823: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).
  g_assert_cmpint (strlen (tmp), ==, 4095 + 2);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1828: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).
  g_assert_cmpint (strlen (tmp), ==, strlen (tmp2));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1828: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).
  g_assert_cmpint (strlen (tmp), ==, strlen (tmp2));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1829: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).
  g_assert_cmpint (strlen (string), ==, strlen (tmp));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1829:41:  [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_assert_cmpint (strlen (string), ==, strlen (tmp));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1838: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).
  g_assert_cmpint (strlen (tmp), ==, strlen (tmp2));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1838: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).
  g_assert_cmpint (strlen (tmp), ==, strlen (tmp2));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1839: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).
  g_assert_cmpint (strlen (string), ==, strlen (tmp));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1839:41:  [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_assert_cmpint (strlen (string), ==, strlen (tmp));
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1854: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).
  g_assert_cmpint (strlen (string), ==, 4095);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1858: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).
  g_assert_cmpint (strlen (string), ==, 4095);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1864:25:  [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_assert_cmpmem (tmp, strlen (tmp), string, 4095);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1876: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).
  g_assert_cmpint (strlen (tmp), ==, 4095 * 3);
data/glib2.0-2.66.3/glib/tests/strfuncs.c:1880: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).
  g_assert_cmpint (strlen (tmp), ==, 4095 + 1 + 4095);
data/glib2.0-2.66.3/glib/tests/string.c:90: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).
  g_assert (strlen (string1->str) == string1->len);
data/glib2.0-2.66.3/glib/tests/string.c:91: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).
  g_assert (strlen (string2->str) == string2->len);
data/glib2.0-2.66.3/glib/tests/string.c:194: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).
  g_assert((strlen("hi pete!") + 10000) == string->len);
data/glib2.0-2.66.3/glib/tests/string.c:195: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).
  g_assert((strlen("hi pete!") + 10000) == strlen(string->str));
data/glib2.0-2.66.3/glib/tests/string.c:195:44:  [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_assert((strlen("hi pete!") + 10000) == strlen(string->str));
data/glib2.0-2.66.3/glib/tests/string.c:213: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).
  g_string_append_len (string, "lasthalfjunkjunk", strlen ("lasthalf"));
data/glib2.0-2.66.3/glib/tests/string.c:229: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).
  g_assert((strlen("hi pete!") + 10000) == string->len);
data/glib2.0-2.66.3/glib/tests/string.c:230: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).
  g_assert((strlen("hi pete!") + 10000) == strlen(string->str));
data/glib2.0-2.66.3/glib/tests/string.c:230:44:  [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_assert((strlen("hi pete!") + 10000) == strlen(string->str));
data/glib2.0-2.66.3/glib/tests/string.c:248:54:  [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_string_prepend_len (string, "firsthalfjunkjunk", strlen ("firsthalf"));
data/glib2.0-2.66.3/glib/tests/string.c:266: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).
  g_string_insert (string, strlen ("firstmiddle"), "last");
data/glib2.0-2.66.3/glib/tests/string.c:272:53:  [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_string_insert_len (string, 5, "middlejunkjunk", strlen ("middle"));
data/glib2.0-2.66.3/glib/tests/string.c:278: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).
  g_string_insert_len (string, -1, "lastjunkjunk", strlen ("last"));
data/glib2.0-2.66.3/glib/tests/string.c:365: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).
  g_assert (string->len == strlen("testing"));
data/glib2.0-2.66.3/glib/tests/tree.c:139: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).
  g_assert_cmpint (g_tree_nnodes (tree), ==, strlen (chars));
data/glib2.0-2.66.3/glib/tests/tree.c:157: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).
  g_assert_cmpint (g_tree_nnodes (tree), ==, strlen (chars2));
data/glib2.0-2.66.3/glib/tests/tree.c:295: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).
  g_assert_cmpint (g_tree_nnodes (tree), ==, strlen (chars));
data/glib2.0-2.66.3/glib/tests/tree.c:424: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).
  for (i = strlen (chars) - 1; i >= 0; i--)
data/glib2.0-2.66.3/glib/tests/tree.c:439:34:  [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).
      a = g_random_int_range (0, strlen (scrambled));
data/glib2.0-2.66.3/glib/tests/tree.c:440:34:  [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).
      b = g_random_int_range (0, strlen (scrambled));
data/glib2.0-2.66.3/glib/tests/unicode.c:436:31:  [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).
  str_up = g_utf8_strup (str, strlen (str));
data/glib2.0-2.66.3/glib/tests/unicode.c:461: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).
  str_down = g_utf8_strdown (str, strlen (str));
data/glib2.0-2.66.3/glib/tests/unicode.c:486:40:  [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).
  str_casefold = g_utf8_casefold (str, strlen (str));
data/glib2.0-2.66.3/glib/tests/unix.c:45:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bytes_read = read (pipefd[0], buf, sizeof(buf) - 1);
data/glib2.0-2.66.3/glib/tests/uri.c:411:25:  [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).
          escaped_len = strlen (tests[i].escaped);  /* no trailing nul */
data/glib2.0-2.66.3/glib/tests/uri.c:1508: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).
          uri_len = strlen (params_tests[i].uri);  /* no trailing nul */
data/glib2.0-2.66.3/glib/tests/uri.c:1575: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).
          uri_len = strlen (params_tests[i].uri);  /* no trailing nul */
data/glib2.0-2.66.3/glib/tests/utf8-performance.c:189: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).
  len = strlen (str);
data/glib2.0-2.66.3/glib/tests/utf8-pointer.c:79: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).
  g_assert (g_utf8_strlen (longline, strlen (longline)) == 762);
data/glib2.0-2.66.3/glib/tests/utf8-pointer.c:152: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).
    q = g_utf8_find_next_char (STR + strlen (STR), NULL); \
data/glib2.0-2.66.3/glib/tests/utf8-pointer.c:153:26:  [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_assert (q == STR + strlen (STR) + 1); \
data/glib2.0-2.66.3/glib/tests/utf8-validate.c:288:45:  [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 = g_utf8_validate (test->text, strlen (test->text), &end);
data/glib2.0-2.66.3/glib/tests/utils.c:400:43:  [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).
  am0 = glib_pgettext ("GDateTime\004AM", strlen ("GDateTime") + 1);
data/glib2.0-2.66.3/glib/tests/utils.c:401: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).
  am1 = g_dpgettext ("glib20", "GDateTime\004AM", strlen ("GDateTime") + 1);
data/glib2.0-2.66.3/glib/win_iconv.c:943: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).
    name = xstrndup(_name, strlen(_name));
data/glib2.0-2.66.3/glib/win_iconv.c:1131:15:  [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(token);
data/glib2.0-2.66.3/glib/win_iconv.c:1132: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 char *p = str + strlen(str);
data/glib2.0-2.66.3/glib/win_iconv.c:1185: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).
            e = p + strlen(p);
data/glib2.0-2.66.3/glib/win_iconv.c:2044: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).
        tocode = (char *)malloc(strlen(p) + strlen("//IGNORE") + 1);
data/glib2.0-2.66.3/glib/win_iconv.c:2044:45:  [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).
        tocode = (char *)malloc(strlen(p) + strlen("//IGNORE") + 1);
data/glib2.0-2.66.3/gmodule/gmodule-ar.c:61:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(fd, (void*)&file_header, FL_HSZ) != FL_HSZ)
data/glib2.0-2.66.3/gmodule/gmodule-ar.c:74:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(fd, (void*)&ar_header, AR_HSZ - 2) != AR_HSZ - 2)
data/glib2.0-2.66.3/gmodule/gmodule-ar.c:85:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read(fd, (void*)member, name_len) != name_len)
data/glib2.0-2.66.3/gmodule/gmodule-win32.c:203: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).
  k = strlen (module_name);
data/glib2.0-2.66.3/gmodule/gmodule.c:432: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).
  gsize string_len = strlen (string);    
data/glib2.0-2.66.3/gmodule/gmodule.c:433: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).
  gsize suffix_len = strlen (suffix);    
data/glib2.0-2.66.3/gobject/gobject-query.c:74: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).
  for (i = strlen (g_type_name (type)); i <= strlen (indent_inc); i++)
data/glib2.0-2.66.3/gobject/gobject-query.c:74: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).
  for (i = strlen (g_type_name (type)); i <= strlen (indent_inc); i++)
data/glib2.0-2.66.3/gobject/gobject-query.c:153: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).
	      indent_inc = g_new (gchar, n * strlen (O_SPACE) + 1);
data/glib2.0-2.66.3/gobject/gobject-query.c:203:34:  [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).
      indent_inc = g_new (gchar, strlen (O_SPACE) + 1);
data/glib2.0-2.66.3/gobject/gparam.c:1119:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy (buffer, param_name, delim - param_name);
data/glib2.0-2.66.3/gobject/gtype.c:1109: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).
	vtable_size += strlen (value_table->collect_format);
data/glib2.0-2.66.3/gobject/gtype.c:1111: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).
	vtable_size += strlen (value_table->lcopy_format);
data/glib2.0-2.66.3/gobject/gtype.c:1203: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).
	  p += strlen (value_table->collect_format);
data/glib2.0-2.66.3/tests/file-test.c:81:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  i = read (fd, chars, sizeof (chars));
data/glib2.0-2.66.3/tests/file-test.c:211: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).
  fwrite (text, 1, strlen (text), f);
data/glib2.0-2.66.3/tests/slice-color.c:151: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).
  guint l = strlen (string);
data/glib2.0-2.66.3/tests/slice-test.c:219: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).
      guint i, l = strlen (argv[2]);
data/glib2.0-2.66.3/tests/spawn-test-win32-gui.c:49:11:  [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).
      n = strlen ("Hello there");
data/glib2.0-2.66.3/tests/spawn-test-win32-gui.c:58:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if ((k = read (infd, &n, sizeof (n))) != sizeof (n))
data/glib2.0-2.66.3/tests/spawn-test-win32-gui.c:67:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if ((k = read (infd, buf, n)) != n)
data/glib2.0-2.66.3/tests/spawn-test-win32-gui.c:77:11:  [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).
      n = strlen ("See ya");
data/glib2.0-2.66.3/tests/spawn-test.c:278:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if ((k = read (pipeup[0], &n, sizeof (n))) != sizeof (n))
data/glib2.0-2.66.3/tests/spawn-test.c:289:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if ((k = read (pipeup[0], buf, n)) != n)
data/glib2.0-2.66.3/tests/spawn-test.c:300:11:  [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).
      n = strlen ("Bye then");
data/glib2.0-2.66.3/tests/spawn-test.c:309:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if ((k = read (pipeup[0], &n, sizeof (n))) != sizeof (n))
data/glib2.0-2.66.3/tests/spawn-test.c:319:16:  [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 (n != strlen ("See ya"))
data/glib2.0-2.66.3/tests/spawn-test.c:321:58:  [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).
	  printf ("child wrote %d bytes, expected %d", n, (int) strlen ("See ya"));
data/glib2.0-2.66.3/tests/spawn-test.c:325:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if ((k = read (pipeup[0], buf, n)) != n)
data/glib2.0-2.66.3/tests/testglib.c:1040:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  n = read (fd, chars, sizeof (chars));
data/glib2.0-2.66.3/tests/testglib.c:1329:53:  [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_string_append_len (string1, "lasthalfjunkjunk", strlen ("lasthalf"));
data/glib2.0-2.66.3/tests/testglib.c:1341:55:  [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_string_prepend_len (string1, "firsthalfjunkjunk", strlen ("firsthalf"));
data/glib2.0-2.66.3/tests/testglib.c:1353: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).
  g_string_insert (string1, strlen ("firstmiddle"), "last");
data/glib2.0-2.66.3/tests/testglib.c:1359:54:  [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_string_insert_len (string1, 5, "middlejunkjunk", strlen ("middle"));
data/glib2.0-2.66.3/tests/testglib.c:1365:53:  [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_string_insert_len (string1, -1, "lastjunkjunk", strlen ("last"));
data/glib2.0-2.66.3/tests/timeloop-basic.c:42:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      count = read (fd, buf + bytes_read, len - bytes_read);
data/glib2.0-2.66.3/tests/unicode-caseconv.c:110:14:  [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).
      buffer[strlen(buffer) - 1] = '\0';
data/glib2.0-2.66.3/tests/unicode-encoding.c:140:41:  [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 (!ucs4_result || items_read == strlen (utf8))
data/glib2.0-2.66.3/tests/unicode-encoding.c:161: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).
	  items_read != strlen (utf8) ||
data/glib2.0-2.66.3/tests/unicode-encoding.c:198: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).
	  items_written != strlen (utf8))
data/glib2.0-2.66.3/tests/unicode-encoding.c:260:25:  [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 (items_read != strlen (utf8) ||
data/glib2.0-2.66.3/tests/unicode-encoding.c:294: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).
	  items_written != strlen (utf8))

ANALYSIS SUMMARY:

Hits = 1994
Lines analyzed = 720839 in approximately 16.91 seconds (42620 lines/second)
Physical Source Lines of Code (SLOC) = 481729
Hits@level = [0] 356 [1] 914 [2] 685 [3] 256 [4] 127 [5]  12
Hits@level+ = [0+] 2350 [1+] 1994 [2+] 1080 [3+] 395 [4+] 139 [5+]  12
Hits/KSLOC@level+ = [0+] 4.87826 [1+] 4.13926 [2+] 2.24192 [3+] 0.819963 [4+] 0.288544 [5+] 0.0249103
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.