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/bristol-0.60.11/libbristol/opmgt.c
Examining data/bristol-0.60.11/libbristol/debugging.c
Examining data/bristol-0.60.11/libbristol/mixroutines.c
Examining data/bristol-0.60.11/libbristol/audioRoutines.c
Examining data/bristol-0.60.11/libbristol/bristolcdefs.c
Examining data/bristol-0.60.11/brighton/brightonMixer.h
Examining data/bristol-0.60.11/brighton/brightonHammondB3.c
Examining data/bristol-0.60.11/brighton/brightonVoxM2.c
Examining data/bristol-0.60.11/brighton/brightonHammond.c
Examining data/bristol-0.60.11/brighton/brightonVox.c
Examining data/bristol-0.60.11/brighton/brightonAxxe.c
Examining data/bristol-0.60.11/brighton/brightonProphet.c
Examining data/bristol-0.60.11/brighton/brightonMemoryMoog.c
Examining data/bristol-0.60.11/brighton/brightonMini.h
Examining data/bristol-0.60.11/brighton/brightonPoly800.c
Examining data/bristol-0.60.11/brighton/brightonMini.c
Examining data/bristol-0.60.11/brighton/brightonSAks.c
Examining data/bristol-0.60.11/brighton/brightonSonic6.c
Examining data/bristol-0.60.11/brighton/brightonMixerMemory.h
Examining data/bristol-0.60.11/brighton/brightonStratus.c
Examining data/bristol-0.60.11/brighton/brightonCS80.c
Examining data/bristol-0.60.11/brighton/brightonSolina.c
Examining data/bristol-0.60.11/brighton/brightonMaster.c
Examining data/bristol-0.60.11/brighton/brightonProOne.c
Examining data/bristol-0.60.11/brighton/brightonhelp.h
Examining data/bristol-0.60.11/brighton/brighton.c
Examining data/bristol-0.60.11/brighton/brightonSID.c
Examining data/bristol-0.60.11/brighton/brightonOdyssey.c
Examining data/bristol-0.60.11/brighton/brightonGranular.c
Examining data/bristol-0.60.11/brighton/brightonProphet10.c
Examining data/bristol-0.60.11/brighton/brightonPoly.c
Examining data/bristol-0.60.11/brighton/brightonreadme.h
Examining data/bristol-0.60.11/brighton/brightonMixerMenu.c
Examining data/bristol-0.60.11/brighton/brightonJuno.c
Examining data/bristol-0.60.11/brighton/brightonBitOne.c
Examining data/bristol-0.60.11/brighton/brightonTrilogy.c
Examining data/bristol-0.60.11/brighton/brightonKeyboards.h
Examining data/bristol-0.60.11/brighton/brightonVoyager.c
Examining data/bristol-0.60.11/brighton/brightonPoly6.c
Examining data/bristol-0.60.11/brighton/brightonMS20.c
Examining data/bristol-0.60.11/brighton/brightonBME700.c
Examining data/bristol-0.60.11/brighton/brightonOBXa.c
Examining data/bristol-0.60.11/brighton/brightonExplorer.c
Examining data/bristol-0.60.11/brighton/brightonSID2.h
Examining data/bristol-0.60.11/brighton/brightonRoadRunner.c
Examining data/bristol-0.60.11/brighton/brightonArp2600.c
Examining data/bristol-0.60.11/brighton/brightonBassMaker.c
Examining data/bristol-0.60.11/brighton/brightonMixerMemory.c
Examining data/bristol-0.60.11/brighton/brightonRoutines.c
Examining data/bristol-0.60.11/brighton/brightonVImages.h
Examining data/bristol-0.60.11/brighton/brightonMixer.c
Examining data/bristol-0.60.11/brighton/brightonProphet52.c
Examining data/bristol-0.60.11/brighton/brightonOBX.c
Examining data/bristol-0.60.11/brighton/brightonControllers.c
Examining data/bristol-0.60.11/brighton/brightonJupiter.c
Examining data/bristol-0.60.11/brighton/brightonKeys.h
Examining data/bristol-0.60.11/brighton/brightonRealistic.c
Examining data/bristol-0.60.11/brighton/brightonCLI.c
Examining data/bristol-0.60.11/brighton/brightonRhodes.c
Examining data/bristol-0.60.11/brighton/brightonDX.c
Examining data/bristol-0.60.11/brighton/brightonRhodesBass.c
Examining data/bristol-0.60.11/brighton/brightonSID2.c
Examining data/bristol-0.60.11/libbristolaudio/audioEngineALSA.c
Examining data/bristol-0.60.11/libbristolaudio/audioEngineOSS.c
Examining data/bristol-0.60.11/libbristolaudio/audioGUIALSA.c
Examining data/bristol-0.60.11/libbristolaudio/audioGUIOSS.c
Examining data/bristol-0.60.11/libbristolaudio/audioGUI.c
Examining data/bristol-0.60.11/libbristolaudio/audioEngine.c
Examining data/bristol-0.60.11/libbristolaudio/audioMastering.c
Examining data/bristol-0.60.11/libbristolaudio/audioEngineJack.c
Examining data/bristol-0.60.11/bin/bristoljackstats.c
Examining data/bristol-0.60.11/libbrightonX11/bColor.c
Examining data/bristol-0.60.11/libbrightonX11/bWindow.c
Examining data/bristol-0.60.11/libbrightonX11/bRoutines.c
Examining data/bristol-0.60.11/libbrightonX11/bEvent.c
Examining data/bristol-0.60.11/libbrightonX11/bDisplay.c
Examining data/bristol-0.60.11/libbrightonX11/bRender.c
Examining data/bristol-0.60.11/libbrighton/brightonKbd.c
Examining data/bristol-0.60.11/libbrighton/brightonDevice.c
Examining data/bristol-0.60.11/libbrighton/brightonHammond.c
Examining data/bristol-0.60.11/libbrighton/brightonModWheel.c
Examining data/bristol-0.60.11/libbrighton/brightonLever.c
Examining data/bristol-0.60.11/libbrighton/brightonVu.c
Examining data/bristol-0.60.11/libbrighton/brightonButton.c
Examining data/bristol-0.60.11/libbrighton/brightonRender.c
Examining data/bristol-0.60.11/libbrighton/brightonShadowMgt.c
Examining data/bristol-0.60.11/libbrighton/brightonDisplayMgt.c
Examining data/bristol-0.60.11/libbrighton/brightonDispatch.c
Examining data/bristol-0.60.11/libbrighton/brightonkeymappings.h
Examining data/bristol-0.60.11/libbrighton/brightonBitmaps.c
Examining data/bristol-0.60.11/libbrighton/brightonMenu.c
Examining data/bristol-0.60.11/libbrighton/brightonWindowMgt.c
Examining data/bristol-0.60.11/libbrighton/brightonPic.c
Examining data/bristol-0.60.11/libbrighton/brightonTouchpanel.c
Examining data/bristol-0.60.11/libbrighton/brightonC.c
Examining data/bristol-0.60.11/libbrighton/brightonScale.c
Examining data/bristol-0.60.11/libbrighton/brightonFastTimer.c
Examining data/bristol-0.60.11/libbrighton/brightonXpmRead.c
Examining data/bristol-0.60.11/libbrighton/brightonHButton.c
Examining data/bristol-0.60.11/libbrighton/brightonInterface.c
Examining data/bristol-0.60.11/libbrighton/brightonPanelMgt.c
Examining data/bristol-0.60.11/libbrighton/brightonRibbonKbd.c
Examining data/bristol-0.60.11/libbrighton/brightonEventHandlers.c
Examining data/bristol-0.60.11/libbrighton/brightonColorMgt.c
Examining data/bristol-0.60.11/libbrighton/brightonLedBlock.c
Examining data/bristol-0.60.11/libbrighton/brightonDisplay.c
Examining data/bristol-0.60.11/libbrighton/brightonSlowTimer.c
Examining data/bristol-0.60.11/libbrighton/brightonRotary.c
Examining data/bristol-0.60.11/libbrighton/brightonLayer.c
Examining data/bristol-0.60.11/libbrighton/brightonLed.c
Examining data/bristol-0.60.11/include/slab/slabtrack.h
Examining data/bristol-0.60.11/include/slab/engine.h
Examining data/bristol-0.60.11/include/slab/bristoljack.h
Examining data/bristol-0.60.11/include/slab/fbDefs.h
Examining data/bristol-0.60.11/include/slab/slabrevisions.h
Examining data/bristol-0.60.11/include/slab/slabdefinitions.h
Examining data/bristol-0.60.11/include/slab/slabDebugMasks.h
Examining data/bristol-0.60.11/include/slab/slabEffects.h
Examining data/bristol-0.60.11/include/slab/slabmixer.h
Examining data/bristol-0.60.11/include/slab/slabcdefs.h
Examining data/bristol-0.60.11/include/slab/slabaudio.h
Examining data/bristol-0.60.11/include/slab/slabaudiodev.h
Examining data/bristol-0.60.11/include/slab/slabbus.h
Examining data/bristol-0.60.11/include/slab/slabDAccess.h
Examining data/bristol-0.60.11/include/slab/slabcbuf.h
Examining data/bristol-0.60.11/include/slab/socketToolKit.h
Examining data/bristol-0.60.11/include/slab/slabalsadev.h
Examining data/bristol-0.60.11/include/slab/bristolpulse.h
Examining data/bristol-0.60.11/include/slab/slabTimer.h
Examining data/bristol-0.60.11/include/brighton/brightonC11internals.h
Examining data/bristol-0.60.11/include/brighton/brightonC11.h
Examining data/bristol-0.60.11/include/brighton/brightoninternals.h
Examining data/bristol-0.60.11/include/brighton/brightonX11internals.h
Examining data/bristol-0.60.11/include/brighton/brightondev.h
Examining data/bristol-0.60.11/include/brighton/brightonmenu.h
Examining data/bristol-0.60.11/include/brighton/brightonDevtable.h
Examining data/bristol-0.60.11/include/brighton/brighton.h
Examining data/bristol-0.60.11/include/brighton/brightonX11.h
Examining data/bristol-0.60.11/include/brighton/brightondevflags.h
Examining data/bristol-0.60.11/include/brighton/brightonevents.h
Examining data/bristol-0.60.11/include/brighton/brightonvectorgraphics.h
Examining data/bristol-0.60.11/include/brighton/brightonledstates.h
Examining data/bristol-0.60.11/include/bristol/ringbuffer.h
Examining data/bristol-0.60.11/include/bristol/bristolvers.h
Examining data/bristol-0.60.11/include/bristol/bristolmidi.h
Examining data/bristol-0.60.11/include/bristol/bristolmidiapidata.h
Examining data/bristol-0.60.11/include/bristol/bristol.h
Examining data/bristol-0.60.11/include/bristol/bristolmidieventnames.h
Examining data/bristol-0.60.11/include/bristol/bristolactivesense.h
Examining data/bristol-0.60.11/include/bristol/bristolaudio.h
Examining data/bristol-0.60.11/include/bristol/bristolarpeggiation.h
Examining data/bristol-0.60.11/include/bristol/bristoldebug.h
Examining data/bristol-0.60.11/include/bristol/bristolblo.h
Examining data/bristol-0.60.11/include/bristol/bristolsid.h
Examining data/bristol-0.60.11/include/bristol/bristolmidiapi.h
Examining data/bristol-0.60.11/include/bristol/bristolmessages.h
Examining data/bristol-0.60.11/libbvg/font1.h
Examining data/bristol-0.60.11/libbvg/bvg.c
Examining data/bristol-0.60.11/libbrightonC11/bColor.c
Examining data/bristol-0.60.11/libbrightonC11/bWindow.c
Examining data/bristol-0.60.11/libbrightonC11/bRoutines.c
Examining data/bristol-0.60.11/libbrightonC11/bEvent.c
Examining data/bristol-0.60.11/libbrightonC11/bDisplay.c
Examining data/bristol-0.60.11/libbrightonC11/bRender.c
Examining data/bristol-0.60.11/libbristolmidi/midiALSADevMan.c
Examining data/bristol-0.60.11/libbristolmidi/midiDevMan.c
Examining data/bristol-0.60.11/libbristolmidi/midiParse.c
Examining data/bristol-0.60.11/libbristolmidi/interface.c
Examining data/bristol-0.60.11/libbristolmidi/midiRoutines.c
Examining data/bristol-0.60.11/libbristolmidi/slabmessages.h
Examining data/bristol-0.60.11/libbristolmidi/scalaParse.c
Examining data/bristol-0.60.11/libbristolmidi/socketToolKit.c
Examining data/bristol-0.60.11/libbristolmidi/midiSeqDevMan.c
Examining data/bristol-0.60.11/libbristolmidi/midiFileMgt.c
Examining data/bristol-0.60.11/libbristolmidi/inetClient.c
Examining data/bristol-0.60.11/libbristolmidi/midiJACKDevMan.c
Examining data/bristol-0.60.11/libbristolmidi/midiTCPDevMan.c
Examining data/bristol-0.60.11/libbristolmidi/midiOSSDevMan.c
Examining data/bristol-0.60.11/libbristolmidi/inetServer.c
Examining data/bristol-0.60.11/libbristolmidi/midiMsgMan.c
Examining data/bristol-0.60.11/libbristolic/sid.c
Examining data/bristol-0.60.11/bristol/bristolobx.c
Examining data/bristol-0.60.11/bristol/envelope.c
Examining data/bristol-0.60.11/bristol/bristolpoly800.c
Examining data/bristol-0.60.11/bristol/lfo.c
Examining data/bristol-0.60.11/bristol/bristolodyssey.c
Examining data/bristol-0.60.11/bristol/sdcoutils.c
Examining data/bristol-0.60.11/bristol/blo.c
Examining data/bristol-0.60.11/bristol/dca.c
Examining data/bristol-0.60.11/bristol/bristoljuno.h
Examining data/bristol-0.60.11/bristol/nro.c
Examining data/bristol-0.60.11/bristol/bristoldx.c
Examining data/bristol-0.60.11/bristol/bristolsystem.c
Examining data/bristol-0.60.11/bristol/bristolmixer.c
Examining data/bristol-0.60.11/bristol/prophetdco.c
Examining data/bristol-0.60.11/bristol/granular.h
Examining data/bristol-0.60.11/bristol/vibrachorus.h
Examining data/bristol-0.60.11/bristol/bristolmm.h
Examining data/bristol-0.60.11/bristol/aksfilter.c
Examining data/bristol-0.60.11/bristol/cs80env.c
Examining data/bristol-0.60.11/bristol/reverb.h
Examining data/bristol-0.60.11/bristol/dca.h
Examining data/bristol-0.60.11/bristol/bristolbme700.h
Examining data/bristol-0.60.11/bristol/trilogyosc.c
Examining data/bristol-0.60.11/bristol/noise.h
Examining data/bristol-0.60.11/bristol/dimensionD.h
Examining data/bristol-0.60.11/bristol/dco.c
Examining data/bristol-0.60.11/bristol/soundManager.c
Examining data/bristol-0.60.11/bristol/bristolbme700.c
Examining data/bristol-0.60.11/bristol/bristolsampler.h
Examining data/bristol-0.60.11/bristol/bristolodyssey.h
Examining data/bristol-0.60.11/bristol/bristolhammond.c
Examining data/bristol-0.60.11/bristol/sdco.h
Examining data/bristol-0.60.11/bristol/bristolpoly.h
Examining data/bristol-0.60.11/bristol/bristolmm.c
Examining data/bristol-0.60.11/bristol/bristolgranular.c
Examining data/bristol-0.60.11/bristol/reverb.c
Examining data/bristol-0.60.11/bristol/nro.h
Examining data/bristol-0.60.11/bristol/aksenv.c
Examining data/bristol-0.60.11/bristol/bristolsonic6.c
Examining data/bristol-0.60.11/bristol/bristoljupiter.c
Examining data/bristol-0.60.11/bristol/bristolarp2600.c
Examining data/bristol-0.60.11/bristol/expdco.c
Examining data/bristol-0.60.11/bristol/aksdco.c
Examining data/bristol-0.60.11/bristol/vox.h
Examining data/bristol-0.60.11/bristol/lfo.h
Examining data/bristol-0.60.11/bristol/arpeggiator.c
Examining data/bristol-0.60.11/bristol/expdco.h
Examining data/bristol-0.60.11/bristol/noise.c
Examining data/bristol-0.60.11/bristol/thesermon.c
Examining data/bristol-0.60.11/bristol/hammondchorus.h
Examining data/bristol-0.60.11/bristol/bristolpoly.c
Examining data/bristol-0.60.11/bristol/dimensionD.c
Examining data/bristol-0.60.11/bristol/bit1osc.h
Examining data/bristol-0.60.11/bristol/bristolsid1.c
Examining data/bristol-0.60.11/bristol/trilogyosc.h
Examining data/bristol-0.60.11/bristol/prophetdco.h
Examining data/bristol-0.60.11/bristol/filter.c
Examining data/bristol-0.60.11/bristol/aksdco.h
Examining data/bristol-0.60.11/bristol/midinote.c
Examining data/bristol-0.60.11/bristol/bristolpoly6.c
Examining data/bristol-0.60.11/bristol/bristolhelp.h
Examining data/bristol-0.60.11/bristol/bristol.c
Examining data/bristol-0.60.11/bristol/bristolprophet52.c
Examining data/bristol-0.60.11/bristol/midihandlers.c
Examining data/bristol-0.60.11/bristol/arpdco.c
Examining data/bristol-0.60.11/bristol/vibrachorus.c
Examining data/bristol-0.60.11/bristol/bristolsid2.h
Examining data/bristol-0.60.11/bristol/bristolbassmaker.c
Examining data/bristol-0.60.11/bristol/bristolroadrunner.c
Examining data/bristol-0.60.11/bristol/env5stage.c
Examining data/bristol-0.60.11/bristol/bristolsid2.c
Examining data/bristol-0.60.11/bristol/bristolvox.c
Examining data/bristol-0.60.11/bristol/hammond.c
Examining data/bristol-0.60.11/bristol/bristolpoly800.h
Examining data/bristol-0.60.11/bristol/bristolexplorer.c
Examining data/bristol-0.60.11/bristol/cs80osc.c
Examining data/bristol-0.60.11/bristol/bristolcs80.h
Examining data/bristol-0.60.11/bristol/bristolprophet.c
Examining data/bristol-0.60.11/bristol/bristolprophet1.h
Examining data/bristol-0.60.11/bristol/palette.h
Examining data/bristol-0.60.11/bristol/thesermon.h
Examining data/bristol-0.60.11/bristol/bristolsonic6.h
Examining data/bristol-0.60.11/bristol/hpf.h
Examining data/bristol-0.60.11/bristol/bristoljuno.c
Examining data/bristol-0.60.11/bristol/bristolpoly6.h
Examining data/bristol-0.60.11/bristol/envelope.h
Examining data/bristol-0.60.11/bristol/sdco.c
Examining data/bristol-0.60.11/bristol/aksfilter.h
Examining data/bristol-0.60.11/bristol/midithread.c
Examining data/bristol-0.60.11/bristol/junodco.c
Examining data/bristol-0.60.11/bristol/bristolbitone.c
Examining data/bristol-0.60.11/bristol/resonator.c
Examining data/bristol-0.60.11/bristol/aksenv.h
Examining data/bristol-0.60.11/bristol/dxop.c
Examining data/bristol-0.60.11/bristol/audioEngine.c
Examining data/bristol-0.60.11/bristol/bristolexplorer.h
Examining data/bristol-0.60.11/bristol/bristolrealistic.c
Examining data/bristol-0.60.11/bristol/hpf.c
Examining data/bristol-0.60.11/bristol/bristolmg1.h
Examining data/bristol-0.60.11/bristol/bristoltrilogy.c
Examining data/bristol-0.60.11/bristol/bristolaks.h
Examining data/bristol-0.60.11/bristol/bristolprophet.h
Examining data/bristol-0.60.11/bristol/activesense.c
Examining data/bristol-0.60.11/bristol/granulardco.h
Examining data/bristol-0.60.11/bristol/bristolaxxe.c
Examining data/bristol-0.60.11/bristol/arpdco.h
Examining data/bristol-0.60.11/bristol/solina.h
Examining data/bristol-0.60.11/bristol/bristolmemorymoog.c
Examining data/bristol-0.60.11/bristol/dxop.h
Examining data/bristol-0.60.11/bristol/follower.c
Examining data/bristol-0.60.11/bristol/electroswitch.h
Examining data/bristol-0.60.11/bristol/click.h
Examining data/bristol-0.60.11/bristol/ringbuffer.c
Examining data/bristol-0.60.11/bristol/aksreverb.c
Examining data/bristol-0.60.11/bristol/bristolsolina.c
Examining data/bristol-0.60.11/bristol/bristolmixer.h
Examining data/bristol-0.60.11/bristol/bristolaks.c
Examining data/bristol-0.60.11/bristol/follower.h
Examining data/bristol-0.60.11/bristol/bristolsid1.h
Examining data/bristol-0.60.11/bristol/vox.c
Examining data/bristol-0.60.11/bristol/granulardco.c
Examining data/bristol-0.60.11/bristol/rotary.c
Examining data/bristol-0.60.11/bristol/bristolaxxe.h
Examining data/bristol-0.60.11/bristol/dco.h
Examining data/bristol-0.60.11/bristol/ringmod.c
Examining data/bristol-0.60.11/bristol/filter2.c
Examining data/bristol-0.60.11/bristol/bit1osc.c
Examining data/bristol-0.60.11/bristol/bristolprophet1.c
Examining data/bristol-0.60.11/bristol/roadrunner.h
Examining data/bristol-0.60.11/bristol/ringmod.h
Examining data/bristol-0.60.11/bristol/bristolcs80.c
Examining data/bristol-0.60.11/bristol/bristolmemorymoog.h
Examining data/bristol-0.60.11/bristol/bristolobx.h
Examining data/bristol-0.60.11/bristol/audiothread.c
Examining data/bristol-0.60.11/bristol/rotary.h
Examining data/bristol-0.60.11/bristol/bristoltrilogy.h
Examining data/bristol-0.60.11/bristol/resonator.h
Examining data/bristol-0.60.11/bristol/hammond.h
Examining data/bristol-0.60.11/bristol/cs80osc.h
Examining data/bristol-0.60.11/bristol/env5stage.h
Examining data/bristol-0.60.11/bristol/bristolsampler.c
Examining data/bristol-0.60.11/bristol/junodco.h
Examining data/bristol-0.60.11/bristol/hammondchorus.c
Examining data/bristol-0.60.11/bristol/bristolarp2600.h
Examining data/bristol-0.60.11/bristol/aksreverb.h
Examining data/bristol-0.60.11/bristol/filter.h
Examining data/bristol-0.60.11/bristol/electroswitch.c

FINAL RESULTS:

data/bristol-0.60.11/libbristolmidi/inetServer.c:122:3:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
		chmod(devname, 0777);
data/bristol-0.60.11/brighton/brighton.c:1504:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(statfile, "%s/%s.gz", getenv("BRISTOL"),
data/bristol-0.60.11/brighton/brighton.c:1510:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(statfile, "%s/%s", getenv("BRISTOL"),
data/bristol-0.60.11/brighton/brightonControllers.c:385:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s/memory/profiles/%s", getBristolCache(synth), synth);
data/bristol-0.60.11/brighton/brightonControllers.c:387:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s", filename);
data/bristol-0.60.11/brighton/brightonControllers.c:397:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s/memory/profiles/%s", getenv("BRISTOL"), synth);
data/bristol-0.60.11/brighton/brightonControllers.c:575:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s/memory/profiles/%s", getBristolCache(synth), synth);
data/bristol-0.60.11/brighton/brightonControllers.c:577:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s", filename);
data/bristol-0.60.11/brighton/brightonControllers.c:588:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s/memory/profiles/%s", getenv("BRISTOL"), synth);
data/bristol-0.60.11/brighton/brightonMixerMemory.c:57:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(path, "%s/memory/%s/%s/%s.mem",
data/bristol-0.60.11/brighton/brightonMixerMemory.c:63:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(synth->mem.name, "%s", name);
data/bristol-0.60.11/brighton/brightonMixerMemory.c:320:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(((mixerMem *) synth->mem.param)->chan[channel].scratch, "%s", new->chan[channel].scratch);
data/bristol-0.60.11/brighton/brightonMixerMemory.c:337:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(songDir, "%s", name);
data/bristol-0.60.11/brighton/brightonMixerMemory.c:344:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(path, "%s/memory/%s/%s", getBristolCache("midicontrollermap"), "mixer", name);
data/bristol-0.60.11/brighton/brightonMixerMemory.c:364:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(path, "%s/memory/%s/%s/%s.mem",
data/bristol-0.60.11/brighton/brightonMixerMemory.c:369:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s/memory/%s/%s/%s.mem",
data/bristol-0.60.11/brighton/brightonMixerMemory.c:448:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(path, "%s/memory/%s",
data/bristol-0.60.11/brighton/brightonMixerMemory.c:451:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(path, "%s/memory/%s/%s",
data/bristol-0.60.11/brighton/brightonMixerMemory.c:615:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(m->chan[channel].scratch, "%s", text);
data/bristol-0.60.11/brighton/brightonMixerMenu.c:436:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(memscratch, "%s", memList[memIndex]);
data/bristol-0.60.11/brighton/brightonMixerMenu.c:451:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(memscratch, "%s", memList[memIndex]);
data/bristol-0.60.11/brighton/brightonMixerMenu.c:482:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(scratch, "%s",
data/bristol-0.60.11/brighton/brightonMixerMenu.c:505:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(text, "Text: %s               ", scratch);
data/bristol-0.60.11/brighton/brightonMixerMenu.c:536:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(text, "Name: %s                 ", memscratch);
data/bristol-0.60.11/brighton/brightonMixerMenu.c:838:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(scratch, "%s", getMixerMemory((mixerMem *) synth->mem.param, currentTrack + 4, 79));
data/bristol-0.60.11/brighton/brightonMixerMenu.c:857:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(scratch, "%s", getMixerMemory((mixerMem *) synth->mem.param, currentTrack + 4, 79));
data/bristol-0.60.11/brighton/brightonMixerMenu.c:868:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(text, "Text: %s                         ", scratch);
data/bristol-0.60.11/brighton/brightonMixerMenu.c:937:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(memscratch, "%s", memList[memIndex]);
data/bristol-0.60.11/brighton/brightonMixerMenu.c:949:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(memscratch, "%s", memList[memIndex]);
data/bristol-0.60.11/brighton/brightonMixerMenu.c:961:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(memscratch, "%s", memList[memIndex]);
data/bristol-0.60.11/brighton/brightonMixerMenu.c:973:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(memscratch, "%s", memList[memIndex]);
data/bristol-0.60.11/brighton/brightonMixerMenu.c:987:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(memList[++memCount], "%s", entry);
data/bristol-0.60.11/brighton/brightonMixerMenu.c:1002:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(memList[++memCount], "%s", entry);
data/bristol-0.60.11/brighton/brightonMixerMenu.c:1018:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(text, "%s", functionMenu[21].title.title);
data/bristol-0.60.11/brighton/brightonMixerMenu.c:1046:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(text, "%s", functionMenu[20].title.title);
data/bristol-0.60.11/brighton/brightonMixerMenu.c:1133:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(text, "Name: %s                         ", memscratch);
data/bristol-0.60.11/brighton/brightonOBXa.c:593:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(synth->mem.algo, "%s", name);
data/bristol-0.60.11/brighton/brightonOBXa.c:594:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s", name);
data/bristol-0.60.11/brighton/brightonOBXa.c:596:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s/memory/%s/%s%i.mem",
data/bristol-0.60.11/brighton/brightonOBXa.c:598:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(synth->mem.algo, "%s", name);
data/bristol-0.60.11/brighton/brightonOBXa.c:602:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(synth->mem.name, "%s", name);
data/bristol-0.60.11/brighton/brightonOBXa.c:607:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s/memory/%s/%s%i.mem",
data/bristol-0.60.11/brighton/brightonOBXa.c:1435:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(synth->mem.algo, "%s", name);
data/bristol-0.60.11/brighton/brightonOBXa.c:1436:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s", name);
data/bristol-0.60.11/brighton/brightonOBXa.c:1438:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s/memory/%s/%s%i.mem",
data/bristol-0.60.11/brighton/brightonOBXa.c:1440:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(synth->mem.algo, "%s", name);
data/bristol-0.60.11/brighton/brightonOBXa.c:1444:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(synth->mem.name, "%s", name);
data/bristol-0.60.11/brighton/brightonOBXa.c:1450:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s/memory/%s/%s%i.mem",
data/bristol-0.60.11/brighton/brightonProOne.c:851:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(showthis, "%s: %1.3f",
data/bristol-0.60.11/brighton/brightonProOne.c:855:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(showthis, "%s: %1.1f",
data/bristol-0.60.11/brighton/brightonRoutines.c:166:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(display, "%s", text);
data/bristol-0.60.11/brighton/brightonRoutines.c:180:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(display, "%s: %i", text, value);
data/bristol-0.60.11/brighton/brightonRoutines.c:196:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(display, "%s: %i", text, value);
data/bristol-0.60.11/brighton/brightonRoutines.c:259:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(path, "%s/memory", envcache);
data/bristol-0.60.11/brighton/brightonRoutines.c:266: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(myHome, envcache);
data/bristol-0.60.11/brighton/brightonRoutines.c:271:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
						sprintf(path, "%s/memory/profiles", envcache);
data/bristol-0.60.11/brighton/brightonRoutines.c:273: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(myHome, envcache);
data/bristol-0.60.11/brighton/brightonRoutines.c:284:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(path, "%s/memory", envcache);
data/bristol-0.60.11/brighton/brightonRoutines.c:286:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(path, "%s/memory/profiles", envcache);
data/bristol-0.60.11/brighton/brightonRoutines.c:289:6:  [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(myHome, envcache);
data/bristol-0.60.11/brighton/brightonRoutines.c:310:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(path, "%s/.bristol", envcache);
data/bristol-0.60.11/brighton/brightonRoutines.c:312:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(myHome, "%s", path);
data/bristol-0.60.11/brighton/brightonRoutines.c:316:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(path, "%s/.bristol/memory", envcache);
data/bristol-0.60.11/brighton/brightonRoutines.c:318:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(path, "%s/.bristol/memory/profiles", envcache);
data/bristol-0.60.11/brighton/brightonRoutines.c:341:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s", name);
data/bristol-0.60.11/brighton/brightonRoutines.c:350:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s/memory/%s", ppath, algo);
data/bristol-0.60.11/brighton/brightonRoutines.c:365:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s/memory/%s/%s%i.%s", ppath, algo, algo, location, ext);
data/bristol-0.60.11/brighton/brightonRoutines.c:371:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s/memory/%s/%s%i.%s",
data/bristol-0.60.11/brighton/brightonRoutines.c:603:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(&seq->algo[0], "%s", algo);
data/bristol-0.60.11/brighton/brightonRoutines.c:605:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(&seq->algo[0], "%s", &tmem.algo[0]);
data/bristol-0.60.11/brighton/brightonRoutines.c:606:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(&seq->name[0], "%s", &tmem.name[0]);
data/bristol-0.60.11/brighton/brightonRoutines.c:722:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(&synth->mem.algo[0], "%s", algo);
data/bristol-0.60.11/brighton/brightonRoutines.c:724:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(&synth->mem.algo[0], "%s", &tmem.algo[0]);
data/bristol-0.60.11/brighton/brightonRoutines.c:725:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(&synth->mem.name[0], "%s", &tmem.name[0]);
data/bristol-0.60.11/bristol/audiothread.c:763:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(file, "%s.mcm", bristolAlgos[
data/bristol-0.60.11/bristol/audiothread.c:890:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(name, "%s.mcm",
data/bristol-0.60.11/bristol/bristol.c:121:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(audiomain->cmdline, "%s", rindex(argv[0], '/') + 1);
data/bristol-0.60.11/bristol/bristol.c:155:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(audiomain->cmdline, "%s %s", audiomain->cmdline, argv[i]);
data/bristol-0.60.11/bristol/bristol.c:766:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
					sprintf(regname, "%smt", 
data/bristol-0.60.11/bristol/midihandlers.c:772:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(param, "%sFloat", &eventNames[index][0]);
data/bristol-0.60.11/bristol/ringbuffer.c:38:64:  [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.
#warning SMP Danger: memory barriers are not supported on this system
data/bristol-0.60.11/bristol/thesermon.c:1071:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(path, "%s/memory/profiles/%s", getBristolCache(file), file);
data/bristol-0.60.11/bristol/thesermon.c:1078:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s/memory/profiles/%s", getenv("BRISTOL"), file);
data/bristol-0.60.11/bristol/thesermon.c:1151:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(path, "%s/memory/profiles/%s", getBristolCache(file), file);
data/bristol-0.60.11/bristol/thesermon.c:1158:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "%s/memory/profiles/%s", getenv("BRISTOL"), file);
data/bristol-0.60.11/libbrighton/brightonBitmaps.c:66:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(bitmap->name, "%s", name);
data/bristol-0.60.11/libbrighton/brightonBitmaps.c:83:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(file, "%s", filename);
data/bristol-0.60.11/libbrighton/brightonBitmaps.c:88:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(file, "%s/%s", brightonhome, filename);
data/bristol-0.60.11/libbrighton/brightonButton.c:442:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "bitmaps/buttons/%s1.xpm", bitmap);
data/bristol-0.60.11/libbrighton/brightonButton.c:445:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(path, "bitmaps/buttons/%s2.xpm", bitmap);
data/bristol-0.60.11/libbrighton/brightonButton.c:449:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(path, "bitmaps/buttons/%s3.xpm", bitmap);
data/bristol-0.60.11/libbrighton/brightonButton.c:474:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(path, "bitmaps/buttons/%s1.xpm", bitmap);
data/bristol-0.60.11/libbrighton/brightonButton.c:478:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(path, "bitmaps/buttons/%s2.xpm", bitmap);
data/bristol-0.60.11/libbrighton/brightonButton.c:482:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(path, "bitmaps/buttons/%s3.xpm", bitmap);
data/bristol-0.60.11/libbrighton/brightonButton.c:486:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(path, "bitmaps/buttons/%s4.xpm", bitmap);
data/bristol-0.60.11/libbrighton/brightonButton.c:490:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(path, "bitmaps/buttons/%s5.xpm", bitmap);
data/bristol-0.60.11/libbrighton/brightonDisplay.c:257:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(&dev->text[0], "%s", string);
data/bristol-0.60.11/libbrighton/brightonDisplayMgt.c:48:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(&display->name[0], "%s", displayname);
data/bristol-0.60.11/libbrighton/brightonLayer.c:417:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tImage, "%s", bwin->items[id].image->name);
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:70:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(line, "%s.gz", filename);
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:85:17:  [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.
			if ((child = execvp("cp", params)) < 0) {
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:103:17:  [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.
			if ((child = execvp("gunzip", params)) < 0) {
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:322:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(bitmap->name, "%s", filename);
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:447:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(filename, "/tmp/%s.xpm", bwin->template->name);
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:503:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(line, "\"%c%c	c %s\",\n", coff + 35, cagg + 35, cstring);
data/bristol-0.60.11/libbrightonC11/bDisplay.c:69:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(display->name, "%s", displayname);
data/bristol-0.60.11/libbrightonX11/bDisplay.c:91:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(display->name, "%s", displayname);
data/bristol-0.60.11/libbristol/audioRoutines.c:102:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(audioDev.devName, "%s", device);
data/bristol-0.60.11/libbristolaudio/audioEngineJack.c:105:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(jackdev.sEvent->command_line, "%s", commandline);
data/bristol-0.60.11/libbristolaudio/audioMastering.c:154:5:  [4] (shell) execlp:
  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.
				execlp("bladeenc", "bladeenc", /* "-quiet", */ "stdin",
data/bristol-0.60.11/libbristolmidi/inetClient.c:85: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(hostname, host);
data/bristol-0.60.11/libbristolmidi/inetServer.c:105:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(bristol_sockname, "%s", BRISTOL_SOCKNAME);
data/bristol-0.60.11/libbristolmidi/interface.c:220:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(bmidi.dev[devnum].name, "%s", dev);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:113:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(tmppath, "%s/memory/profiles/%s", envcache, file);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:119:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(myHome, "%s", envcache);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:127:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tmppath, "%s", envcache);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:129:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tmppath, "%s/memory", envcache);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:131:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tmppath, "%s/memory/profiles", envcache);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:136:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(tmppath, "%s/memory/%s", envcache, file);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:142:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(myHome, "%s", envcache);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:159:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(tmppath, "%s/.bristol/memory/profiles/%s", envcache, file);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:165:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(myHome, "%s/.bristol", envcache);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:173:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tmppath, "%s", envcache);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:176:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tmppath, "%s/memory", envcache);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:178:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(tmppath, "%s/memory/profiles", envcache);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:182:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(tmppath, "%s/.bristol/memory/%s", envcache, file);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:188:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(myHome, "%s/.bristol", envcache);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:196:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(tmppath, "%s/memory/profiles/%s", envcache, file);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:199:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(myHome, "%s", envcache);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:204:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(tmppath, "%s/memory/%s", envcache, file);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:207:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(myHome, "%s", envcache);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:227:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(tmppath, "%s/memory/profiles/%s", getBristolCache("profiles"), file);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:236:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(tmppath, "%s/memory/profiles/%s", getenv("BRISTOL"), file);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:474:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(name, "%s.mcm", synth);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:644:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(filename, "/var/log/%s.log", process);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:650:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s/.bristol/log/%s.log", getenv("HOME"), process);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:654:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(filename, "%s/.bristol/log", getenv("HOME"));
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:657:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(filename, "%s/.bristol/log/%s.log", getenv("HOME"),	
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:720:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(outputtext, "[%05.6f] %s\n",
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:739:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(outputtext, "%s %-8s [%05.6f] %s\n",
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:805:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(procname, "%s", "disynthegrate");
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:808:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(procname, "%s", "bristol");
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:811:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(procname, "%s", "brighton");
data/bristol-0.60.11/libbristolmidi/midiSeqDevMan.c:127:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(linkname, "%s io", devname);
data/bristol-0.60.11/libbristolmidi/midiSeqDevMan.c:130:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(linkname, "%s output", devname);
data/bristol-0.60.11/libbristolmidi/midiSeqDevMan.c:132:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(linkname, "%s input", devname);
data/bristol-0.60.11/libbristolmidi/scalaParse.c:172:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(filename, "%s/memory/profiles/%s", cache, file);
data/bristol-0.60.11/libbristolmidi/scalaParse.c:176:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(filename, "%s/memory/profiles/%s.scl", cache, file);
data/bristol-0.60.11/brighton/brighton.c:291: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.
	global.home = getenv("BRISTOL");
data/bristol-0.60.11/brighton/brighton.c:435:7:  [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 ((getenv("BRISTOL_LOG_CONSOLE") != NULL)
data/bristol-0.60.11/brighton/brighton.c:436:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		&& (strcmp(getenv("BRISTOL_LOG_CONSOLE"), "true") == 0))
data/bristol-0.60.11/brighton/brighton.c:1504:33:  [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.
		sprintf(statfile, "%s/%s.gz", getenv("BRISTOL"),
data/bristol-0.60.11/brighton/brighton.c:1510:31:  [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.
			sprintf(statfile, "%s/%s", getenv("BRISTOL"),
data/bristol-0.60.11/brighton/brighton.c:1553:3:  [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(now.tv_usec);
data/bristol-0.60.11/brighton/brightonCLI.c:3756:46:  [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.
		snprintf(pbuf, btty.len, "\n\rHi %s!\n\r", getenv("USER"));
data/bristol-0.60.11/brighton/brightonControllers.c:397:42:  [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.
		sprintf(path, "%s/memory/profiles/%s", getenv("BRISTOL"), synth);
data/bristol-0.60.11/brighton/brightonControllers.c:588:42:  [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.
		sprintf(path, "%s/memory/profiles/%s", getenv("BRISTOL"), synth);
data/bristol-0.60.11/brighton/brightonRoutines.c:243: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.
		if ((envcache = getenv("BRISTOL_CACHE")) != NULL)
data/bristol-0.60.11/brighton/brightonRoutines.c:301:20:  [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 ((envcache = getenv("HOME")) == NULL)
data/bristol-0.60.11/bristol/bristol.c:251:7:  [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 ((getenv("BRISTOL_AUTOCONN") != NULL)
data/bristol-0.60.11/bristol/bristol.c:252:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		&& (strcmp(getenv("BRISTOL_AUTOCONN"), "true") == 0))
data/bristol-0.60.11/bristol/bristol.c:254:7:  [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 ((getenv("BRISTOL_LOG_CONSOLE") != NULL)
data/bristol-0.60.11/bristol/bristol.c:255:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		&& (strcmp(getenv("BRISTOL_LOG_CONSOLE"), "true") == 0))
data/bristol-0.60.11/bristol/thesermon.c:1078:42:  [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.
		sprintf(path, "%s/memory/profiles/%s", getenv("BRISTOL"), file);
data/bristol-0.60.11/bristol/thesermon.c:1158:42:  [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.
		sprintf(path, "%s/memory/profiles/%s", getenv("BRISTOL"), file);
data/bristol-0.60.11/libbrighton/brightonBitmaps.c:86:20:  [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.
	 		brightonhome = getenv("BRIGHTON");
data/bristol-0.60.11/libbrighton/brightonDisplayMgt.c:45:22:  [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 ((displayname = getenv("DISPLAY")) == NULL)
data/bristol-0.60.11/libbristolaudio/audioEngineJack.c:650: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.
		lport = getenv("BRISTOL_AUTO_LEFT");
data/bristol-0.60.11/libbristolaudio/audioEngineJack.c:651: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.
		rport = getenv("BRISTOL_AUTO_RIGHT");
data/bristol-0.60.11/libbristolaudio/audioEngineJack.c:756: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.
		iport = getenv("BRISTOL_AUTO_IN");
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:111:18:  [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 ((envcache = getenv("BRISTOL_CACHE")) != NULL)
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:157:18:  [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 ((envcache = getenv("HOME")) != NULL)
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:194:18:  [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 ((envcache = getenv("BRISTOL")) != NULL)
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:236:45:  [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.
		sprintf(tmppath, "%s/memory/profiles/%s", getenv("BRISTOL"), file);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:650:47:  [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.
		sprintf(filename, "%s/.bristol/log/%s.log", getenv("HOME"), process);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:654:41:  [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.
			sprintf(filename, "%s/.bristol/log", getenv("HOME"));
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:657:48:  [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.
			sprintf(filename, "%s/.bristol/log/%s.log", getenv("HOME"),	
data/bristol-0.60.11/bin/bristoljackstats.c:74: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 lbuf[80];
data/bristol-0.60.11/bin/bristoljackstats.c:82: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).
	nullfd = open("/dev/null", O_WRONLY);
data/bristol-0.60.11/brighton/brighton.c:127: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 defaultcdev[16];
data/bristol-0.60.11/brighton/brighton.c:282: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 appname[65], *devname = defname;
data/bristol-0.60.11/brighton/brighton.c:581: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).
				reqX = atoi(&argv[argCount][i]);
data/bristol-0.60.11/brighton/brighton.c:586: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).
				reqY = atoi(yp);
data/bristol-0.60.11/brighton/brighton.c:588: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).
				reqY = atoi(yp);
data/bristol-0.60.11/brighton/brighton.c:598: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).
			if ((quality = atoi(argv[argCount + 1])) < 2)
data/bristol-0.60.11/brighton/brighton.c:630: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).
			} else if ((aliastype = atoi(argv[argCount + 1])) < 0) {
data/bristol-0.60.11/brighton/brighton.c:643:29:  [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).
			if ((antialias = (float) atoi(argv[argCount + 1])) < 0)
data/bristol-0.60.11/brighton/brighton.c:659:30:  [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).
			global.synths->ladimem += atoi(argv[argCount + 1]);
data/bristol-0.60.11/brighton/brighton.c:678: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).
				if ((global.synths->ladimem = atoi(argv[argCount + 1])) <= 0)
data/bristol-0.60.11/brighton/brighton.c:715: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).
			global.synths->lowkey = atoi(argv[argCount]);
data/bristol-0.60.11/brighton/brighton.c:721:29:  [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).
			global.synths->highkey = atoi(argv[argCount]);
data/bristol-0.60.11/brighton/brighton.c:726: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).
			if ((sampleRate = atoi(argv[argCount + 1])) <= 0)
data/bristol-0.60.11/brighton/brighton.c:735:23:  [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).
			if ((sampleCount = atoi(argv[argCount + 1])) <= 0)
data/bristol-0.60.11/brighton/brighton.c:747: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).
			activeSense = atoi(argv[argCount + 1]);
data/bristol-0.60.11/brighton/brighton.c:770:29:  [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).
			if ((activeSensePeriod = atoi(argv[argCount + 1])) < 50)
data/bristol-0.60.11/brighton/brighton.c:794: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).
			if ((mwt = atoi(argv[argCount + 1]) * 1000) < 0)
data/bristol-0.60.11/brighton/brighton.c:802: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).
			if ((dcTimeout = atoi(argv[argCount + 1]) * 1000) < 10000)
data/bristol-0.60.11/brighton/brighton.c:810: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).
			if ((opacity = atoi(argv[argCount + 1])) < 20)
data/bristol-0.60.11/brighton/brighton.c:820: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).
			deswidth = atoi(argv[argCount + 1]);
data/bristol-0.60.11/brighton/brighton.c:871:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			gs = atoi(argv[argCount + 1]);
data/bristol-0.60.11/brighton/brighton.c:878:29:  [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).
				global.synths->detune = atoi(argv[argCount + 1]);
data/bristol-0.60.11/brighton/brighton.c:885: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).
				global.synths->gain = atoi(argv[argCount + 1]) * 128;
data/bristol-0.60.11/brighton/brighton.c:892: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).
				global.synths->pwd = atoi(argv[argCount + 1]);
data/bristol-0.60.11/brighton/brighton.c:903:31:  [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).
				global.synths->location = atoi(argv[argCount + 1]);
data/bristol-0.60.11/brighton/brighton.c:932: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).
			nrpcc = atoi(argv[argCount + 1]);
data/bristol-0.60.11/brighton/brighton.c:943:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				mbi = atoi(argv[argCount + 1]) * 1000;
data/bristol-0.60.11/brighton/brighton.c:957: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).
				global.synths->glide = atoi(argv[argCount + 1]);
data/bristol-0.60.11/brighton/brighton.c:967:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((atoi(argv[argCount + 1]) > 0)
data/bristol-0.60.11/brighton/brighton.c:968:34:  [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).
				&& ((global.synths->voices = atoi(argv[argCount + 1])) == 1)
data/bristol-0.60.11/brighton/brighton.c:971:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			else if (atoi(argv[argCount + 1]) == 0)
data/bristol-0.60.11/brighton/brighton.c:1002: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).
				if ((i = atoi(argv[argCount + 1])) > 15)
data/bristol-0.60.11/brighton/brighton.c:1033:34:  [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).
				global.synths->midichannel = atoi(argv[argCount + 1]) - 1;
data/bristol-0.60.11/brighton/brighton.c:1043:31:  [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).
				global.synths->velocity = atoi(argv[argCount + 1]);
data/bristol-0.60.11/brighton/brighton.c:1058: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).
				global.port = atoi(argv[argCount + 1]);
data/bristol-0.60.11/brighton/brighton.c:1468: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).
			global.port = atoi(&defaultcdev[5]);
data/bristol-0.60.11/brighton/brighton.c:1501: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 statfile[1024];
data/bristol-0.60.11/brighton/brightonBassMaker.c:1445: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 * copyMenu[5] = {
data/bristol-0.60.11/brighton/brightonBassMaker.c:1453: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 * ctlMenu[6] = {
data/bristol-0.60.11/brighton/brightonBassMaker.c:1462: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 *transpMenu[26] = {
data/bristol-0.60.11/brighton/brightonBassMaker.c:1491: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 *midiChan[17] = {
data/bristol-0.60.11/brighton/brightonBassMaker.c:1511: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 *clearMenu[6] = {
data/bristol-0.60.11/brighton/brightonBassMaker.c:1520: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 *memMenu[4] = {
data/bristol-0.60.11/brighton/brightonBitOne.c:4611:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy(synth, ((guiSynth *) synth->second), sizeof(guiSynth));
data/bristol-0.60.11/brighton/brightonBitOne.c:4644:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(&global, &manual, sizeof(guimain));
data/bristol-0.60.11/brighton/brightonCLI.c:75: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 hist[51][B_TTY_LINE_LEN];
data/bristol-0.60.11/brighton/brightonCLI.c:76: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 pbuf[B_TTY_LINE_LEN];
data/bristol-0.60.11/brighton/brightonCLI.c:77: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 cbuf[B_TTY_LINE_LEN];
data/bristol-0.60.11/brighton/brightonCLI.c:182: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 name[12];
data/bristol-0.60.11/brighton/brightonCLI.c:184: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 help[B_TTY_LINE_LEN];
data/bristol-0.60.11/brighton/brightonCLI.c:450: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 opname[12];
data/bristol-0.60.11/brighton/brightonCLI.c:510: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 promptText[64];
data/bristol-0.60.11/brighton/brightonCLI.c:511: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 prompt[64];
data/bristol-0.60.11/brighton/brightonCLI.c:512: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 *hist[51];
data/bristol-0.60.11/brighton/brightonCLI.c:578: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 tbuf[B_TTY_LINE_LEN];
data/bristol-0.60.11/brighton/brightonCLI.c:978:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((n = atoi(argv[1])) < 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1052:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((n = atoi(argv[2])) < 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1071:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((n = atoi(argv[2])) < 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1090:10:  [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).
			loc = atoi(argv[3]);
data/bristol-0.60.11/brighton/brightonCLI.c:1094:10:  [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).
			loc = atoi(argv[2]);
data/bristol-0.60.11/brighton/brightonCLI.c:1157: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).
			if ((btty.cycle = atoi(argv[2])) < 50)
data/bristol-0.60.11/brighton/brightonCLI.c:1165:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char comm[B_TTY_LINE_LEN];
data/bristol-0.60.11/brighton/brightonCLI.c:1178: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 *comm, alias[B_TTY_LINE_LEN];
data/bristol-0.60.11/brighton/brightonCLI.c:1315: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).
				if (((m = atoi(&comm[i])) < 1) || (m >= c))
data/bristol-0.60.11/brighton/brightonCLI.c:1391:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((o = atoi(argv[2])) < 0) return(3); if (o > 127) return(3);
data/bristol-0.60.11/brighton/brightonCLI.c:1392:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((p = atoi(argv[3])) < 0) return(3); if (p > 127) return(3);
data/bristol-0.60.11/brighton/brightonCLI.c:1492:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((k = atoi(v[2])) < 0) return(3); if (k > 127) return(3); 
data/bristol-0.60.11/brighton/brightonCLI.c:1493:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((p = atoi(v[3])) < 0) return(3); if (p > 127) return(3); 
data/bristol-0.60.11/brighton/brightonCLI.c:1504: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).
			if ((id = atoi(v[2])) < 0) return(B_ERR_VALUE);
data/bristol-0.60.11/brighton/brightonCLI.c:1506: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).
			if ((value = atoi(v[3])) < 0) return(B_ERR_VALUE);
data/bristol-0.60.11/brighton/brightonCLI.c:1545:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((n = atoi(v[2])) < 1)
data/bristol-0.60.11/brighton/brightonCLI.c:1554:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((n = atoi(v[2])) < 0) return(B_ERR_VALUE);
data/bristol-0.60.11/brighton/brightonCLI.c:1560:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((n = atoi(v[2])) < 1)
data/bristol-0.60.11/brighton/brightonCLI.c:1573:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((k = atoi(v[2])) < 0) return(3); if (k > 127) return(3);
data/bristol-0.60.11/brighton/brightonCLI.c:1581:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((k = atoi(v[2])) < 0) return(3); if (k > 127) return(3);
data/bristol-0.60.11/brighton/brightonCLI.c:1599:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((k = atoi(v[2])) < 0) return(3); if (k > 16383) return(3);
data/bristol-0.60.11/brighton/brightonCLI.c:1604:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((k = atoi(v[2])) < 0) return(3); if (k > 16383) return(3);
data/bristol-0.60.11/brighton/brightonCLI.c:1609:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((k = atoi(v[2])) < 0) return(3); if (k > 16383) return(3);
data/bristol-0.60.11/brighton/brightonCLI.c:1614:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((k = atoi(v[2])) < 0) return(3); if (k > 16383) return(3);
data/bristol-0.60.11/brighton/brightonCLI.c:1619:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((k = atoi(v[2])) < 0) return(3); if (k > 16383) return(3);
data/bristol-0.60.11/brighton/brightonCLI.c:1666:8:  [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 = atoi(v[2]);
data/bristol-0.60.11/brighton/brightonCLI.c:1874:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((n = atoi(v[2])) < 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1907:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((x = atoi(v[2])) < 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1959:23:  [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).
			if ((btty.hist_c = atoi(v[2])) <= 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2002: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).
				if ((rate = atoi(v[3])) < 0) return(B_ERR_VALUE);
data/bristol-0.60.11/brighton/brightonCLI.c:2010: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).
				transpose = atoi(v[3]);
data/bristol-0.60.11/brighton/brightonCLI.c:2019: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).
				if ((seq = atoi(v[3])) < 0) return(B_ERR_VALUE);
data/bristol-0.60.11/brighton/brightonCLI.c:2072:10:  [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).
			loc = atoi(v[2]);
data/bristol-0.60.11/brighton/brightonCLI.c:2077:10:  [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).
			loc = atoi(v[2]);
data/bristol-0.60.11/brighton/brightonCLI.c:2167:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((x = atoi(argv[2])) < 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2186:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((p = atoi(argv[2])) < 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2192:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			if ((d = atoi(argv[3])) < 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2231: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 *name, crlf[4] = "\r\n", *c1 = crlf, *c2 = "";
data/bristol-0.60.11/brighton/brightonCLI.c:2383: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 src[B_TTY_LINE_LEN], dst[B_TTY_LINE_LEN];
data/bristol-0.60.11/brighton/brightonCLI.c:2384: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 *matches[B_MATCHES];
data/bristol-0.60.11/brighton/brightonCLI.c:2502: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 *matches[B_MATCHES];
data/bristol-0.60.11/brighton/brightonCLI.c:2519:10:  [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).
					v = atoi(cbuf);
data/bristol-0.60.11/brighton/brightonCLI.c:2536:10:  [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).
					v = atoi(&cbuf[1]);
data/bristol-0.60.11/brighton/brightonCLI.c:2746: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).
			if ((btty.edbg = atoi(v[2])) <= 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2760: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).
			int n = atoi(v[2]);
data/bristol-0.60.11/brighton/brightonCLI.c:2814: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).
		else if ((n = atoi(v[1])) < 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2989: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 var[B_TTY_LINE_LEN];
data/bristol-0.60.11/brighton/brightonCLI.c:3119: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 resvar[64];
data/bristol-0.60.11/brighton/brightonCLI.c:3182: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 var[64], *s = btty.promptText, *d = btty.prompt, *alias;
data/bristol-0.60.11/brighton/brightonCLI.c:3246:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		if (((i = atoi(&comm[1])) < 0) || (i >= 49))
data/bristol-0.60.11/brighton/brightonControllers.c:122: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).
	to = atoi(param);
data/bristol-0.60.11/brighton/brightonControllers.c:132:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	chan = atoi(++param);
data/bristol-0.60.11/brighton/brightonControllers.c:146:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	from = atoi(param);
data/bristol-0.60.11/brighton/brightonControllers.c:156: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).
	to = atoi(param);
data/bristol-0.60.11/brighton/brightonControllers.c:176: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).
	cc = atoi(param);
data/bristol-0.60.11/brighton/brightonControllers.c:186:10:  [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).
	panel = atoi(pp);
data/bristol-0.60.11/brighton/brightonControllers.c:193:8:  [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).
	ind = atoi(++pp);
data/bristol-0.60.11/brighton/brightonControllers.c:203: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).
			value = ((float) atoi(pp)) / 16384.0;
data/bristol-0.60.11/brighton/brightonControllers.c:207: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).
		value = ((float) atoi(pp)) / 16384.0;
data/bristol-0.60.11/brighton/brightonControllers.c:246: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).
	cc = atoi(param);
data/bristol-0.60.11/brighton/brightonControllers.c:256:10:  [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).
	panel = atoi(pp);
data/bristol-0.60.11/brighton/brightonControllers.c:263:8:  [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).
	ind = atoi(++pp);
data/bristol-0.60.11/brighton/brightonControllers.c:270:8:  [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).
	ind = atoi(++pp);
data/bristol-0.60.11/brighton/brightonControllers.c:280: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).
			value = ((float) atoi(pp)) / 16384.0;
data/bristol-0.60.11/brighton/brightonControllers.c:284: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).
		value = ((float) atoi(pp)) / 16384.0;
data/bristol-0.60.11/brighton/brightonControllers.c:366:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[1024];
data/bristol-0.60.11/brighton/brightonControllers.c:367: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 param[256];
data/bristol-0.60.11/brighton/brightonControllers.c:389: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).
	if ((fd = fopen(path, "r")) == NULL)
data/bristol-0.60.11/brighton/brightonControllers.c:399: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 ((fd = fopen(path, "r")) == NULL)
data/bristol-0.60.11/brighton/brightonControllers.c:568:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/bristol-0.60.11/brighton/brightonControllers.c:569:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char param[256];
data/bristol-0.60.11/brighton/brightonControllers.c:579: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).
	if ((fd = open(path, O_WRONLY|O_TRUNC|O_CREAT, 0644)) < 0)
data/bristol-0.60.11/brighton/brightonControllers.c:593: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).
		if ((fd = open(path, O_WRONLY|O_TRUNC|O_CREAT, 0644)) < 0)
data/bristol-0.60.11/brighton/brightonControllers.c:607: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(param, "CM: %i	   %i\n", i, bwin->midimap[i]);
data/bristol-0.60.11/brighton/brightonControllers.c:619:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				sprintf(param, "CC: %i	   %i/%i %i\n",
data/bristol-0.60.11/brighton/brightonControllers.c:635: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(param, "NRP: %i	   %i/%i\n",
data/bristol-0.60.11/brighton/brightonControllers.c:651: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(param, "KM: %c %i %i\n",
data/bristol-0.60.11/brighton/brightonDX.c:927: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 bitmap[128];
data/bristol-0.60.11/brighton/brightonDX.c:931: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(bitmap, "bitmaps/images/algo%i.xpm", o);
data/bristol-0.60.11/brighton/brightonDX.c:1326:4:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			bcopy(dxApp.resources[0].devlocn, dxApp.resources[index].devlocn,
data/bristol-0.60.11/brighton/brightonHammondB3.c:1555:4:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			bcopy(&global, &manual, sizeof(guimain));
data/bristol-0.60.11/brighton/brightonJupiter.c:1360:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(synth->mem.param, pcache, LAYER_DEVS * sizeof(float));
data/bristol-0.60.11/brighton/brightonJupiter.c:1379:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(synth->mem.param, scache, LAYER_DEVS * sizeof(float));
data/bristol-0.60.11/brighton/brightonJupiter.c:2655:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy(synth, ((guiSynth *) synth->second), sizeof(guiSynth));
data/bristol-0.60.11/brighton/brightonJupiter.c:2682:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(&global, &manual, sizeof(guimain));
data/bristol-0.60.11/brighton/brightonMaster.c:610: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 bitmap[128];
data/bristol-0.60.11/brighton/brightonMaster.c:614: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(bitmap, "bitmaps/images/algo%i.xpm", o);
data/bristol-0.60.11/brighton/brightonMini.h:58: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 algo[32];
data/bristol-0.60.11/brighton/brightonMini.h:59: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 name[32];
data/bristol-0.60.11/brighton/brightonMini.h:98: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 name[32];
data/bristol-0.60.11/brighton/brightonMixerMemory.c:39: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 songDir[32] = "default";
data/bristol-0.60.11/brighton/brightonMixerMemory.c:54:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/bristol-0.60.11/brighton/brightonMixerMemory.c:59:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(synth->mem.algo, "mixer");
data/bristol-0.60.11/brighton/brightonMixerMemory.c:61: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(synth->mem.name, "no name");
data/bristol-0.60.11/brighton/brightonMixerMemory.c:65: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).
	if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, 0660)) < 0)
data/bristol-0.60.11/brighton/brightonMixerMemory.c:332:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/bristol-0.60.11/brighton/brightonMixerMemory.c:354:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(prev, new, sizeof(mixerMem));
data/bristol-0.60.11/brighton/brightonMixerMemory.c:367: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).
	if ((fd = open(path, O_RDONLY, 0770)) < 0)
data/bristol-0.60.11/brighton/brightonMixerMemory.c:371: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).
		if ((fd = open(path, O_RDONLY, 0770)) < 0)
data/bristol-0.60.11/brighton/brightonMixerMemory.c:386:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy(synth->mem.param, prev, sizeof(mixerMem));
data/bristol-0.60.11/brighton/brightonMixerMemory.c:413:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(&m->name[0], "no name");
data/bristol-0.60.11/brighton/brightonMixerMemory.c:424: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(&m->chan[i].scratch[0], "Trk: %i", i + 1);
data/bristol-0.60.11/brighton/brightonMixerMemory.c:429:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy(m, prev, sizeof(mixerMem));
data/bristol-0.60.11/brighton/brightonMixerMemory.c:437:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256], *dotptr;
data/bristol-0.60.11/brighton/brightonMixerMemory.h:53: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 scratch[20];
data/bristol-0.60.11/brighton/brightonMixerMemory.h:86: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 name[32]; // For eventual FX attachments.
data/bristol-0.60.11/brighton/brightonMixerMemory.h:102: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 name[20];
data/bristol-0.60.11/brighton/brightonMixerMenu.c:41: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 text[128];
data/bristol-0.60.11/brighton/brightonMixerMenu.c:43: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 memscratch[16];
data/bristol-0.60.11/brighton/brightonMixerMenu.c:85: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 memList[MIXER_MEM_COUNT][32];
data/bristol-0.60.11/brighton/brightonMixerMenu.c:106: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 title[32];
data/bristol-0.60.11/brighton/brightonMixerMenu.c:473:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			char scratch[32];
data/bristol-0.60.11/brighton/brightonMixerMenu.c:836: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 scratch[32];
data/bristol-0.60.11/brighton/brightonMixerMenu.c:852: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 scratch[32];
data/bristol-0.60.11/brighton/brightonMixerMenu.c:862:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(text, "       Track %i Menu           ", currentTrack + 1);
data/bristol-0.60.11/brighton/brightonMixerMenu.c:1160:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(text, "Channel: %i                       ", synth->midichannel + 1);
data/bristol-0.60.11/brighton/brightonOBXa.c:548:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/bristol-0.60.11/brighton/brightonOBXa.c:600: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(synth->mem.name, "no name");
data/bristol-0.60.11/brighton/brightonOBXa.c:605: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).
	if ((fd = open(path, O_RDONLY, 0770)) < 0)
data/bristol-0.60.11/brighton/brightonOBXa.c:610: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).
		if ((fd = open(path, O_RDONLY, 0770)) < 0)
data/bristol-0.60.11/brighton/brightonOBXa.c:1356:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy(synth->mem.param, &synth->mem.param[DEVICE_COUNT],
data/bristol-0.60.11/brighton/brightonOBXa.c:1410:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/bristol-0.60.11/brighton/brightonOBXa.c:1442: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(synth->mem.name, "no name");
data/bristol-0.60.11/brighton/brightonOBXa.c:1448: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).
	if ((fd = open(path, O_WRONLY, 0770)) < 0)
data/bristol-0.60.11/brighton/brightonOBXa.c:1452: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).
		if ((fd = open(path, O_WRONLY, 0770)) < 0)
data/bristol-0.60.11/brighton/brightonOBXa.c:2065:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy(synth, ((guiSynth *) synth->second), sizeof(guiSynth));
data/bristol-0.60.11/brighton/brightonOBXa.c:2091:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(&global, &manual, sizeof(guimain));
data/bristol-0.60.11/brighton/brightonPoly800.c:1729:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(&global, &manual, sizeof(guimain));
data/bristol-0.60.11/brighton/brightonProOne.c:839: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 showthis[64];
data/bristol-0.60.11/brighton/brightonProOne.c:846: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(showthis, "%i: %1.3f", index, value);
data/bristol-0.60.11/brighton/brightonProOne.c:848: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(showthis, "%i: %1.1f", index, value);
data/bristol-0.60.11/brighton/brightonProphet10.c:1664:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy(synth, ((guiSynth *) synth->second), sizeof(guiSynth));
data/bristol-0.60.11/brighton/brightonProphet10.c:1689:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(&global, &manual, sizeof(guimain));
data/bristol-0.60.11/brighton/brightonRoutines.c:162: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 display[32];
data/bristol-0.60.11/brighton/brightonRoutines.c:176: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 display[32];
data/bristol-0.60.11/brighton/brightonRoutines.c:192: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 display[32];
data/bristol-0.60.11/brighton/brightonRoutines.c:230: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[1024];
data/bristol-0.60.11/brighton/brightonRoutines.c:333:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256], *ppath, *ext = "mem";
data/bristol-0.60.11/brighton/brightonRoutines.c:368: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).
	if ((fd = open(path, perms, 0600)) < 0)
data/bristol-0.60.11/brighton/brightonRoutines.c:373: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).
		return(open(path, perms, 0660));
data/bristol-0.60.11/brighton/brightonRoutines.c:386: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 buffer[RECOPY_MAX_FILE];
data/bristol-0.60.11/brighton/brightonRoutines.c:389: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).
	srcfd = open(src, O_RDONLY);
data/bristol-0.60.11/brighton/brightonRoutines.c:393: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).
		dstfd = open(dst, O_WRONLY|O_TRUNC|O_CREAT, 0644);
data/bristol-0.60.11/brighton/brightonRoutines.c:410: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 srcpath[1024];
data/bristol-0.60.11/brighton/brightonRoutines.c:411: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 fpath[1024];
data/bristol-0.60.11/brighton/brightonRoutines.c:437: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 dstpath[1024];
data/bristol-0.60.11/brighton/brightonRoutines.c:438: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 fpath[1024];
data/bristol-0.60.11/brighton/brightonRoutines.c:556: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(&seq->algo[0], "bristol sequencer");
data/bristol-0.60.11/brighton/brightonStratus.c:1288:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy(synth, ((guiSynth *) synth->second), sizeof(guiSynth));
data/bristol-0.60.11/brighton/brightonStratus.c:1306:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(&global, &manual, sizeof(guimain));
data/bristol-0.60.11/brighton/brightonVoxM2.c:945:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(&global, &manual, sizeof(guimain));
data/bristol-0.60.11/brighton/brightonreadme.h:112: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 *readme[BRISTOL_SYNTHCOUNT] = {
data/bristol-0.60.11/bristol/audiothread.c:77: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).
		if ((dupfd = open(outputfile, O_WRONLY|O_CREAT|O_TRUNC, 0644)) < 0)
data/bristol-0.60.11/bristol/audiothread.c:704: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 name[256];
data/bristol-0.60.11/bristol/audiothread.c:754: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 file[256];
data/bristol-0.60.11/bristol/bristol.c:41: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 defaultcdev[16];
data/bristol-0.60.11/bristol/bristol.c:59: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 sessionfile[1024];
data/bristol-0.60.11/bristol/bristol.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(audiomain->cmdline, "startBristol");
data/bristol-0.60.11/bristol/bristol.c:318: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).
			harmonics = atoi(argv[++argCount]);
data/bristol-0.60.11/bristol/bristol.c:320: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).
			bloCutin = atoi(argv[++argCount]);
data/bristol-0.60.11/bristol/bristol.c:324:13:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			bloMin = atoi(argv[++argCount]);
data/bristol-0.60.11/bristol/bristol.c:340: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).
				watchdog = atoi(argv[argCount]) * 1000000;
data/bristol-0.60.11/bristol/bristol.c:453: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).
				audiomain.outgain = atoi(argv[argCount]);
data/bristol-0.60.11/bristol/bristol.c:462:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				audiomain.ingain = atoi(argv[argCount]);
data/bristol-0.60.11/bristol/bristol.c:469: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).
			audiomain.port = atoi(argv[argCount + 1]);
data/bristol-0.60.11/bristol/bristol.c:503:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			jsmd = atoi(argv[++argCount]) / 25;
data/bristol-0.60.11/bristol/bristol.c:540:29:  [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).
			if ((audiomain.iocount = atoi(argv[argCount + 1]))
data/bristol-0.60.11/bristol/bristol.c:558: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).
			audiomain.samplerate = atoi(argv[argCount++ + 1]);
data/bristol-0.60.11/bristol/bristol.c:561: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).
			audiomain.samplecount = atoi(argv[argCount++ + 1]);
data/bristol-0.60.11/bristol/bristol.c:564:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
			audiomain.preload = atoi(argv[argCount++ + 1]);
data/bristol-0.60.11/bristol/bristol.c:568:30:  [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).
			if ((audiomain.priority = atoi(argv[argCount++ + 1])) < 0)
data/bristol-0.60.11/bristol/bristol.c:580: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).
				if ((audiomain.debuglevel = atoi(argv[argCount + 1])) > 15)
data/bristol-0.60.11/bristol/bristol.c:641: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).
			audiomain.port = atoi(&defaultcdev[5]);
data/bristol-0.60.11/bristol/bristol.c:764:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 regname[64];
data/bristol-0.60.11/bristol/bristolsid1.h:101: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 sidreg[_SID_COUNT][B_SID_REGISTERS];
data/bristol-0.60.11/bristol/bristolsid1.h:127: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 localmap[_SID_COUNT][128];
data/bristol-0.60.11/bristol/bristolsid2.h:101: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 sid2reg[_SID2_COUNT][B_SID_REGISTERS];
data/bristol-0.60.11/bristol/bristolsid2.h:127: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 localmap[_SID2_COUNT][128];
data/bristol-0.60.11/bristol/expdco.c:307:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(specs->wave[1], param->param[1].mem,
data/bristol-0.60.11/bristol/expdco.c:309:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(specs->wave[3], param->param[3].mem,
data/bristol-0.60.11/bristol/expdco.c:311:3:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		bcopy(specs->wave[4], param->param[4].mem,
data/bristol-0.60.11/bristol/midihandlers.c:757: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 param[64];
data/bristol-0.60.11/bristol/midithread.c:28: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 sem_long_name[32];
data/bristol-0.60.11/bristol/midithread.c:29: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 sem_short_name[32];
data/bristol-0.60.11/bristol/midithread.c:264:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(sem_long_name, "sem_long_%i", getpid());
data/bristol-0.60.11/bristol/midithread.c:265:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(sem_short_name, "sem_short_%i", getpid());
data/bristol-0.60.11/bristol/prophetdco.c:479:5:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				bcopy(wt, ramp, PROPHETDCO_WAVE_SZE * sizeof(float));
data/bristol-0.60.11/bristol/ringbuffer.c:196:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (dest, &(rb->buf[rb->read_ptr]), n1);
data/bristol-0.60.11/bristol/ringbuffer.c:200: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 + n1, &(rb->buf[new_ptr]), n2);
data/bristol-0.60.11/bristol/ringbuffer.c:242:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (dest, &(rb->buf[tmp_read_ptr]), n1);
data/bristol-0.60.11/bristol/ringbuffer.c:246: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 + n1, &(rb->buf[tmp_read_ptr]), n2);
data/bristol-0.60.11/bristol/ringbuffer.c:281:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (&(rb->buf[rb->write_ptr]), src, n1);
data/bristol-0.60.11/bristol/ringbuffer.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 (&(rb->buf[new_ptr]), src + n1, n2);
data/bristol-0.60.11/bristol/sdcoutils.c:197: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).
	if ((fd = open(file, O_RDONLY)) < 0)
data/bristol-0.60.11/bristol/thesermon.c:877: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).
	if ((note = atoi(line)) != comp)
data/bristol-0.60.11/bristol/thesermon.c:897: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).
			if ((res = atoi(++offset)) < 0)
data/bristol-0.60.11/bristol/thesermon.c:950: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).
	if (comp != atoi(line))
data/bristol-0.60.11/bristol/thesermon.c:953: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).
	if ((wheel = atoi(offset = strnext(line))) >= 0)
data/bristol-0.60.11/bristol/thesermon.c:955: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).
	if ((wheel = atoi(offset = strnext(offset))) >= 0)
data/bristol-0.60.11/bristol/thesermon.c:957: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).
	if ((wheel = atoi(offset = strnext(offset))) >= 0)
data/bristol-0.60.11/bristol/thesermon.c:959: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).
	if ((wheel = atoi(offset = strnext(offset))) >= 0)
data/bristol-0.60.11/bristol/thesermon.c:1065:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256], *offset;
data/bristol-0.60.11/bristol/thesermon.c:1066: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 param[256];
data/bristol-0.60.11/bristol/thesermon.c:1076: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).
	if ((fd = fopen(path, "r")) == NULL)
data/bristol-0.60.11/bristol/thesermon.c:1079: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 ((fd = fopen(path, "r")) == NULL)
data/bristol-0.60.11/bristol/thesermon.c:1092: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).
			parseTaper(atoi(strnext(param)), strnext(param));
data/bristol-0.60.11/bristol/thesermon.c:1098: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).
			parseCompartment(atoi(strnext(param)), strnext(param), NORMAL);
data/bristol-0.60.11/bristol/thesermon.c:1120: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).
			if ((wheel = atoi(offset)) < 0)
data/bristol-0.60.11/bristol/thesermon.c:1144:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char path[256];
data/bristol-0.60.11/bristol/thesermon.c:1145: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 param[256];
data/bristol-0.60.11/bristol/thesermon.c:1156: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).
	if ((fd = fopen(path, "r")) == NULL)
data/bristol-0.60.11/bristol/thesermon.c:1159: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 ((fd = fopen(path, "r")) == NULL)
data/bristol-0.60.11/bristol/thesermon.c:1187: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).
			if ((wheel = atoi(offset)) < 0)
data/bristol-0.60.11/include/brighton/brightonC11internals.h:45: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 name[B_NAMESIZE];
data/bristol-0.60.11/include/brighton/brightonX11internals.h:54:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char name[B_NAMESIZE];
data/bristol-0.60.11/include/brighton/brightonX11internals.h:90: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 name[B_NAMESIZE];
data/bristol-0.60.11/include/brighton/brightoninternals.h:148: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 name[BRIGHTON_NAMESIZE];
data/bristol-0.60.11/include/brighton/brightoninternals.h:293: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 text[64]; /* displayable name for device. */
data/bristol-0.60.11/include/brighton/brightonvectorgraphics.h:73: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 name[1024];
data/bristol-0.60.11/include/bristol/bristol.h:672: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 jackUUID[BRISTOL_JACK_UUID_SIZE];
data/bristol-0.60.11/include/bristol/bristolmidi.h:121: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 name[64];
data/bristol-0.60.11/include/bristol/bristolmidi.h:143: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 buffer[BRISTOL_MIDI_BUFSIZE * 2];
data/bristol-0.60.11/include/bristol/bristolmidieventnames.h:27: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 eventNames[8][32] = {
data/bristol-0.60.11/include/bristol/bristolmidieventnames.h:58: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 *controllerName[128] = {
data/bristol-0.60.11/include/slab/fbDefs.h:88: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 name[32];
data/bristol-0.60.11/include/slab/fbDefs.h:89: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 longName[32];
data/bristol-0.60.11/include/slab/fbDefs.h:95: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 fg[32];
data/bristol-0.60.11/include/slab/fbDefs.h:96: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 bg[32];
data/bristol-0.60.11/include/slab/fbDefs.h:101: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 name[32];
data/bristol-0.60.11/include/slab/fbDefs.h:102: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 longname[32];
data/bristol-0.60.11/include/slab/slabDAccess.h:58: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 fn[128];	/* Filename string itself */
data/bristol-0.60.11/include/slab/slabDAccess.h:60:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char desc[128];	/* description string itself */
data/bristol-0.60.11/include/slab/slabaudiodev.h:168: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 devName[DEV_NAME_LEN];	/* output process file name */
data/bristol-0.60.11/include/slab/slabaudiodev.h:169: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 mixerName[DEV_NAME_LEN];	/* mixer file name */
data/bristol-0.60.11/include/slab/slabaudiodev.h:257: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 hostname[DEV_NAME_LEN];
data/bristol-0.60.11/include/slab/slabbus.h:27: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 controllerName[16];
data/bristol-0.60.11/include/slab/slabbus.h:28: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 controllerDisp[20];
data/bristol-0.60.11/include/slab/slabbus.h:50: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 busName[16];
data/bristol-0.60.11/include/slab/slabbus.h:51: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 busShortName[8];
data/bristol-0.60.11/include/slab/slabcbuf.h:140: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 trackStart[MAX_TRACK_COUNT]; /* index of first busParamPtr in chain */
data/bristol-0.60.11/include/slab/slabcbuf.h:141: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 trackNext[MAX_TRACK_COUNT]; /* index of next busParamPtr to chain */
data/bristol-0.60.11/include/slab/slabcbuf.h:144: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 busStart[BUS_REAL_COUNT]; /* index of first busParamPtr in chain */
data/bristol-0.60.11/include/slab/slabcbuf.h:145: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 busNext[BUS_REAL_COUNT]; /* index of next busParamPtr to chain */
data/bristol-0.60.11/include/slab/slabcbuf.h:223: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 trackName[DEV_NAME_LEN];
data/bristol-0.60.11/include/slab/slabcbuf.h:225: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 masteringFileName[DEV_NAME_LEN];
data/bristol-0.60.11/libbrighton/brightonBitmaps.c:74: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 *extension, file[256];
data/bristol-0.60.11/libbrighton/brightonButton.c:433: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[256];
data/bristol-0.60.11/libbrighton/brightonButton.c:461: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[256];
data/bristol-0.60.11/libbrighton/brightonC.c:64:9:  [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, permissions));
data/bristol-0.60.11/libbrighton/brightonC.c:92:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	return((FILE *) open(filename, O_RDONLY));
data/bristol-0.60.11/libbrighton/brightonColorMgt.c:796:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(cstring, "#%02x%02x%02x",
data/bristol-0.60.11/libbrighton/brightonLayer.c:389: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 tImage[1024];
data/bristol-0.60.11/libbrighton/brightonPanelMgt.c:264: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(&nEv, event, sizeof(brightonEvent));
data/bristol-0.60.11/libbrighton/brightonPanelMgt.c:280: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(&nEv, event, sizeof(brightonEvent));
data/bristol-0.60.11/libbrighton/brightonRender.c:998:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy(dest->pixels, scratch, sizeof(int) * dest->width * dest->height);
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:54:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[BUFSIZE];
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:66: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 tfn[256];;
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:68: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 *params[10];
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:71: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(tfn, "/tmp/bbm_%i.xpm.gz", getpid());
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:115: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(tfn, "/tmp/bbm_%i.xpm", getpid());
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:445: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 cstring[16], filename[64];
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:449: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).
	if ((fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC, 0770)) < 0)
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:492:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(line, "\"%i %i %i %i\",\n", bwin->width, bwin->height, ccnt, 2);
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:523: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(&line[lindex], "%c%c", coff + 35, cagg + 35);
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:527: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(&line[lindex], "\"\n");
data/bristol-0.60.11/libbrighton/brightonkeymappings.h:39: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 bitmap[KEY_HEIGHT];
data/bristol-0.60.11/libbrightonC11/bWindow.c:24: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 *args[2] = {"bristol gui", (char *) 0};
data/bristol-0.60.11/libbrightonX11/bDisplay.c:72:4:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			bcopy(exists, display, sizeof(bdisplay));
data/bristol-0.60.11/libbrightonX11/bWindow.c:28: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 *args[2] = {"bristol gui", (char *) 0};
data/bristol-0.60.11/libbristolaudio/audioEngine.c:329:22:  [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).
	if ((audioDev->fd = open(audioDev->devName, flags)) < 0)
data/bristol-0.60.11/libbristolaudio/audioEngineJack.c:61: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 sessionfile[1024];
data/bristol-0.60.11/libbristolaudio/audioEngineJack.c:62: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 commandline[1024];
data/bristol-0.60.11/libbristolaudio/audioEngineJack.c:66: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 defreg[8] = "bristol";
data/bristol-0.60.11/libbristolaudio/audioEngineJack.c:484: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 process_indexed[32];
data/bristol-0.60.11/libbristolaudio/audioEngineJack.c:816: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 pn[256];
data/bristol-0.60.11/libbristolaudio/audioEngineJack.c:820: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(pn, "out_%i", i + 1);
data/bristol-0.60.11/libbristolaudio/audioEngineJack.c:828: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(pn, "in_%i", i + 1);
data/bristol-0.60.11/libbristolaudio/audioGUI.c:49: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 *SLAB_CONVERT_LABELS[32] =	\
data/bristol-0.60.11/libbristolaudio/audioGUI.c:155:24:  [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).
			audioDev->mixerFD = open(audioDev->mixerName, O_RDWR);
data/bristol-0.60.11/libbristolaudio/audioGUIALSA.c:64: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.
	sid = (snd_mixer_selem_id_t *)(((char *) alsaDev[audioDev->devID].mixer_sid)
data/bristol-0.60.11/libbristolaudio/audioGUIALSA.c:122: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.
	sid = (snd_mixer_selem_id_t *)(((char *) alsaDev[audioDev->devID].mixer_sid)
data/bristol-0.60.11/libbristolaudio/audioGUIALSA.c:188: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.
	sid = (snd_mixer_selem_id_t *)(((char *) alsaDev[audioDev->devID].mixer_sid)
data/bristol-0.60.11/libbristolaudio/audioGUIALSA.c:207: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.
	sid = (snd_mixer_selem_id_t *)(((char *) alsaDev[audioDev->devID].mixer_sid)
data/bristol-0.60.11/libbristolaudio/audioGUIALSA.c:245:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		sid = (snd_mixer_selem_id_t *)(((char *)
data/bristol-0.60.11/libbristolaudio/audioGUIALSA.c:262: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.
	sid = (snd_mixer_selem_id_t *)(((char *) alsaDev[audioDev->devID].mixer_sid)
data/bristol-0.60.11/libbristolaudio/audioGUIALSA.c:314: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.
	sid = (snd_mixer_selem_id_t *)(((char *) alsaDev[audioDev->devID].mixer_sid)
data/bristol-0.60.11/libbristolaudio/audioGUIALSA.c:376: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.
	sid = (snd_mixer_selem_id_t *)(((char *) alsaDev[audioDev->devID].mixer_sid)
data/bristol-0.60.11/libbristolaudio/audioGUIALSA.c:467:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		sid = (snd_mixer_selem_id_t *)(((char *)
data/bristol-0.60.11/libbristolaudio/audioGUIALSA.c:485:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		sid = (snd_mixer_selem_id_t *)(((char *)
data/bristol-0.60.11/libbristolaudio/audioGUIOSS.c:66: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 *SLAB_SND_LABELS[SLAB_NRDEVICES] =	SOUND_DEVICE_LABELS;
data/bristol-0.60.11/libbristolaudio/audioMastering.c:150:15:  [2] (race) vfork:
  On some old systems, vfork() permits race conditions, and it's very
  difficult to use correctly (CWE-362). Use fork() instead.
			if ((pid = vfork()) == 0)
data/bristol-0.60.11/libbristolaudio/audioMastering.c:166: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_CREAT|O_WRONLY|O_TRUNC, 0644);
data/bristol-0.60.11/libbristolic/sid.c:319: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.
typedef unsigned char SIDPhase[2];
data/bristol-0.60.11/libbristolic/sid.c:428: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 reg[B_SID_REGISTERS]; /* Content of the 32 SID registers */
data/bristol-0.60.11/libbristolmidi/inetClient.c:71: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				hostname[NAME_LENGTH];
data/bristol-0.60.11/libbristolmidi/inetClient.c:96: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).
		if ((port = atoi(++tport)) <= 0)
data/bristol-0.60.11/libbristolmidi/inetClient.c:146:9:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	(void) bcopy(hstp->h_addr, (char *) &connect_socket_addr.sin_addr,
data/bristol-0.60.11/libbristolmidi/inetClient.c:154: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 errtext[1024];
data/bristol-0.60.11/libbristolmidi/inetClient.c:156: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(errtext, "connect failed on %i", port);
data/bristol-0.60.11/libbristolmidi/inetServer.c:41: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 bristol_sockname[128];
data/bristol-0.60.11/libbristolmidi/interface.c:72: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 devname[64] = "localhost";
data/bristol-0.60.11/libbristolmidi/interface.c:348: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[128];
data/bristol-0.60.11/libbristolmidi/interface.c:414:2:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	bcopy(msg, &post, sizeof(bristolMidiMsg));
data/bristol-0.60.11/libbristolmidi/interface.c:489:5:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				bcopy(&post, msg, sizeof(bristolMidiMsg));
data/bristol-0.60.11/libbristolmidi/interface.c:515: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[128];
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:52: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 tmppath[BUFSZE];
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:234: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).
	if ((fd = fopen(&tmppath[0], "r")) == NULL)
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:238: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).
		fd = fopen(&tmppath[0], "r");
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:243: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 param[256];
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:269: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).
				if ((wheel = atoi(offset)) < 0)
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:471: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 name[256];
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:638:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char filename[BUFSZE], *inputtext = filename, outputtext[BUFSZE], ttext[BUFSZE];
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:647:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((f_out = open(filename, O_CREAT|O_WRONLY|O_APPEND, 0644)) < 0)
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:652: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).
		if ((f_out = open(filename, O_TRUNC|O_CREAT|O_WRONLY, 0644)) < 0)
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:660:17:  [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).
			if ((f_out = open(filename, O_TRUNC|O_CREAT|O_WRONLY, 0644)) < 0)
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:662: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).
				f_out = open("/dev/null", O_WRONLY);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:699: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(inputtext, "(suppressed excess message %i bytes)", len);
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:786: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 procname[64];
data/bristol-0.60.11/libbristolmidi/midiOSSDevMan.c:50:27:  [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).
	if ((bmidi.dev[dev].fd = open(devname, O_RDWR)) < 0)
data/bristol-0.60.11/libbristolmidi/midiParse.c:301: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 databytes[1024];
data/bristol-0.60.11/libbristolmidi/midiSeqDevMan.c:50: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 linkname[256];
data/bristol-0.60.11/libbristolmidi/midiTCPDevMan.c:44: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 bristol_sockname[128];
data/bristol-0.60.11/libbristolmidi/scalaParse.c:74:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		freq = (atoi(line));
data/bristol-0.60.11/libbristolmidi/scalaParse.c:75: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).
		return(freq / atoi(++denominator));
data/bristol-0.60.11/libbristolmidi/scalaParse.c:83:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	return(atoi(line));
data/bristol-0.60.11/libbristolmidi/scalaParse.c:100: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 line[BUFSIZE];
data/bristol-0.60.11/libbristolmidi/scalaParse.c:118: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).
				if ((count = atoi(scan)) < 0)
data/bristol-0.60.11/libbristolmidi/scalaParse.c:155: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 ((fd = fopen(file, "r")) == (FILE *) NULL)
data/bristol-0.60.11/libbristolmidi/scalaParse.c:161: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[1024];
data/bristol-0.60.11/libbristolmidi/scalaParse.c:174: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 ((fd = fopen(filename, "r")) == (FILE *) NULL)
data/bristol-0.60.11/libbristolmidi/scalaParse.c:178: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).
			if ((fd = fopen(filename, "r")) == (FILE *) NULL)
data/bristol-0.60.11/bin/bristoljackstats.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).
	nullfd = write(outfd, lbuf, strlen(lbuf));
data/bristol-0.60.11/brighton/brighton.c:388: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).
		&& (strlen(argv[argCount]) == 2))
data/bristol-0.60.11/brighton/brighton.c:464: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).
			&& (strlen(argv[argCount]) == 2))
data/bristol-0.60.11/brighton/brighton.c:920: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).
				|| (strlen(argv[o]) == 10))
data/bristol-0.60.11/brighton/brighton.c:1465: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(defaultcdev) == 5)
data/bristol-0.60.11/brighton/brighton.c:1763:4:  [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(50000);
data/bristol-0.60.11/brighton/brighton.c:1840:4:  [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(100000);
data/bristol-0.60.11/brighton/brighton.c:1866: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(100000);
data/bristol-0.60.11/brighton/brighton.c:1964:4:  [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(mwt);
data/bristol-0.60.11/brighton/brightonCLI.c:583: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).
		i = write(btty.fd[1], tbuf, strlen(tbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:595: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:655: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).
	n = write(fd, pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:658: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).
	n = write(fd, pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:661: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).
	n = write(fd, pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:664: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).
	n = write(fd, pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:667: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).
	n = write(fd, pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:672: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).
		n = write(fd, pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:676: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).
	n = write(fd, pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:684: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).
			n = write(fd, pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:704: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).
		n = write(fd, pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:710: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).
		n = write(fd, pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:718: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).
			n = write(fd, pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:737: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 ((input[strlen(input) -1] == '\n')
data/bristol-0.60.11/brighton/brightonCLI.c:738: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).
		|| (input[strlen(input) -1] == '\r'))
data/bristol-0.60.11/brighton/brightonCLI.c:739: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).
		input[strlen(input) -1] = '\0';
data/bristol-0.60.11/brighton/brightonCLI.c:834: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:843: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 ((c == 2) && (strncmp("help", v[1], strlen(v[1])) == 0))
data/bristol-0.60.11/brighton/brightonCLI.c:847: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).
			if (strncmp(commands[i].name, v[0], strlen(v[0])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:853: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).
					n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:864: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).
						n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:878: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).
	if (strncmp(commands[set].subcom[comm].name, name, strlen(name)) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:899: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:923: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:926: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:959: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).
				n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:962: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).
				n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:994: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).
			if (strncmp("free", argv[2], strlen(argv[2])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1010: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).
					n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1013: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).
					n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1018: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 ((strncmp("load", argv[2], strlen(argv[2])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1019: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).
				||(strncmp("read", argv[2], strlen(argv[2])) == 0))
data/bristol-0.60.11/brighton/brightonCLI.c:1038: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).
					n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1043: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).
			if (strncmp("undo", argv[2], strlen(argv[2])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1114: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).
		n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1117: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).
		n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1130: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).
			n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1137: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).
		if (strncmp("cycle", argv[1], strlen(argv[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1140: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).
			n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1142: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).
		} else if (strncmp("listcommands", argv[1], strlen(argv[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1148: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).
				n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1156: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).
		if (strncmp("cycle", argv[1], strlen(argv[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1163: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).
			n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1183: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 ((c == 1) && (strncmp(argv[0], "alias", strlen(argv[0])) == 0))
data/bristol-0.60.11/brighton/brightonCLI.c:1192: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).
				n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1202: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 (strncmp("alias", argv[0], strlen(argv[0])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1237: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 (strncmp(comm, alias, strlen(comm)) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1249: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).
				i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1297: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 (strncmp(argv[0], commands[i].name, strlen(argv[0])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1374: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).
		if (strncmp(bristolcom[1].name, argv[1], strlen(argv[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1378: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).
			o = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1387: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).
		if (strncmp(bristolcom[2].name, argv[1], strlen(argv[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1451: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1454: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1457: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1460: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1463: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1469: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).
		if (strncmp("tuning", v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1472: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).
			if (strncmp("fine", v[2], strlen(v[2])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1478: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).
			} else if (strncmp("coarse", v[2], strlen(v[3])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1488:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strncmp("polypressure", v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1500: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 (strncmp("controller", v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1517: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).
		if (strncmp(v[1], "panic", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1523: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).
		} else if (strncmp(v[1], "sid", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1526: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1528: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).
		} else if (strncmp(v[1], "channel", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1531: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1533: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).
		} else if (strncmp(v[1], "debug", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1536: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1544: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 (strncmp(v[1], "sid", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1551: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1553: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).
		} else if (strncmp(v[1], "charpressure", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1559: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).
		} else if (strncmp(v[1], "channel", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1567: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1580: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).
		} else if (strncmp(v[1], "lowkey", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1588: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).
		} else if (strncmp(v[1], "filter", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1598: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).
		} else if (strncmp(v[1], "detune", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1603: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).
		} else if (strncmp(v[1], "velocity", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1608: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).
		} else if (strncmp(v[1], "glide", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1613: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).
		} else if (strncmp(v[1], "pwd", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1618: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).
		} else if (strncmp(v[1], "gain", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1623: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).
		} else if (strncmp(v[1], "forwarding", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1630: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).
		} else if (strncmp(v[1], "nrp", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1636: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).
		} else if (strncmp(v[1], "enginenrp", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1643: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).
		} else if (strncmp(v[1], "legato", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1650: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).
		} else if (strncmp(v[1], "trigger", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1657: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).
		} else if (strncmp(v[1], "precedence", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1665: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).
		} else if (strncmp(v[1], "debug", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1686: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1710: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).
		if (strncmp("memory", v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1712: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 (strncmp("midi", v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1714: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).
		if (strncmp("debug", v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1716: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 (strncmp("bristol", v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1718: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 (strncmp("control", v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1720: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).
		if (strncmp("brighton", v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1722: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).
		if (strncmp("alias", v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1724: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 (strncmp("cli", v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1733: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1736: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1741: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1745: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1749: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1753: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1757: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1763: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1768: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1773: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1779: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 (strncmp(v[1], "line", strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1783: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1785: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).
		} else if (strncmp(v[1], "prompt", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1788: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1790: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).
		} else if (strncmp(v[1], "prompttext", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1793: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1795: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).
		} else if (strncmp(v[1], "panel", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1798: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1800: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).
		} else if (strncmp(v[1], "accelerator", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1803: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1805: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).
		} else if (strncmp(v[1], "awv", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1811: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).
		} else if (strncmp(v[1], "prompt", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1814: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1816: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).
		} else if (strncmp(v[1], "prompttext", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1819: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1821: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).
		} else if (strncmp(v[1], "panel", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1824: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1826: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).
		} else if (strncmp(v[1], "accelerator", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1829: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1831: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).
		} else if (strncmp(v[1], "awv", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1836: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1838: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).
		} else if (strncmp(v[1], "debug", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1843: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1845: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).
		} else if (strncmp(v[1], "save", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1847: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1849: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).
		} else if (strncmp(v[1], "savehistory", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1854: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1856: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).
		} else if (strncmp(v[1], "history", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1862: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).
					n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1872: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 (strncmp(v[1], "line", strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:1882: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1884: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).
		} else if (strncmp(v[1], "prompttext", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1888: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1890: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).
		} else if (strncmp(v[1], "play", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1891: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).
			if (strncmp(v[2], "mode", strlen(v[2])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1896: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).
				i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1899: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).
		} else if (strncmp(v[1], "accelerator", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1903: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1905: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).
		} else if (strncmp(v[1], "panel", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1925: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1927: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).
		} else if (strncmp(v[1], "auv", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1935: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1937: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).
		} else if (strncmp(v[1], "awv", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1945: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1947: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).
		} else if (strncmp(v[1], "savehistory", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1956: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1958: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).
		} else if (strncmp(v[1], "history", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1964: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).
		} else if (strncmp(v[1], "noalias", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1979: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).
		} else if (strncmp(v[1], "debug", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1987: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:1994: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 (strncmp(v[1], "play", strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:1998: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).
			if (strncmp(v[2], "rate", strlen(v[2])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2006: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 (strncmp(v[2], "transpose", strlen(v[2])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2014: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 (strncmp(v[2], "sequence", strlen(v[2])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2032: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).
		} else if ((strncmp(v[1], "history", strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2033: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).
			&& (strncmp(v[2], "comm", strlen(v[2])) == 0))
data/bristol-0.60.11/brighton/brightonCLI.c:2069: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).
	if (strncmp("import", v[0], strlen(v[0])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2075: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).
	} else if (strncmp("export", v[0], strlen(v[0])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:2137: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).
	i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2152: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 (strncmp(brightoncom[1].name, argv[1], strlen(argv[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2155: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).
			p = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2163: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 (strncmp(brightoncom[1].name, argv[1], strlen(argv[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2175: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).
			p = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2183: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 (strncmp(brightoncom[2].name, argv[1], strlen(argv[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2356: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).
	i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2408: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).
		if (strncasecmp(coms[v].name, src, strlen(src)) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2461: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).
				t = write(btty.fd[1], matches[y], strlen(matches[y]));
data/bristol-0.60.11/brighton/brightonCLI.c:2463: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).
				if ((c += strlen(matches[y]) + 1) > btty.len - 16)
data/bristol-0.60.11/brighton/brightonCLI.c:2477: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).
			if (x > strlen(line))
data/bristol-0.60.11/brighton/brightonCLI.c:2480: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).
				btty.edit_p = strlen(line);
data/bristol-0.60.11/brighton/brightonCLI.c:2487: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).
	btty.edit_p = strlen(line);
data/bristol-0.60.11/brighton/brightonCLI.c:2509: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).
		t = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2516: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).
			switch (strlen(cbuf)) {
data/bristol-0.60.11/brighton/brightonCLI.c:2523: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).
					btty.edit_p = strlen(cbuf);
data/bristol-0.60.11/brighton/brightonCLI.c:2533: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).
			switch (strlen(&cbuf[1])) {
data/bristol-0.60.11/brighton/brightonCLI.c:2540: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).
					btty.edit_p = strlen(cbuf);
data/bristol-0.60.11/brighton/brightonCLI.c:2548: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).
		btty.edit_p = strlen(cbuf);
data/bristol-0.60.11/brighton/brightonCLI.c:2563: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).
			if (strncasecmp(paramname(v), &cbuf[1], strlen(cbuf) - 1) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2582: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).
		btty.edit_p = strlen(cbuf);
data/bristol-0.60.11/brighton/brightonCLI.c:2604: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).
				t = write(btty.fd[1], matches[y], strlen(matches[y]));
data/bristol-0.60.11/brighton/brightonCLI.c:2606: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).
				if ((c += strlen(matches[y]) + 1) > btty.len - 16)
data/bristol-0.60.11/brighton/brightonCLI.c:2618: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).
			if (x > strlen(cbuf))
data/bristol-0.60.11/brighton/brightonCLI.c:2621: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).
				btty.edit_p = strlen(cbuf);
data/bristol-0.60.11/brighton/brightonCLI.c:2649: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2674: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).
			if (strncasecmp(paramname(v), &cbuf[1], strlen(cbuf) - 1) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2712: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 (strncmp("off", v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2714: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).
		else if (strncmp("on", v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2723: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 (strncmp("cli", v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2725: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 (strncmp("off", v[2], strlen(v[2])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2727: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).
			else if (strncmp("on", v[2], strlen(v[2])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2733: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).
		if (strncmp(debugcomm[2].name, v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2735: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 (strncmp("off", v[2], strlen(v[2])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2739: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).
			} else if (strncmp("on", v[2], strlen(v[2])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:2744: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).
		if (strncmp("engine", v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2756: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2759: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).
		} if (strncmp("midi", v[1], strlen(v[1])) == 0) {
data/bristol-0.60.11/brighton/brightonCLI.c:2779: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).
			i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2790: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2793: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).
		i = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2812: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 (strncmp("undo", v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2818: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 ((strncmp(v[0], "load", strlen(v[0])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2819: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).
		|| (strncmp(v[0], "read", strlen(v[0])) == 0))
data/bristol-0.60.11/brighton/brightonCLI.c:2839: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 ((strncmp(v[0], "save", strlen(v[0])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2840: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).
		|| (strncmp(v[0], "write", strlen(v[0])) == 0))
data/bristol-0.60.11/brighton/brightonCLI.c:2853: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 (strncmp(v[0], "find", strlen(v[0])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2860: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 ((c == 2) && (strncmp(v[1], "free", strlen(v[1])) == 0))
data/bristol-0.60.11/brighton/brightonCLI.c:2875: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).
				n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2878: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).
				n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2882: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 ((c == 2) && ((strncmp(v[1], "load", strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2883: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).
			|| (strncmp(v[1], "read", strlen(v[1])) == 0)))
data/bristol-0.60.11/brighton/brightonCLI.c:2914: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).
				n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2917: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).
				n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2939: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).
		n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2951: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).
			n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2960: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).
		if (strncmp(commands[i].name, v[1], strlen(v[1])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:2964: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).
			n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2972: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).
		n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:2980: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 ((c == 1) && (strlen(v[0]) == 4) && (strcmp(v[0], "quit") == 0))
data/bristol-0.60.11/brighton/brightonCLI.c:2996: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).
			snprintf(pbuf, btty.len, "%i: %i: %s\n\r", i, (int) strlen(v[i]), v[i]);
data/bristol-0.60.11/brighton/brightonCLI.c:2997: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).
			n = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3007: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).
		if ((strncmp(v[0], commands[i].name, strlen(v[0])) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:3260: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).
		v = write(btty.fd[1], btty.hist[0], strlen(btty.hist[0]));
data/bristol-0.60.11/brighton/brightonCLI.c:3262: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3270: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).
	if (strncmp("history", comm, strlen(comm)) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:3277: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).
			v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3280: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3287: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).
		&& (strlen(comm) == 4))
data/bristol-0.60.11/brighton/brightonCLI.c:3291: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3296:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(comm) == 0)
data/bristol-0.60.11/brighton/brightonCLI.c:3299: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3361: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).
				v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3366: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).
			v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3370: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).
			v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3374: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).
			v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3378: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).
			v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3382: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).
			v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3388: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).
			v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3401: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3419: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3437: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3460: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).
	v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3462: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).
	v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3502: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).
					v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3505: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).
				btty.edit_p = strlen(cbuf);;
data/bristol-0.60.11/brighton/brightonCLI.c:3512: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).
				btty.edit_p = strlen(cbuf);;
data/bristol-0.60.11/brighton/brightonCLI.c:3513: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).
				v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3530: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3534: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3545: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).
				v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3552: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).
			v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3558: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).
		for (c = btty.edit_p; c < strlen(cbuf); c++)
data/bristol-0.60.11/brighton/brightonCLI.c:3565: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3566: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(cbuf) == btty.len)
data/bristol-0.60.11/brighton/brightonCLI.c:3568: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).
			cbuf[strlen(cbuf) - 1] = '\0';
data/bristol-0.60.11/brighton/brightonCLI.c:3569: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).
			btty.edit_p = strlen(cbuf);;
data/bristol-0.60.11/brighton/brightonCLI.c:3582: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3586: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).
		btty.edit_p = strlen(cbuf);
data/bristol-0.60.11/brighton/brightonCLI.c:3587: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3594: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).
		btty.edit_p = strlen(cbuf);;
data/bristol-0.60.11/brighton/brightonCLI.c:3595: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3607: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).
			v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3610: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).
		btty.edit_p = strlen(cbuf);;
data/bristol-0.60.11/brighton/brightonCLI.c:3627: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(cbuf) != '\0')
data/bristol-0.60.11/brighton/brightonCLI.c:3646: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).
			v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3672: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).
			v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3681: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).
				v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3692: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).
				v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3697: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).
			v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3702: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(cbuf) + 1; i >= btty.edit_p; i--)
data/bristol-0.60.11/brighton/brightonCLI.c:3710: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3712: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(cbuf) >= 79)
data/bristol-0.60.11/brighton/brightonCLI.c:3715: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3720: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).
	for (i = strlen(cbuf); i > btty.edit_p; i--)
data/bristol-0.60.11/brighton/brightonCLI.c:3751: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).
			v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3757: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3759: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3761: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3763: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).
		v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3782:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		r = read(btty.fd[0], &ch, 1);
data/bristol-0.60.11/brighton/brightonCLI.c:3944: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).
				v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3970: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).
				v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3986: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).
				v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:3999: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).
					v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:4012: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).
					v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:4116: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).
				v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:4125: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).
				v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:4131: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).
					v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonCLI.c:4183: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).
				v = write(btty.fd[1], pbuf, strlen(pbuf));
data/bristol-0.60.11/brighton/brightonControllers.c:600: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).
	null = write(fd, pheader, strlen(pheader));
data/bristol-0.60.11/brighton/brightonControllers.c:610: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).
		null = write(fd, param, strlen(param));
data/bristol-0.60.11/brighton/brightonControllers.c:626: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).
				null = write(fd, param, strlen(param));
data/bristol-0.60.11/brighton/brightonControllers.c:641: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).
			null = write(fd, param, strlen(param));
data/bristol-0.60.11/brighton/brightonControllers.c:653: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).
			null = write(fd, param, strlen(param));
data/bristol-0.60.11/brighton/brightonJupiter.c:3185:2:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	usleep(100000);
data/bristol-0.60.11/brighton/brightonMini.c:795:4:  [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(100000);
data/bristol-0.60.11/brighton/brightonMixerMemory.c:342: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(name) != 0)
data/bristol-0.60.11/brighton/brightonMixerMemory.c:375:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, &synth->mem.algo[0], 32) < 0)
data/bristol-0.60.11/brighton/brightonMixerMemory.c:377:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, &synth->mem.name[0], 32) < 0)
data/bristol-0.60.11/brighton/brightonMixerMemory.c:380:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, new, 2 * sizeof(int)) < 0)
data/bristol-0.60.11/brighton/brightonMixerMemory.c:383:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, new, sizeof(mixerMem)) < 0)
data/bristol-0.60.11/brighton/brightonMixerMenu.c:485: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).
			i = strlen(scratch);
data/bristol-0.60.11/brighton/brightonMixerMenu.c:524: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).
			i = strlen(memscratch);
data/bristol-0.60.11/brighton/brightonOBXa.c:619:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, &synth->mem.param[DEVICE_COUNT],
data/bristol-0.60.11/brighton/brightonRoutines.c:121:2:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	usleep(250000);
data/bristol-0.60.11/brighton/brightonRoutines.c:391:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if ((count = read(srcfd, buffer, RECOPY_MAX_FILE)) > 0)
data/bristol-0.60.11/brighton/brightonRoutines.c:562:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, &tmem.algo[0], 32) < 0)
data/bristol-0.60.11/brighton/brightonRoutines.c:568:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, &tmem.name[0], 32) < 0)
data/bristol-0.60.11/brighton/brightonRoutines.c:574:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, &tmem.count, 4 * sizeof(short)) < 0)
data/bristol-0.60.11/brighton/brightonRoutines.c:618:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, &seq->param[0], tmem.count * sizeof(float)) < 0)
data/bristol-0.60.11/brighton/brightonRoutines.c:678:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read(fd, &tmem.algo[0], 32) < 0)
data/bristol-0.60.11/brighton/brightonRoutines.c:684:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read(fd, &tmem.name[0], 32) < 0)
data/bristol-0.60.11/brighton/brightonRoutines.c:690:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read(fd, &tmem.count, 4 * sizeof(short)) < 0)
data/bristol-0.60.11/brighton/brightonRoutines.c:735:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read(fd, &synth->mem.param[skip], active * sizeof(float)) < 0)
data/bristol-0.60.11/bristol/bristol.c:113: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).
		size += strlen(argv[i]) + 1;
data/bristol-0.60.11/bristol/bristol.c:330: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).
			&& (strlen(argv[argCount]) == 2))
data/bristol-0.60.11/bristol/bristol.c:600: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).
				|| (strlen(argv[o]) == 10))
data/bristol-0.60.11/bristol/bristol.c:638: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(defaultcdev) == 5)
data/bristol-0.60.11/bristol/bristol.c:701: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(100000);
data/bristol-0.60.11/bristol/bristol.c:744:6:  [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(250000);
data/bristol-0.60.11/bristol/bristol.c:852:4:  [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(25000);
data/bristol-0.60.11/bristol/bristol.c:1042:4:  [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(100000);
data/bristol-0.60.11/bristol/bristolsystem.c:185:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
						usleep(100000);
data/bristol-0.60.11/bristol/bristolsystem.c:304:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
						usleep(100000);
data/bristol-0.60.11/bristol/bristolsystem.c:354:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
						usleep(100000);
data/bristol-0.60.11/bristol/bristolsystem.c:499:4:  [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(100000);
data/bristol-0.60.11/bristol/midithread.c:76:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			+ strlen(audiomain->sessionfile);
data/bristol-0.60.11/bristol/midithread.c:126:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			+ strlen(audiomain->sessionfile);
data/bristol-0.60.11/bristol/nro.c:474:37:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
						if ((t->ls += gt->ramp) > gt->ulimit)
data/bristol-0.60.11/bristol/nro.c:478:19:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
						t->ls = gt->ulimit;
data/bristol-0.60.11/bristol/nro.c:490:44:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
				if ((t->ls += gt->ramp * t->cfc) > gt->ulimit)
data/bristol-0.60.11/bristol/nro.c:494:21:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
				t->climit = gt->ulimit;
data/bristol-0.60.11/bristol/nro.c:497:44:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
				if ((t->ls += gt->ramp * t->cfc) > gt->ulimit)
data/bristol-0.60.11/bristol/nro.c:501:21:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
				t->climit = gt->ulimit;
data/bristol-0.60.11/bristol/nro.c:561:37:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
						if ((t->ls += gt->ramp) > gt->ulimit)
data/bristol-0.60.11/bristol/nro.c:565:19:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
						t->ls = gt->ulimit;
data/bristol-0.60.11/bristol/nro.c:577:44:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
				if ((t->ls += gt->ramp * t->cfc) > gt->ulimit)
data/bristol-0.60.11/bristol/nro.c:581:21:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
				t->climit = gt->ulimit;
data/bristol-0.60.11/bristol/nro.c:584:44:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
				if ((t->ls += gt->ramp * t->cfc) > gt->ulimit)
data/bristol-0.60.11/bristol/nro.c:588:21:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
				t->climit = gt->ulimit;
data/bristol-0.60.11/bristol/nro.c:621:43:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
			if ((t->ls += gt->ramp * t->cfc) > gt->ulimit)
data/bristol-0.60.11/bristol/nro.c:627:43:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
			if ((t->ls += gt->ramp * t->cfc) > gt->ulimit)
data/bristol-0.60.11/bristol/nro.c:634:36:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
					if ((t->ls += gt->ramp) > gt->ulimit)
data/bristol-0.60.11/bristol/nro.c:638:18:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
					t->ls = gt->ulimit;
data/bristol-0.60.11/bristol/nro.c:672:46:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
			t->climit = t->climit > 0? gt->llimit:gt->ulimit;
data/bristol-0.60.11/bristol/nro.c:683:46:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
			t->climit = t->climit > 0? gt->llimit:gt->ulimit;
data/bristol-0.60.11/bristol/nro.c:844:21:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
		t[i].climit = gt->ulimit;
data/bristol-0.60.11/bristol/nro.c:847:18:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
		t[i].lsv = gt->ulimit;
data/bristol-0.60.11/bristol/nro.h:68:8:  [1] (obsolete) ulimit:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name, which is NOT obsolete) (CWE-676). Use getrlimit(2),
  setrlimit(2), and sysconf(3) instead.
	float ulimit; /* upper target */
data/bristol-0.60.11/bristol/sdcoutils.c:42: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(index) <= 0)
data/bristol-0.60.11/bristol/sdcoutils.c:215:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, sd[loc].layer[layer].wave, sbuf.st_size) != sbuf.st_size)
data/bristol-0.60.11/bristol/thesermon.c:1087: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(param) < 5)
data/bristol-0.60.11/bristol/thesermon.c:1102: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 (strncmp(param, match, strlen(match)) == 0)
data/bristol-0.60.11/bristol/thesermon.c:1170: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(param) < 5)
data/bristol-0.60.11/bristol/thesermon.c:1173: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 (strncmp(param, match, strlen(match)) == 0)
data/bristol-0.60.11/libbrighton/brightonBitmaps.c:65: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).
	bitmap->name = brightonmalloc(strlen(name) + 1);
data/bristol-0.60.11/libbrighton/brightonC.c:105:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if (read(fd, &line[count], 1) < 0)
data/bristol-0.60.11/libbrighton/brightonDisplay.c:254: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(string) > 64)
data/bristol-0.60.11/libbrighton/brightonRender.c:690: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(25000);
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:268: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).
			line[strlen(line) - 3] = '\0';
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:321: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).
	bitmap->name = (char *) brightonmalloc(strlen(filename) + 1);
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:428: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).
	return(write(fd, line, strlen(line)));
data/bristol-0.60.11/libbrighton/brightonXpmRead.c:517:3:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
		sprintf(line, "\"");
data/bristol-0.60.11/libbrightonX11/bEvent.c:165: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(100000);
data/bristol-0.60.11/libbristol/audioRoutines.c:239: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(6000);
data/bristol-0.60.11/libbristolaudio/audioEngineALSA.c:552: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(100000);
data/bristol-0.60.11/libbristolaudio/audioEngineALSA.c:578:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	result = read(audioDev->fd2, buffer, count * 2 * audioDev->channels);
data/bristol-0.60.11/libbristolaudio/audioEngineJack.c:104: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).
	jackdev.sEvent->command_line = bristolmalloc(strlen(commandline) + 1);
data/bristol-0.60.11/libbristolaudio/audioEngineJack.c:398:2:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	usleep(100000);
data/bristol-0.60.11/libbristolaudio/audioGUIALSA.c:238: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 (name[strlen(name) - 1] == ' ')
data/bristol-0.60.11/libbristolaudio/audioGUIALSA.c:239: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).
		name[strlen(name) - 1] = '\0';
data/bristol-0.60.11/libbristolmidi/inetServer.c:53: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).
		&& (strlen(devname) > 4)
data/bristol-0.60.11/libbristolmidi/inetServer.c:102:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((strlen(devname) > 5) && (devname[4] == ':'))
data/bristol-0.60.11/libbristolmidi/interface.c:89: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(dev, "unix", 4) == 0) && (strlen(dev) > 5)
data/bristol-0.60.11/libbristolmidi/interface.c:468:6:  [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(100000);
data/bristol-0.60.11/libbristolmidi/midiALSADevMan.c:289:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			count = read(bmidi.dev[dev].fd, &bmidi.dev[dev].buffer[offset], 1);
data/bristol-0.60.11/libbristolmidi/midiALSADevMan.c:336:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
						count = read(bmidi.dev[dev].fd,
data/bristol-0.60.11/libbristolmidi/midiALSADevMan.c:349:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				count = read(bmidi.dev[dev].fd,
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:252:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (strlen(param) < 5)
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:255: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).
			if (strncmp(param, match, strlen(match)) == 0)
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:697: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).
		if (((len = strlen(inputtext)) > 0)
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:752: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 (write(std_out, outputtext, strlen(outputtext)) < 0)
data/bristol-0.60.11/libbristolmidi/midiFileMgt.c:860: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(100000);
data/bristol-0.60.11/libbristolmidi/midiMsgMan.c:80:4:  [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(100000);
data/bristol-0.60.11/libbristolmidi/midiTCPDevMan.c:115: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).
		&& (strlen(host) > 4)
data/bristol-0.60.11/libbristolmidi/midiTCPDevMan.c:156:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if ((strlen(host) > 5) && (host[4] == ':'))
data/bristol-0.60.11/libbristolmidi/midiTCPDevMan.c:244:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				read(bmidi.dev[dev].fd, &bmidi.dev[dev].buffer[offset], space))
data/bristol-0.60.11/libbristolmidi/scalaParse.c:163: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(file) > 200)
data/bristol-0.60.11/libbvg/bvg.c:462: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).
	len = strlen(image->element[stage].string.string);

ANALYSIS SUMMARY:

Hits = 969
Lines analyzed = 180712 in approximately 8.93 seconds (20230 lines/second)
Physical Source Lines of Code (SLOC) = 119805
Hits@level = [0] 2202 [1] 404 [2] 388 [3]  29 [4] 147 [5]   1
Hits@level+ = [0+] 3171 [1+] 969 [2+] 565 [3+] 177 [4+] 148 [5+]   1
Hits/KSLOC@level+ = [0+] 26.468 [1+] 8.08814 [2+] 4.716 [3+] 1.4774 [4+] 1.23534 [5+] 0.0083469
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.