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/ponyprog-3.1.1+ds/SrcPony/at250bus.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/wait.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/filldlg.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/e24xx-5.h
Examining data/ponyprog-3.1.1+ds/SrcPony/lptinterf.h
Examining data/ponyprog-3.1.1+ds/SrcPony/e24xx-2.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/x2444bus.h
Examining data/ponyprog-3.1.1+ds/SrcPony/pic16xx.h
Examining data/ponyprog-3.1.1+ds/SrcPony/wait.h
Examining data/ponyprog-3.1.1+ds/SrcPony/crc.h
Examining data/ponyprog-3.1.1+ds/SrcPony/prefdialog.h
Examining data/ponyprog-3.1.1+ds/SrcPony/portint.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/filebuf.h
Examining data/ponyprog-3.1.1+ds/SrcPony/lptinterf.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/binfbuf.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/microbus.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/picbus.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/e24xx.h
Examining data/ponyprog-3.1.1+ds/SrcPony/device.h
Examining data/ponyprog-3.1.1+ds/SrcPony/progoption.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/crc.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/easyi2c_interf.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/e2dlg.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/e24xx-1.h
Examining data/ponyprog-3.1.1+ds/SrcPony/Translator.h
Examining data/ponyprog-3.1.1+ds/SrcPony/x2444bus.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/imbus.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/Translator.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/binfbuf.h
Examining data/ponyprog-3.1.1+ds/SrcPony/blockmdlg.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/at25xxx.h
Examining data/ponyprog-3.1.1+ds/SrcPony/resource.h
Examining data/ponyprog-3.1.1+ds/SrcPony/pic168xx.h
Examining data/ponyprog-3.1.1+ds/SrcPony/spi-bus.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/lpt_io_interf.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/e24xx-2.h
Examining data/ponyprog-3.1.1+ds/SrcPony/e2pfbuf.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/sernumdlg.h
Examining data/ponyprog-3.1.1+ds/SrcPony/at90sbus.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/at250bus2.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/globals.h
Examining data/ponyprog-3.1.1+ds/SrcPony/e2phead.h
Examining data/ponyprog-3.1.1+ds/SrcPony/ispinterf.h
Examining data/ponyprog-3.1.1+ds/SrcPony/e2awinfo.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/e2401.h
Examining data/ponyprog-3.1.1+ds/SrcPony/at89sbus.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/at89sxx.h
Examining data/ponyprog-3.1.1+ds/SrcPony/bitfield.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/rs232int.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/e2401.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/lpt_ext_interf.h
Examining data/ponyprog-3.1.1+ds/SrcPony/picbus.h
Examining data/ponyprog-3.1.1+ds/SrcPony/picbusnew.h
Examining data/ponyprog-3.1.1+ds/SrcPony/rs232int.h
Examining data/ponyprog-3.1.1+ds/SrcPony/at250bus2.h
Examining data/ponyprog-3.1.1+ds/SrcPony/portint.h
Examining data/ponyprog-3.1.1+ds/SrcPony/aboutmdlg.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/filldlg.h
Examining data/ponyprog-3.1.1+ds/SrcPony/motsfbuf.h
Examining data/ponyprog-3.1.1+ds/SrcPony/x2444.h
Examining data/ponyprog-3.1.1+ds/SrcPony/businter.h
Examining data/ponyprog-3.1.1+ds/SrcPony/csmfbuf.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/ch341a.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/motsfbuf.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/at250xx.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/busio.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/fusemdlg.h
Examining data/ponyprog-3.1.1+ds/SrcPony/nvm3060.h
Examining data/ponyprog-3.1.1+ds/SrcPony/ispinterf.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/at93cbus.h
Examining data/ponyprog-3.1.1+ds/SrcPony/ponyioint.h
Examining data/ponyprog-3.1.1+ds/SrcPony/pic168xx.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/mpsse_interf.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/imbus.h
Examining data/ponyprog-3.1.1+ds/SrcPony/nvm3060.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/pgminter.h
Examining data/ponyprog-3.1.1+ds/SrcPony/pic125xx.h
Examining data/ponyprog-3.1.1+ds/SrcPony/bitfield.h
Examining data/ponyprog-3.1.1+ds/SrcPony/sde2506.h
Examining data/ponyprog-3.1.1+ds/SrcPony/blockmdlg.h
Examining data/ponyprog-3.1.1+ds/SrcPony/device.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/sde2506.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/at17xxx.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/easyi2c_interf.h
Examining data/ponyprog-3.1.1+ds/SrcPony/at90sxx.h
Examining data/ponyprog-3.1.1+ds/SrcPony/x2444.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/e2awinfo.h
Examining data/ponyprog-3.1.1+ds/SrcPony/fusemdlg.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/busio.h
Examining data/ponyprog-3.1.1+ds/SrcPony/intfbuf.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/at93cxx8.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/interfconv.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/aboutmdlg.h
Examining data/ponyprog-3.1.1+ds/SrcPony/intfbuf.h
Examining data/ponyprog-3.1.1+ds/SrcPony/e24xx-5.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/sdebus.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/e2app.h
Examining data/ponyprog-3.1.1+ds/SrcPony/i2cbus.h
Examining data/ponyprog-3.1.1+ds/SrcPony/e24xx-1.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/usbwatcher.h
Examining data/ponyprog-3.1.1+ds/SrcPony/at90sbus.h
Examining data/ponyprog-3.1.1+ds/SrcPony/pic12bus.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/infomdlg.h
Examining data/ponyprog-3.1.1+ds/SrcPony/pic12bus.h
Examining data/ponyprog-3.1.1+ds/SrcPony/pic125xx.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/types.h
Examining data/ponyprog-3.1.1+ds/SrcPony/filebuf.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/sernumdlg.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/e2dlg.h
Examining data/ponyprog-3.1.1+ds/SrcPony/jdminter.h
Examining data/ponyprog-3.1.1+ds/SrcPony/at250xx.h
Examining data/ponyprog-3.1.1+ds/SrcPony/at89sbus.h
Examining data/ponyprog-3.1.1+ds/SrcPony/infomdlg.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/e2profil.h
Examining data/ponyprog-3.1.1+ds/SrcPony/at250bus.h
Examining data/ponyprog-3.1.1+ds/SrcPony/at93cxx8.h
Examining data/ponyprog-3.1.1+ds/SrcPony/main.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/i2cbus.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/ppuser.h
Examining data/ponyprog-3.1.1+ds/SrcPony/lpt_ext_interf.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/ponyioint.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/eeptypes.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/spi-bus.h
Examining data/ponyprog-3.1.1+ds/SrcPony/progoption.h
Examining data/ponyprog-3.1.1+ds/SrcPony/at17xxx.h
Examining data/ponyprog-3.1.1+ds/SrcPony/microbus.h
Examining data/ponyprog-3.1.1+ds/SrcPony/linuxsysfsint.h
Examining data/ponyprog-3.1.1+ds/SrcPony/interfconv.h
Examining data/ponyprog-3.1.1+ds/SrcPony/eeptypes.h
Examining data/ponyprog-3.1.1+ds/SrcPony/pgminter.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/e2app.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/errcode.h
Examining data/ponyprog-3.1.1+ds/SrcPony/at25xxx.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/usbwatcher.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/linuxsysfsint.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/csmfbuf.h
Examining data/ponyprog-3.1.1+ds/SrcPony/ch341a.h
Examining data/ponyprog-3.1.1+ds/SrcPony/at93cxx.h
Examining data/ponyprog-3.1.1+ds/SrcPony/picbusnew.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/e2pfbuf.h
Examining data/ponyprog-3.1.1+ds/SrcPony/prefdialog.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/mpsse_interf.h
Examining data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/dt006interf.h
Examining data/ponyprog-3.1.1+ds/SrcPony/at93cbus.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/lpt_io_interf.h
Examining data/ponyprog-3.1.1+ds/SrcPony/sdebus.h
Examining data/ponyprog-3.1.1+ds/SrcPony/at89sxx.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/dt006interf.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/at93cxx.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/pic16xx.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/at90sxx.cpp
Examining data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.h
Examining data/ponyprog-3.1.1+ds/SrcPony/e24xx.cpp
Examining data/ponyprog-3.1.1+ds/cmake/libusb_version.c
Examining data/ponyprog-3.1.1+ds/qhexedit2/example/optionsdialog.h
Examining data/ponyprog-3.1.1+ds/qhexedit2/example/searchdialog.cpp
Examining data/ponyprog-3.1.1+ds/qhexedit2/example/optionsdialog.cpp
Examining data/ponyprog-3.1.1+ds/qhexedit2/example/searchdialog.h
Examining data/ponyprog-3.1.1+ds/qhexedit2/example/mainwindow.h
Examining data/ponyprog-3.1.1+ds/qhexedit2/example/main.cpp
Examining data/ponyprog-3.1.1+ds/qhexedit2/example/mainwindow.cpp
Examining data/ponyprog-3.1.1+ds/qhexedit2/src/qhexedit.h
Examining data/ponyprog-3.1.1+ds/qhexedit2/src/chunks.h
Examining data/ponyprog-3.1.1+ds/qhexedit2/src/commands.h
Examining data/ponyprog-3.1.1+ds/qhexedit2/src/commands.cpp
Examining data/ponyprog-3.1.1+ds/qhexedit2/src/chunks.cpp
Examining data/ponyprog-3.1.1+ds/qhexedit2/src/QHexEditPlugin.h
Examining data/ponyprog-3.1.1+ds/qhexedit2/src/QHexEditPlugin.cpp
Examining data/ponyprog-3.1.1+ds/qhexedit2/src/qhexedit.cpp
Examining data/ponyprog-3.1.1+ds/qhexedit2/test/testchunks.cpp
Examining data/ponyprog-3.1.1+ds/qhexedit2/test/main.cpp
Examining data/ponyprog-3.1.1+ds/qhexedit2/test/testchunks.h

FINAL RESULTS:

data/ponyprog-3.1.1+ds/SrcPony/at90sxx.cpp:300:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		detected_signature.sprintf("%02X-%02X-%02X", code[0], code[1], code[2]);
data/ponyprog-3.1.1+ds/SrcPony/bitfield.cpp:77:30:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			itm->setText(0, QString().sprintf("Bit %d, ", bitOffset) + sDes);
data/ponyprog-3.1.1+ds/SrcPony/blockmdlg.cpp:59:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	QString str1 = QString().sprintf("%d", (int)((lock >> 4) & 0x0F));
data/ponyprog-3.1.1+ds/SrcPony/blockmdlg.cpp:60:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	QString str2 = QString().sprintf("%d", (int)(lock & 0x0F));
data/ponyprog-3.1.1+ds/SrcPony/blockmdlg.cpp:61:27:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	QString str3 = QString().sprintf("%d", (int)(fuse & 0x0F));
data/ponyprog-3.1.1+ds/SrcPony/e2awinfo.cpp:1384:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			linebuf.sprintf("  %06lX) %02X %02X %02X %02X %02X %02X %02X %02X - %02X %02X %02X %02X %02X %02X %02X %02X    %s\n",
data/ponyprog-3.1.1+ds/SrcPony/e2awinfo.cpp:1410:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			linebuf.sprintf("  %06lX)",     idx);
data/ponyprog-3.1.1+ds/SrcPony/e2awinfo.cpp:1415:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			linebuf.sprintf(" %02X %02X %02X %02X %02X %02X %02X %02X - %02X %02X %02X %02X %02X %02X %02X %02X  ",
data/ponyprog-3.1.1+ds/SrcPony/e2awinfo.cpp:1447:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			linebuf.sprintf("  %s\n", tmpbuf);
data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.cpp:121:32:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	programStyleSheet = QString().sprintf("font-size: %dpt", fontSize);
data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.cpp:126:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		programStyleSheet = QString().sprintf("font-size: %dpx", fontSize);
data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.cpp:1470:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		programStyleSheet = QString().sprintf("font-size: %dpx", fontSize);
data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.cpp:1474:33:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		programStyleSheet = QString().sprintf("font-size: %dpt", fontSize);
data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.cpp:2555:2:  [4] (shell) ShellExecute:
  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.
	ShellExecute(NULL, L"open", (LPCWSTR)str.utf16(), NULL, NULL, SW_SHOWNORMAL);
data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.cpp:2918:54:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					str = translate(STR_MSGREADCALIBOK) + QString().sprintf(": 0x%02X (%d)", rval, rval);
data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.cpp:3196:52:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			str = translate(STR_MSGPROGRAMFAIL) + QString().sprintf(" (%d)", result);
data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.cpp:4307:52:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			str = translate(STR_MSGPROGRAMFAIL) + QString().sprintf(" (%d)", result);
data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.cpp:5251:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		buf.sprintf(STATUSBAR_PRINT, GetDevSize(), awip->GetCRC(), awip->IsBufChanged() ? '*' : ' ');
data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.cpp:6439:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			t << QString().sprintf("Size  : %ld Bytes    CRC: %04X", GetDevSize(), awip->GetCRC());
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:214:35:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		QString sp = s->value(QString().sprintf("LastFile%d", i), "").toString();
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:231:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		s->setValue(QString().sprintf("LastFile%d", i), t);
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:246:35:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		QString sp = s->value(QString().sprintf("LastScript%d", i), "").toString();
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:259:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		s->setValue(QString().sprintf("LastScript%d", i), t);
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:264:25:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		s->setValue(QString().sprintf("LastFile%d", i), "");
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:332:43:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		s->setValue("I2CBaseAddress", QString().sprintf("0x%X", base_addr));
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:770:35:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	s->setValue("Address", QString().sprintf("0x%04lX", start));
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:1395:40:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	s->setValue("StartAddress", QString().sprintf("0x%04lX", start));
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:1468:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					str.sprintf("%X,%X,%X,%X", com1, com2, com3, com4);
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:1472:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
					str.sprintf("%X,%X,%X", com1, com2, com3);
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:1477:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				str.sprintf("%X,%X", com1, com2);
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:1482:8:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			str.sprintf("%X", com1);
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:1516:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				str.sprintf("%X,%X,%X", lpt1, lpt2, lpt3);
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:1520:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				str.sprintf("%X,%X", lpt1, lpt2);
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:1525:8:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			str.sprintf("%X", lpt1);
data/ponyprog-3.1.1+ds/SrcPony/filldlg.cpp:71:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	str = QString().sprintf("0x%04lX", mFrom);
data/ponyprog-3.1.1+ds/SrcPony/filldlg.cpp:74:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	str = QString().sprintf("0x%04lX", mTo);
data/ponyprog-3.1.1+ds/SrcPony/filldlg.cpp:77:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	str = QString().sprintf("0x%02X", mVal);
data/ponyprog-3.1.1+ds/SrcPony/fusemdlg.cpp:238:17:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		s = QString().sprintf("Fuse: 0x%08X  ", fuseBits);
data/ponyprog-3.1.1+ds/SrcPony/fusemdlg.cpp:242:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		s +=  QString().sprintf("Lock: 0x%08X", lockBits);
data/ponyprog-3.1.1+ds/SrcPony/infomdlg.cpp:70:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	str = QString().sprintf("%04Xh", crc);
data/ponyprog-3.1.1+ds/SrcPony/infomdlg.cpp:74:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	str = QString().sprintf("%ld Byte", size);
data/ponyprog-3.1.1+ds/SrcPony/infomdlg.cpp:121:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	str = QString().sprintf("%04Xh", crc);
data/ponyprog-3.1.1+ds/SrcPony/infomdlg.cpp:125:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	str = QString().sprintf("%ld Byte", fsize);
data/ponyprog-3.1.1+ds/SrcPony/infomdlg.cpp:129:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	str = QString().sprintf("%ld Byte", esize);
data/ponyprog-3.1.1+ds/SrcPony/infomdlg.cpp:237:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	str = QString().sprintf("%02X", curval);
data/ponyprog-3.1.1+ds/SrcPony/infomdlg.cpp:242:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	str = QString().sprintf("%d", curval);
data/ponyprog-3.1.1+ds/SrcPony/infomdlg.cpp:246:18:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	str = QString().sprintf("%c", curval);
data/ponyprog-3.1.1+ds/SrcPony/infomdlg.cpp:349:31:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			txiFrom->setText(QString().sprintf("%02X", newval));
data/ponyprog-3.1.1+ds/SrcPony/infomdlg.cpp:350:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			txiTo->setText(QString().sprintf("%d", newval));
data/ponyprog-3.1.1+ds/SrcPony/infomdlg.cpp:351:30:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			txiVal->setText(QString().sprintf("%c", newval));
data/ponyprog-3.1.1+ds/SrcPony/intfbuf.cpp:98:20:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		out << QString().sprintf("%02X", len & 0xFF);
data/ponyprog-3.1.1+ds/SrcPony/intfbuf.cpp:102:20:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		out << QString().sprintf("%04lX", curaddr & 0xFFFF);
data/ponyprog-3.1.1+ds/SrcPony/intfbuf.cpp:107:20:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		out << QString().sprintf("%02X", fmt & 0xFF);
data/ponyprog-3.1.1+ds/SrcPony/intfbuf.cpp:112:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			out << QString().sprintf("%02X", bptr[curaddr + j]);
data/ponyprog-3.1.1+ds/SrcPony/intfbuf.cpp:116:20:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		out << QString().sprintf("%02X\n", (~checksum + 1) & 0xFF);
data/ponyprog-3.1.1+ds/SrcPony/intfbuf.cpp:133:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	out << QString().sprintf("%02X", len & 0xFF);
data/ponyprog-3.1.1+ds/SrcPony/intfbuf.cpp:137:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	out << QString().sprintf("%04X", 0);
data/ponyprog-3.1.1+ds/SrcPony/intfbuf.cpp:142:20:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		out << QString().sprintf("%02X", LIN_ADDR_RECORD & 0xFF);
data/ponyprog-3.1.1+ds/SrcPony/intfbuf.cpp:151:20:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		out << QString().sprintf("%02X", SEG_ADDR_RECORD & 0xFF);
data/ponyprog-3.1.1+ds/SrcPony/intfbuf.cpp:158:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	out << QString().sprintf("%04lX", curaddr & 0xFFFF);
data/ponyprog-3.1.1+ds/SrcPony/intfbuf.cpp:162:19:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	out << QString().sprintf("%02X\n", (~checksum + 1) & 0xFF);
data/ponyprog-3.1.1+ds/SrcPony/linuxsysfsint.cpp:72:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	buf.sprintf("export %u %s", gpio, out_dir ? "out" : "in");
data/ponyprog-3.1.1+ds/SrcPony/linuxsysfsint.cpp:100:8:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			buf.sprintf("%s/gpio%d/direction", SYSFS_GPIO_DIR, gpio);
data/ponyprog-3.1.1+ds/SrcPony/linuxsysfsint.cpp:134:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		buf.sprintf("%s/gpio%d/value", SYSFS_GPIO_DIR, gpio);
data/ponyprog-3.1.1+ds/SrcPony/linuxsysfsint.cpp:166:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	buf.sprintf("unexport %u", gpio);
data/ponyprog-3.1.1+ds/SrcPony/motsfbuf.cpp:145:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		outs << QString().sprintf("S%c", fmt);
data/ponyprog-3.1.1+ds/SrcPony/motsfbuf.cpp:148:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		outs << QString().sprintf("%02X", len & 0xFF);
data/ponyprog-3.1.1+ds/SrcPony/motsfbuf.cpp:154:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			outs << QString().sprintf("%06lX", curaddr & 0xFFFFFF);
data/ponyprog-3.1.1+ds/SrcPony/motsfbuf.cpp:161:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			outs << QString().sprintf("%08lX", curaddr);
data/ponyprog-3.1.1+ds/SrcPony/motsfbuf.cpp:169:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			outs << QString().sprintf("%04lX", curaddr & 0xFFFF);
data/ponyprog-3.1.1+ds/SrcPony/motsfbuf.cpp:176:22:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			outs << QString().sprintf("%02X", bptr[curaddr + j]);
data/ponyprog-3.1.1+ds/SrcPony/motsfbuf.cpp:180:21:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		outs << QString().sprintf("%02X\n", ~checksum & 0xFF);
data/ponyprog-3.1.1+ds/SrcPony/portint.cpp:742:13:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function. If the scanf format is influenceable by an
  attacker, it's exploitable.
								if (sscanf(strbuf2.toLatin1().constData(), PortFormat.toLatin1().constData(), &Index) == 1
data/ponyprog-3.1.1+ds/SrcPony/rs232int.cpp:557:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			dcb_str.sprintf("baud=%ld parity=%c data=%d stop=%d", actual_speed, actual_parity, actual_bits, actual_stops);
data/ponyprog-3.1.1+ds/SrcPony/sernumdlg.cpp:63:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	txiLoc->setText(QString().sprintf("0x%04lX", loc));
data/ponyprog-3.1.1+ds/SrcPony/sernumdlg.cpp:64:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	txiLen->setText(QString().sprintf("%d", size));
data/ponyprog-3.1.1+ds/SrcPony/sernumdlg.cpp:65:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	txiVal->setText(QString().sprintf("%lu", val));
data/ponyprog-3.1.1+ds/SrcPony/sernumdlg.cpp:207:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	txiLoc->setText(QString().sprintf("0x%04lX", loc));
data/ponyprog-3.1.1+ds/SrcPony/sernumdlg.cpp:208:28:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	txiVal->setText(QString().sprintf("%d", val));
data/ponyprog-3.1.1+ds/SrcPony/sernumdlg.cpp:275:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		txiVal->setText(QString().sprintf("0x%02X", val));
data/ponyprog-3.1.1+ds/qhexedit2/example/main.cpp:15:31:  [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.
    QString locale = QLocale::system().name();
data/ponyprog-3.1.1+ds/SrcPony/portint.cpp:137:15:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
	hInpOutDll = LoadLibrary(L"inpout32.dll");               //The 32bit DLL. If we are building x64 C++
data/ponyprog-3.1.1+ds/qhexedit2/test/main.cpp:59:9:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    tc4.random(1000);
data/ponyprog-3.1.1+ds/qhexedit2/test/testchunks.cpp:5:72:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
TestChunks::TestChunks(QTextStream &log, QString tName, int size, bool random, int saveFile) : _chunks(nullptr)
data/ponyprog-3.1.1+ds/qhexedit2/test/testchunks.cpp:8:5:  [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(0);
data/ponyprog-3.1.1+ds/qhexedit2/test/testchunks.cpp:11:13:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
        if (random)
data/ponyprog-3.1.1+ds/qhexedit2/test/testchunks.cpp:27:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
void TestChunks::random(int count)
data/ponyprog-3.1.1+ds/qhexedit2/test/testchunks.h:18:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    void random(int count);
data/ponyprog-3.1.1+ds/SrcPony/Translator.cpp:558: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 (!langFile.open(QIODevice::ReadOnly))
data/ponyprog-3.1.1+ds/SrcPony/binfbuf.cpp:52: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).
	if (!fh.open(QIODevice::ReadOnly))
data/ponyprog-3.1.1+ds/SrcPony/binfbuf.cpp:130: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).
	if (!fh.open(QIODevice::WriteOnly))
data/ponyprog-3.1.1+ds/SrcPony/ch341a.cpp:253:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buffer, (const void *)data, len);
data/ponyprog-3.1.1+ds/SrcPony/ch341a.cpp:1265: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(outptr, bufptr, MIN(bytes, 25));             // payload has two parts: 25 bytes & up to 7 more bytes
data/ponyprog-3.1.1+ds/SrcPony/ch341a.cpp:1277: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(outptr, bufptr, MIN(bytes, 7));
data/ponyprog-3.1.1+ds/SrcPony/ch341a.cpp:1353: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(ch341outBuffer, CH341_EEPROM_READ_SETUP_CMD, EEPROM_READ_BULKOUT_BUF_SZ);
data/ponyprog-3.1.1+ds/SrcPony/ch341a.cpp:1413: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(ch341outBuffer, CH341_EEPROM_READ_NEXT_CMD, CH341_EEPROM_READ_CMD_SZ);
data/ponyprog-3.1.1+ds/SrcPony/csmfbuf.cpp:56: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).
	if (!fh.open(QIODevice::ReadOnly | QIODevice::Text))
data/ponyprog-3.1.1+ds/SrcPony/csmfbuf.cpp:274: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).
		if (!fh.open(QIODevice::WriteOnly | QIODevice::Text))
data/ponyprog-3.1.1+ds/SrcPony/e24xx-2.cpp:93: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(localbuf + 2, GetBufPtr() + j, writepage_size);
data/ponyprog-3.1.1+ds/SrcPony/e24xx.cpp:256:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(buffer + 1, copy_buf, size);
data/ponyprog-3.1.1+ds/SrcPony/e2app.cpp:499: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).
	if (!fh.open(QIODevice::WriteOnly | QIODevice::Text))
data/ponyprog-3.1.1+ds/SrcPony/e2awinfo.cpp:745:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
						memcpy(GetBufPtr() + GetSize(), GetBufPtr() + (0x2000 * 2), 16);
data/ponyprog-3.1.1+ds/SrcPony/e2awinfo.cpp:772:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy(GetBufPtr() + GetSize() + 14, GetBufPtr() + (0xFFF * 2), 2);
data/ponyprog-3.1.1+ds/SrcPony/e2awinfo.cpp:828: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(localbuf, GetBufPtr(), GetBufSize());
data/ponyprog-3.1.1+ds/SrcPony/e2awinfo.cpp:881:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy(GetBufPtr(), localbuf, GetSplittedInfo());
data/ponyprog-3.1.1+ds/SrcPony/e2awinfo.cpp:907: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(GetBufPtr(), localbuf, GetSize());
data/ponyprog-3.1.1+ds/SrcPony/e2awinfo.cpp:932: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(GetBufPtr(), localbuf, GetBufSize());
data/ponyprog-3.1.1+ds/SrcPony/e2awinfo.cpp:1188:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(buffer + k * 2 * GetBlockSize(),
data/ponyprog-3.1.1+ds/SrcPony/e2awinfo.cpp:1194:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buffer + (k * 2 + 1) * GetBlockSize(),
data/ponyprog-3.1.1+ds/SrcPony/e2awinfo.cpp:1375: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 tmpbuf[16 + 1];
data/ponyprog-3.1.1+ds/SrcPony/e2awinfo.cpp:1438: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 tmpbuf[16 + 1];
data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.cpp:474: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 (fLang.open(QIODevice::ReadOnly))        //load
data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.cpp:3377:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char buf[512];
data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.cpp:3398: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).
	if (!fh.open(QIODevice::ReadOnly | QIODevice::Text))
data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.cpp:6228: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(awip->GetBufPtr(), ptr, e2HexEdit->data().length());
data/ponyprog-3.1.1+ds/SrcPony/e2cmdw.cpp:6238: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(awip->GetBufPtr() + ofst, ptr, e2HexEditSplit->data().length());
data/ponyprog-3.1.1+ds/SrcPony/e2pfbuf.cpp:89: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).
	if (!fh.open(QIODevice::ReadOnly))
data/ponyprog-3.1.1+ds/SrcPony/e2pfbuf.cpp:154:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy(FileBuf::GetBufPtr(), localbuf, hdr.e2pSize);
data/ponyprog-3.1.1+ds/SrcPony/e2pfbuf.cpp:169:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy(FileBuf::GetBufPtr(), localbuf, s);
data/ponyprog-3.1.1+ds/SrcPony/e2pfbuf.cpp:180:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
					memcpy(FileBuf::GetBufPtr() + s, localbuf + s, hdr.e2pSize - s);
data/ponyprog-3.1.1+ds/SrcPony/e2pfbuf.cpp:228: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).
		if (!fh.open(QIODevice::ReadOnly))
data/ponyprog-3.1.1+ds/SrcPony/e2pfbuf.cpp:247: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(localbuf, FileBuf::GetBufPtr(), hdr.e2pSize);
data/ponyprog-3.1.1+ds/SrcPony/e2pfbuf.cpp:253: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(localbuf + s, FileBuf::GetBufPtr() + s, hdr.e2pSize - s);
data/ponyprog-3.1.1+ds/SrcPony/e2pfbuf.cpp:260:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy(localbuf, FileBuf::GetBufPtr(), s);
data/ponyprog-3.1.1+ds/SrcPony/e2pfbuf.cpp:280:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (fh.open(QIODevice::WriteOnly | QIODevice::Truncate))
data/ponyprog-3.1.1+ds/SrcPony/e2phead.h:49: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 fileID[E2P_ID_SIZE];
data/ponyprog-3.1.1+ds/SrcPony/e2phead.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 e2pStringID[E2P_STRID_SIZE];
data/ponyprog-3.1.1+ds/SrcPony/e2phead.h:61:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char e2pComment[E2P_COMM_SIZE];
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:995: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).
	if (file.open(QIODevice::ReadOnly | QIODevice::Text))
data/ponyprog-3.1.1+ds/SrcPony/e2profil.cpp:1036: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).
	if (file.open(QIODevice::ReadOnly | QIODevice::Text))
data/ponyprog-3.1.1+ds/SrcPony/intfbuf.cpp:177: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).
	if (!fh.open(QIODevice::WriteOnly | QIODevice::Text))
data/ponyprog-3.1.1+ds/SrcPony/intfbuf.cpp:292: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).
	if (!fh.open(QIODevice::ReadOnly | QIODevice::Text))
data/ponyprog-3.1.1+ds/SrcPony/intfbuf.cpp:579: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 cifra[20];
data/ponyprog-3.1.1+ds/SrcPony/linuxsysfsint.cpp:80: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(SYSFS_GPIO_DIR "/export", O_WRONLY);
data/ponyprog-3.1.1+ds/SrcPony/linuxsysfsint.cpp:101:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
			fd = open(buf.toLatin1().data(), O_WRONLY);
data/ponyprog-3.1.1+ds/SrcPony/linuxsysfsint.cpp:135: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(buf.toLatin1().data(), out_dir ? O_WRONLY : O_RDONLY);
data/ponyprog-3.1.1+ds/SrcPony/linuxsysfsint.cpp:172: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(SYSFS_GPIO_DIR "/unexport", O_WRONLY);
data/ponyprog-3.1.1+ds/SrcPony/lptinterf.cpp:121:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		hLpt = open(name.toLatin1().constData(), O_RDWR);
data/ponyprog-3.1.1+ds/SrcPony/lptinterf.cpp:167: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).
		hLpt = open(name.toLatin1().constData(), O_RDWR);
data/ponyprog-3.1.1+ds/SrcPony/lptinterf.cpp:228: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).
		hLpt = open(name.toLatin1().constData(), O_RDWR);
data/ponyprog-3.1.1+ds/SrcPony/lptinterf.cpp:289: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).
		hLpt = open(name.toLatin1().constData(), O_RDWR);
data/ponyprog-3.1.1+ds/SrcPony/motsfbuf.cpp:195: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).
	if (!fh.open(QIODevice::WriteOnly))
data/ponyprog-3.1.1+ds/SrcPony/motsfbuf.cpp:333: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).
	if (!fh.open(QIODevice::ReadOnly | QIODevice::Text))
data/ponyprog-3.1.1+ds/SrcPony/motsfbuf.cpp:340: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 riga[MAXLINE + 1];
data/ponyprog-3.1.1+ds/SrcPony/mpsse_interf.cpp:247: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).
			result = ctx.open(usb_vp.vid, usb_vp.pid, sdesc, sser, port);
data/ponyprog-3.1.1+ds/SrcPony/mpsse_interf.h:144:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char man[256];
data/ponyprog-3.1.1+ds/SrcPony/mpsse_interf.h:145:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char desc[256];
data/ponyprog-3.1.1+ds/SrcPony/mpsse_interf.h:146:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				char ser[256];
data/ponyprog-3.1.1+ds/SrcPony/portint.cpp:675: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).
	if (!fh.open(QIODevice::WriteOnly | QIODevice::Append | QIODevice::Text))
data/ponyprog-3.1.1+ds/SrcPony/rs232int.cpp:153:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open(m_devname.toLatin1().constData(), O_RDWR | O_NONBLOCK | O_EXCL);
data/ponyprog-3.1.1+ds/qhexedit2/example/mainwindow.cpp:67: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).
void MainWindow::open()
data/ponyprog-3.1.1+ds/qhexedit2/example/mainwindow.cpp:111:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if (!file.open(QFile::WriteOnly | QFile::Text)) {
data/ponyprog-3.1.1+ds/qhexedit2/example/mainwindow.cpp:133:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if (!file.open(QFile::WriteOnly | QFile::Text)) {
data/ponyprog-3.1.1+ds/qhexedit2/example/mainwindow.cpp:210:54:  [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).
    connect(openAct, SIGNAL(triggered()), this, SLOT(open()));
data/ponyprog-3.1.1+ds/qhexedit2/example/mainwindow.h:34: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).
    void open();
data/ponyprog-3.1.1+ds/qhexedit2/src/chunks.cpp:27:26:  [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).
    bool ok = _ioDevice->open(QIODevice::ReadOnly);
data/ponyprog-3.1.1+ds/qhexedit2/src/chunks.cpp:68: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).
    _ioDevice->open(QIODevice::ReadOnly);
data/ponyprog-3.1.1+ds/qhexedit2/src/chunks.cpp:136: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).
    bool ok = iODevice.open(QIODevice::WriteOnly);
data/ponyprog-3.1.1+ds/qhexedit2/src/chunks.cpp:304:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        _ioDevice->open(QIODevice::ReadOnly);
data/ponyprog-3.1.1+ds/qhexedit2/test/main.cpp:18: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).
    outFile.open(QIODevice::WriteOnly | QIODevice::Text);
data/ponyprog-3.1.1+ds/qhexedit2/test/testchunks.cpp:92: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).
        file1.open(QIODevice::WriteOnly);
data/ponyprog-3.1.1+ds/qhexedit2/test/testchunks.cpp:97: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).
        file2.open(QIODevice::WriteOnly);
data/ponyprog-3.1.1+ds/qhexedit2/test/testchunks.cpp:102: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).
        file3.open(QIODevice::WriteOnly);
data/ponyprog-3.1.1+ds/qhexedit2/test/testchunks.cpp:107: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).
        file4.open(QIODevice::WriteOnly);
data/ponyprog-3.1.1+ds/SrcPony/crc.cpp:20:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		for (; len && fh.read(&ch, 1) > 0; len--)
data/ponyprog-3.1.1+ds/SrcPony/crc.cpp:27:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while (fh.read(&ch, 1) > 0)	//while( (ch = getc(fh)) != EOF )
data/ponyprog-3.1.1+ds/SrcPony/e2pfbuf.cpp:217:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(hdr.fileID, id_string, E2P_ID_SIZE);    //Id
data/ponyprog-3.1.1+ds/SrcPony/e2pfbuf.cpp:272:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(hdr.e2pStringID, GetStringID().toLatin1().constData(), 28);
data/ponyprog-3.1.1+ds/SrcPony/e2pfbuf.cpp:273:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(hdr.e2pComment, GetComment().toLatin1().constData(), 85);
data/ponyprog-3.1.1+ds/SrcPony/fusemdlg.h:97:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	bool read;
data/ponyprog-3.1.1+ds/SrcPony/linuxsysfsint.cpp:403:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		ret = read(fd_datain, &ch, 1);
data/ponyprog-3.1.1+ds/SrcPony/mpsse_interf.cpp:422:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			ret = ctx.read(buf, 2);
data/ponyprog-3.1.1+ds/SrcPony/mpsse_interf.cpp:467:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			ret = ctx.read(buf, len);
data/ponyprog-3.1.1+ds/SrcPony/mpsse_interf.cpp:603:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				ret = ctx.read(&ret_byte, 1);
data/ponyprog-3.1.1+ds/SrcPony/mpsse_interf.cpp:698:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				ret = ctx.read(&ret_byte, 1);
data/ponyprog-3.1.1+ds/SrcPony/pic125xx.cpp:48:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int Pic125xx::CodeProtectAdjust(uint16_t &config, int read)
data/ponyprog-3.1.1+ds/SrcPony/pic168xx.cpp:46:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int Pic168xx::CodeProtectAdjust(uint16_t &config, int read)
data/ponyprog-3.1.1+ds/SrcPony/pic168xx.cpp:53:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		Pic16xx::CodeProtectAdjust(config, read);
data/ponyprog-3.1.1+ds/SrcPony/pic16xx.cpp:51:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
int Pic16xx::CodeProtectAdjust(uint16_t &config, int read)
data/ponyprog-3.1.1+ds/SrcPony/pic16xx.cpp:53:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (!read)
data/ponyprog-3.1.1+ds/SrcPony/rs232int.cpp:442:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				nread = read(fd, ptr, nleft);
data/ponyprog-3.1.1+ds/SrcPony/wait.cpp:141: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(msec * 1000);
data/ponyprog-3.1.1+ds/qhexedit2/src/chunks.cpp:121:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            readBuffer = _ioDevice->read(byteCount);
data/ponyprog-3.1.1+ds/qhexedit2/src/chunks.cpp:306:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        newChunk.data = _ioDevice->read(CHUNK_SIZE);

ANALYSIS SUMMARY:

Hits = 184
Lines analyzed = 51067 in approximately 1.01 seconds (50537 lines/second)
Physical Source Lines of Code (SLOC) = 35354
Hits@level = [0]  14 [1]  20 [2]  76 [3]   7 [4]  81 [5]   0
Hits@level+ = [0+] 198 [1+] 184 [2+] 164 [3+]  88 [4+]  81 [5+]   0
Hits/KSLOC@level+ = [0+] 5.6005 [1+] 5.2045 [2+] 4.6388 [3+] 2.48911 [4+] 2.29111 [5+]   0
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.