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/bibledit-5.0.912/access/bible.cpp
Examining data/bibledit-5.0.912/access/bible.h
Examining data/bibledit-5.0.912/access/logic.cpp
Examining data/bibledit-5.0.912/access/logic.h
Examining data/bibledit-5.0.912/access/user.cpp
Examining data/bibledit-5.0.912/access/user.h
Examining data/bibledit-5.0.912/assets/external.cpp
Examining data/bibledit-5.0.912/assets/external.h
Examining data/bibledit-5.0.912/assets/header.cpp
Examining data/bibledit-5.0.912/assets/header.h
Examining data/bibledit-5.0.912/assets/page.cpp
Examining data/bibledit-5.0.912/assets/page.h
Examining data/bibledit-5.0.912/assets/view.cpp
Examining data/bibledit-5.0.912/assets/view.h
Examining data/bibledit-5.0.912/bb/book.cpp
Examining data/bibledit-5.0.912/bb/book.h
Examining data/bibledit-5.0.912/bb/chapter.cpp
Examining data/bibledit-5.0.912/bb/chapter.h
Examining data/bibledit-5.0.912/bb/css.cpp
Examining data/bibledit-5.0.912/bb/css.h
Examining data/bibledit-5.0.912/bb/import.cpp
Examining data/bibledit-5.0.912/bb/import.h
Examining data/bibledit-5.0.912/bb/import_run.cpp
Examining data/bibledit-5.0.912/bb/import_run.h
Examining data/bibledit-5.0.912/bb/logic.cpp
Examining data/bibledit-5.0.912/bb/logic.h
Examining data/bibledit-5.0.912/bb/manage.cpp
Examining data/bibledit-5.0.912/bb/manage.h
Examining data/bibledit-5.0.912/bb/order.cpp
Examining data/bibledit-5.0.912/bb/order.h
Examining data/bibledit-5.0.912/bb/settings.cpp
Examining data/bibledit-5.0.912/bb/settings.h
Examining data/bibledit-5.0.912/book/create.cpp
Examining data/bibledit-5.0.912/book/create.h
Examining data/bibledit-5.0.912/bootstrap/bootstrap.cpp
Examining data/bibledit-5.0.912/bootstrap/bootstrap.h
Examining data/bibledit-5.0.912/changes/change.cpp
Examining data/bibledit-5.0.912/changes/change.h
Examining data/bibledit-5.0.912/changes/changes.cpp
Examining data/bibledit-5.0.912/changes/changes.h
Examining data/bibledit-5.0.912/changes/logic.cpp
Examining data/bibledit-5.0.912/changes/logic.h
Examining data/bibledit-5.0.912/changes/manage.cpp
Examining data/bibledit-5.0.912/changes/manage.h
Examining data/bibledit-5.0.912/changes/modifications.cpp
Examining data/bibledit-5.0.912/changes/modifications.h
Examining data/bibledit-5.0.912/changes/statistics.cpp
Examining data/bibledit-5.0.912/changes/statistics.h
Examining data/bibledit-5.0.912/checks/french.cpp
Examining data/bibledit-5.0.912/checks/french.h
Examining data/bibledit-5.0.912/checks/headers.cpp
Examining data/bibledit-5.0.912/checks/headers.h
Examining data/bibledit-5.0.912/checks/index.cpp
Examining data/bibledit-5.0.912/checks/index.h
Examining data/bibledit-5.0.912/checks/logic.cpp
Examining data/bibledit-5.0.912/checks/logic.h
Examining data/bibledit-5.0.912/checks/pairs.cpp
Examining data/bibledit-5.0.912/checks/pairs.h
Examining data/bibledit-5.0.912/checks/run.cpp
Examining data/bibledit-5.0.912/checks/run.h
Examining data/bibledit-5.0.912/checks/sentences.cpp
Examining data/bibledit-5.0.912/checks/sentences.h
Examining data/bibledit-5.0.912/checks/settings.cpp
Examining data/bibledit-5.0.912/checks/settings.h
Examining data/bibledit-5.0.912/checks/settingspairs.cpp
Examining data/bibledit-5.0.912/checks/settingspairs.h
Examining data/bibledit-5.0.912/checks/settingspatterns.cpp
Examining data/bibledit-5.0.912/checks/settingspatterns.h
Examining data/bibledit-5.0.912/checks/settingssentences.cpp
Examining data/bibledit-5.0.912/checks/settingssentences.h
Examining data/bibledit-5.0.912/checks/space.cpp
Examining data/bibledit-5.0.912/checks/space.h
Examining data/bibledit-5.0.912/checks/suppress.cpp
Examining data/bibledit-5.0.912/checks/suppress.h
Examining data/bibledit-5.0.912/checks/usfm.cpp
Examining data/bibledit-5.0.912/checks/usfm.h
Examining data/bibledit-5.0.912/checks/verses.cpp
Examining data/bibledit-5.0.912/checks/verses.h
Examining data/bibledit-5.0.912/checks/versification.cpp
Examining data/bibledit-5.0.912/checks/versification.h
Examining data/bibledit-5.0.912/checksum/logic.cpp
Examining data/bibledit-5.0.912/checksum/logic.h
Examining data/bibledit-5.0.912/classes/merge.h
Examining data/bibledit-5.0.912/client/index.cpp
Examining data/bibledit-5.0.912/client/index.h
Examining data/bibledit-5.0.912/client/logic.cpp
Examining data/bibledit-5.0.912/client/logic.h
Examining data/bibledit-5.0.912/collaboration/index.cpp
Examining data/bibledit-5.0.912/collaboration/index.h
Examining data/bibledit-5.0.912/collaboration/link.cpp
Examining data/bibledit-5.0.912/collaboration/link.h
Examining data/bibledit-5.0.912/collaboration/settings.cpp
Examining data/bibledit-5.0.912/collaboration/settings.h
Examining data/bibledit-5.0.912/compare/compare.cpp
Examining data/bibledit-5.0.912/compare/compare.h
Examining data/bibledit-5.0.912/compare/index.cpp
Examining data/bibledit-5.0.912/compare/index.h
Examining data/bibledit-5.0.912/config/config.h
Examining data/bibledit-5.0.912/config/globals.cpp
Examining data/bibledit-5.0.912/config/globals.h
Examining data/bibledit-5.0.912/config/libraries.h
Examining data/bibledit-5.0.912/config/logic.cpp
Examining data/bibledit-5.0.912/config/logic.h
Examining data/bibledit-5.0.912/confirm/worker.cpp
Examining data/bibledit-5.0.912/confirm/worker.h
Examining data/bibledit-5.0.912/consistency/index.cpp
Examining data/bibledit-5.0.912/consistency/index.h
Examining data/bibledit-5.0.912/consistency/input.cpp
Examining data/bibledit-5.0.912/consistency/input.h
Examining data/bibledit-5.0.912/consistency/logic.cpp
Examining data/bibledit-5.0.912/consistency/logic.h
Examining data/bibledit-5.0.912/consistency/poll.cpp
Examining data/bibledit-5.0.912/consistency/poll.h
Examining data/bibledit-5.0.912/database/bibleactions.cpp
Examining data/bibledit-5.0.912/database/bibleactions.h
Examining data/bibledit-5.0.912/database/bibles.cpp
Examining data/bibledit-5.0.912/database/bibles.h
Examining data/bibledit-5.0.912/database/books.cpp
Examining data/bibledit-5.0.912/database/books.h
Examining data/bibledit-5.0.912/database/booksdata.h
Examining data/bibledit-5.0.912/database/cache.cpp
Examining data/bibledit-5.0.912/database/cache.h
Examining data/bibledit-5.0.912/database/check.cpp
Examining data/bibledit-5.0.912/database/check.h
Examining data/bibledit-5.0.912/database/config/bible.cpp
Examining data/bibledit-5.0.912/database/config/bible.h
Examining data/bibledit-5.0.912/database/config/general.cpp
Examining data/bibledit-5.0.912/database/config/general.h
Examining data/bibledit-5.0.912/database/config/user.cpp
Examining data/bibledit-5.0.912/database/config/user.h
Examining data/bibledit-5.0.912/database/confirm.cpp
Examining data/bibledit-5.0.912/database/confirm.h
Examining data/bibledit-5.0.912/database/etcbc4.cpp
Examining data/bibledit-5.0.912/database/etcbc4.h
Examining data/bibledit-5.0.912/database/git.cpp
Examining data/bibledit-5.0.912/database/git.h
Examining data/bibledit-5.0.912/database/hebrewlexicon.cpp
Examining data/bibledit-5.0.912/database/hebrewlexicon.h
Examining data/bibledit-5.0.912/database/imageresources.cpp
Examining data/bibledit-5.0.912/database/imageresources.h
Examining data/bibledit-5.0.912/database/ipc.cpp
Examining data/bibledit-5.0.912/database/ipc.h
Examining data/bibledit-5.0.912/database/jobs.cpp
Examining data/bibledit-5.0.912/database/jobs.h
Examining data/bibledit-5.0.912/database/kjv.cpp
Examining data/bibledit-5.0.912/database/kjv.h
Examining data/bibledit-5.0.912/database/localization.cpp
Examining data/bibledit-5.0.912/database/localization.h
Examining data/bibledit-5.0.912/database/logic.cpp
Examining data/bibledit-5.0.912/database/logic.h
Examining data/bibledit-5.0.912/database/login.cpp
Examining data/bibledit-5.0.912/database/login.h
Examining data/bibledit-5.0.912/database/logs.cpp
Examining data/bibledit-5.0.912/database/logs.h
Examining data/bibledit-5.0.912/database/mail.cpp
Examining data/bibledit-5.0.912/database/mail.h
Examining data/bibledit-5.0.912/database/maintenance.cpp
Examining data/bibledit-5.0.912/database/maintenance.h
Examining data/bibledit-5.0.912/database/mappings.cpp
Examining data/bibledit-5.0.912/database/mappings.h
Examining data/bibledit-5.0.912/database/modifications.cpp
Examining data/bibledit-5.0.912/database/modifications.h
Examining data/bibledit-5.0.912/database/morphgnt.cpp
Examining data/bibledit-5.0.912/database/morphgnt.h
Examining data/bibledit-5.0.912/database/navigation.cpp
Examining data/bibledit-5.0.912/database/navigation.h
Examining data/bibledit-5.0.912/database/noteactions.cpp
Examining data/bibledit-5.0.912/database/noteactions.h
Examining data/bibledit-5.0.912/database/noteassignment.cpp
Examining data/bibledit-5.0.912/database/noteassignment.h
Examining data/bibledit-5.0.912/database/notes.cpp
Examining data/bibledit-5.0.912/database/notes.h
Examining data/bibledit-5.0.912/database/oshb.cpp
Examining data/bibledit-5.0.912/database/oshb.h
Examining data/bibledit-5.0.912/database/privileges.cpp
Examining data/bibledit-5.0.912/database/privileges.h
Examining data/bibledit-5.0.912/database/sample.cpp
Examining data/bibledit-5.0.912/database/sample.h
Examining data/bibledit-5.0.912/database/sblgnt.cpp
Examining data/bibledit-5.0.912/database/sblgnt.h
Examining data/bibledit-5.0.912/database/sprint.cpp
Examining data/bibledit-5.0.912/database/sprint.h
Examining data/bibledit-5.0.912/database/sqlite.cpp
Examining data/bibledit-5.0.912/database/sqlite.h
Examining data/bibledit-5.0.912/database/state.cpp
Examining data/bibledit-5.0.912/database/state.h
Examining data/bibledit-5.0.912/database/statistics.cpp
Examining data/bibledit-5.0.912/database/statistics.h
Examining data/bibledit-5.0.912/database/strong.cpp
Examining data/bibledit-5.0.912/database/strong.h
Examining data/bibledit-5.0.912/database/styles.cpp
Examining data/bibledit-5.0.912/database/styles.h
Examining data/bibledit-5.0.912/database/stylesdata.h
Examining data/bibledit-5.0.912/database/userresources.cpp
Examining data/bibledit-5.0.912/database/userresources.h
Examining data/bibledit-5.0.912/database/users.cpp
Examining data/bibledit-5.0.912/database/users.h
Examining data/bibledit-5.0.912/database/usfmresources.cpp
Examining data/bibledit-5.0.912/database/usfmresources.h
Examining data/bibledit-5.0.912/database/versifications.cpp
Examining data/bibledit-5.0.912/database/versifications.h
Examining data/bibledit-5.0.912/database/volatile.cpp
Examining data/bibledit-5.0.912/database/volatile.h
Examining data/bibledit-5.0.912/demo/logic.cpp
Examining data/bibledit-5.0.912/demo/logic.h
Examining data/bibledit-5.0.912/developer/index.cpp
Examining data/bibledit-5.0.912/developer/index.h
Examining data/bibledit-5.0.912/developer/logic.cpp
Examining data/bibledit-5.0.912/developer/logic.h
Examining data/bibledit-5.0.912/dialog/books.cpp
Examining data/bibledit-5.0.912/dialog/books.h
Examining data/bibledit-5.0.912/dialog/color.cpp
Examining data/bibledit-5.0.912/dialog/color.h
Examining data/bibledit-5.0.912/dialog/entry.cpp
Examining data/bibledit-5.0.912/dialog/entry.h
Examining data/bibledit-5.0.912/dialog/list.cpp
Examining data/bibledit-5.0.912/dialog/list.h
Examining data/bibledit-5.0.912/dialog/upload.cpp
Examining data/bibledit-5.0.912/dialog/upload.h
Examining data/bibledit-5.0.912/dialog/yes.cpp
Examining data/bibledit-5.0.912/dialog/yes.h
Examining data/bibledit-5.0.912/dtl/Diff.hpp
Examining data/bibledit-5.0.912/dtl/Diff3.hpp
Examining data/bibledit-5.0.912/dtl/Lcs.hpp
Examining data/bibledit-5.0.912/dtl/Sequence.hpp
Examining data/bibledit-5.0.912/dtl/Ses.hpp
Examining data/bibledit-5.0.912/dtl/dtl.hpp
Examining data/bibledit-5.0.912/dtl/functors.hpp
Examining data/bibledit-5.0.912/dtl/variables.hpp
Examining data/bibledit-5.0.912/edit/edit.cpp
Examining data/bibledit-5.0.912/edit/edit.h
Examining data/bibledit-5.0.912/edit/id.cpp
Examining data/bibledit-5.0.912/edit/id.h
Examining data/bibledit-5.0.912/edit/index.cpp
Examining data/bibledit-5.0.912/edit/index.h
Examining data/bibledit-5.0.912/edit/load.cpp
Examining data/bibledit-5.0.912/edit/load.h
Examining data/bibledit-5.0.912/edit/logic.cpp
Examining data/bibledit-5.0.912/edit/logic.h
Examining data/bibledit-5.0.912/edit/navigate.cpp
Examining data/bibledit-5.0.912/edit/navigate.h
Examining data/bibledit-5.0.912/edit/position.cpp
Examining data/bibledit-5.0.912/edit/position.h
Examining data/bibledit-5.0.912/edit/preview.cpp
Examining data/bibledit-5.0.912/edit/preview.h
Examining data/bibledit-5.0.912/edit/save.cpp
Examining data/bibledit-5.0.912/edit/save.h
Examining data/bibledit-5.0.912/edit/styles.cpp
Examining data/bibledit-5.0.912/edit/styles.h
Examining data/bibledit-5.0.912/editone/index.cpp
Examining data/bibledit-5.0.912/editone/index.h
Examining data/bibledit-5.0.912/editone/load.cpp
Examining data/bibledit-5.0.912/editone/load.h
Examining data/bibledit-5.0.912/editone/logic.cpp
Examining data/bibledit-5.0.912/editone/logic.h
Examining data/bibledit-5.0.912/editone/save.cpp
Examining data/bibledit-5.0.912/editone/save.h
Examining data/bibledit-5.0.912/editone/verse.cpp
Examining data/bibledit-5.0.912/editone/verse.h
Examining data/bibledit-5.0.912/editor/html2usfm.cpp
Examining data/bibledit-5.0.912/editor/html2usfm.h
Examining data/bibledit-5.0.912/editor/select.cpp
Examining data/bibledit-5.0.912/editor/select.h
Examining data/bibledit-5.0.912/editor/styles.cpp
Examining data/bibledit-5.0.912/editor/styles.h
Examining data/bibledit-5.0.912/editor/usfm2html.cpp
Examining data/bibledit-5.0.912/editor/usfm2html.h
Examining data/bibledit-5.0.912/editusfm/focus.cpp
Examining data/bibledit-5.0.912/editusfm/focus.h
Examining data/bibledit-5.0.912/editusfm/index.cpp
Examining data/bibledit-5.0.912/editusfm/index.h
Examining data/bibledit-5.0.912/editusfm/load.cpp
Examining data/bibledit-5.0.912/editusfm/load.h
Examining data/bibledit-5.0.912/editusfm/offset.cpp
Examining data/bibledit-5.0.912/editusfm/offset.h
Examining data/bibledit-5.0.912/editusfm/save.cpp
Examining data/bibledit-5.0.912/editusfm/save.h
Examining data/bibledit-5.0.912/email/index.cpp
Examining data/bibledit-5.0.912/email/index.h
Examining data/bibledit-5.0.912/email/receive.cpp
Examining data/bibledit-5.0.912/email/receive.h
Examining data/bibledit-5.0.912/email/send.cpp
Examining data/bibledit-5.0.912/email/send.h
Examining data/bibledit-5.0.912/esword/text.cpp
Examining data/bibledit-5.0.912/esword/text.h
Examining data/bibledit-5.0.912/executable/bibledit.cpp
Examining data/bibledit-5.0.912/executable/bibledit.h
Examining data/bibledit-5.0.912/executable/generate.cpp
Examining data/bibledit-5.0.912/executable/generate.h
Examining data/bibledit-5.0.912/export/bibledropbox.cpp
Examining data/bibledit-5.0.912/export/bibledropbox.h
Examining data/bibledit-5.0.912/export/esword.cpp
Examining data/bibledit-5.0.912/export/esword.h
Examining data/bibledit-5.0.912/export/html.cpp
Examining data/bibledit-5.0.912/export/html.h
Examining data/bibledit-5.0.912/export/index.cpp
Examining data/bibledit-5.0.912/export/index.h
Examining data/bibledit-5.0.912/export/info.cpp
Examining data/bibledit-5.0.912/export/info.h
Examining data/bibledit-5.0.912/export/logic.cpp
Examining data/bibledit-5.0.912/export/logic.h
Examining data/bibledit-5.0.912/export/odt.cpp
Examining data/bibledit-5.0.912/export/odt.h
Examining data/bibledit-5.0.912/export/onlinebible.cpp
Examining data/bibledit-5.0.912/export/onlinebible.h
Examining data/bibledit-5.0.912/export/textusfm.cpp
Examining data/bibledit-5.0.912/export/textusfm.h
Examining data/bibledit-5.0.912/export/usfm.cpp
Examining data/bibledit-5.0.912/export/usfm.h
Examining data/bibledit-5.0.912/export/web.cpp
Examining data/bibledit-5.0.912/export/web.h
Examining data/bibledit-5.0.912/filter/UriCodec.cpp
Examining data/bibledit-5.0.912/filter/archive.cpp
Examining data/bibledit-5.0.912/filter/archive.h
Examining data/bibledit-5.0.912/filter/css.cpp
Examining data/bibledit-5.0.912/filter/css.h
Examining data/bibledit-5.0.912/filter/date.cpp
Examining data/bibledit-5.0.912/filter/date.h
Examining data/bibledit-5.0.912/filter/diff.cpp
Examining data/bibledit-5.0.912/filter/diff.h
Examining data/bibledit-5.0.912/filter/git.cpp
Examining data/bibledit-5.0.912/filter/git.h
Examining data/bibledit-5.0.912/filter/html.cpp
Examining data/bibledit-5.0.912/filter/html.h
Examining data/bibledit-5.0.912/filter/mail.cpp
Examining data/bibledit-5.0.912/filter/mail.h
Examining data/bibledit-5.0.912/filter/md5.cpp
Examining data/bibledit-5.0.912/filter/md5.h
Examining data/bibledit-5.0.912/filter/memory.cpp
Examining data/bibledit-5.0.912/filter/memory.h
Examining data/bibledit-5.0.912/filter/merge.cpp
Examining data/bibledit-5.0.912/filter/merge.h
Examining data/bibledit-5.0.912/filter/passage.cpp
Examining data/bibledit-5.0.912/filter/passage.h
Examining data/bibledit-5.0.912/filter/roles.cpp
Examining data/bibledit-5.0.912/filter/roles.h
Examining data/bibledit-5.0.912/filter/shell.cpp
Examining data/bibledit-5.0.912/filter/shell.h
Examining data/bibledit-5.0.912/filter/string.cpp
Examining data/bibledit-5.0.912/filter/string.h
Examining data/bibledit-5.0.912/filter/string.hpp
Examining data/bibledit-5.0.912/filter/text.cpp
Examining data/bibledit-5.0.912/filter/text.h
Examining data/bibledit-5.0.912/filter/url.cpp
Examining data/bibledit-5.0.912/filter/url.h
Examining data/bibledit-5.0.912/filter/usfm.cpp
Examining data/bibledit-5.0.912/filter/usfm.h
Examining data/bibledit-5.0.912/filter/webview.cpp
Examining data/bibledit-5.0.912/filter/webview.h
Examining data/bibledit-5.0.912/flate/flate.cpp
Examining data/bibledit-5.0.912/flate/flate.h
Examining data/bibledit-5.0.912/fonts/logic.cpp
Examining data/bibledit-5.0.912/fonts/logic.h
Examining data/bibledit-5.0.912/help/index.cpp
Examining data/bibledit-5.0.912/help/index.h
Examining data/bibledit-5.0.912/html/header.cpp
Examining data/bibledit-5.0.912/html/header.h
Examining data/bibledit-5.0.912/html/text.cpp
Examining data/bibledit-5.0.912/html/text.h
Examining data/bibledit-5.0.912/i18n/i18n.cpp
Examining data/bibledit-5.0.912/index/index.cpp
Examining data/bibledit-5.0.912/index/index.h
Examining data/bibledit-5.0.912/index/listing.cpp
Examining data/bibledit-5.0.912/index/listing.h
Examining data/bibledit-5.0.912/ipc/focus.cpp
Examining data/bibledit-5.0.912/ipc/focus.h
Examining data/bibledit-5.0.912/ipc/notes.cpp
Examining data/bibledit-5.0.912/ipc/notes.h
Examining data/bibledit-5.0.912/jobs/index.cpp
Examining data/bibledit-5.0.912/jobs/index.h
Examining data/bibledit-5.0.912/journal/index.cpp
Examining data/bibledit-5.0.912/journal/index.h
Examining data/bibledit-5.0.912/journal/logic.cpp
Examining data/bibledit-5.0.912/journal/logic.h
Examining data/bibledit-5.0.912/jsonxx/jsonxx.cpp
Examining data/bibledit-5.0.912/jsonxx/jsonxx.h
Examining data/bibledit-5.0.912/jsonxx/jsonxx_test.cc
Examining data/bibledit-5.0.912/ldap/logic.cpp
Examining data/bibledit-5.0.912/ldap/logic.h
Examining data/bibledit-5.0.912/lexicon/definition.cpp
Examining data/bibledit-5.0.912/lexicon/definition.h
Examining data/bibledit-5.0.912/lexicon/logic.cpp
Examining data/bibledit-5.0.912/lexicon/logic.h
Examining data/bibledit-5.0.912/library/bibledit.cpp
Examining data/bibledit-5.0.912/library/bibledit.h
Examining data/bibledit-5.0.912/library/locks.c
Examining data/bibledit-5.0.912/library/locks.h
Examining data/bibledit-5.0.912/locale/logic.cpp
Examining data/bibledit-5.0.912/locale/logic.h
Examining data/bibledit-5.0.912/locale/translate.cpp
Examining data/bibledit-5.0.912/locale/translate.h
Examining data/bibledit-5.0.912/manage/exports.cpp
Examining data/bibledit-5.0.912/manage/exports.h
Examining data/bibledit-5.0.912/manage/hyphenate.cpp
Examining data/bibledit-5.0.912/manage/hyphenate.h
Examining data/bibledit-5.0.912/manage/hyphenation.cpp
Examining data/bibledit-5.0.912/manage/hyphenation.h
Examining data/bibledit-5.0.912/manage/index.cpp
Examining data/bibledit-5.0.912/manage/index.h
Examining data/bibledit-5.0.912/manage/privileges.cpp
Examining data/bibledit-5.0.912/manage/privileges.h
Examining data/bibledit-5.0.912/manage/users.cpp
Examining data/bibledit-5.0.912/manage/users.h
Examining data/bibledit-5.0.912/manage/write.cpp
Examining data/bibledit-5.0.912/manage/write.h
Examining data/bibledit-5.0.912/mapping/index.cpp
Examining data/bibledit-5.0.912/mapping/index.h
Examining data/bibledit-5.0.912/mapping/map.cpp
Examining data/bibledit-5.0.912/mapping/map.h
Examining data/bibledit-5.0.912/menu/index.cpp
Examining data/bibledit-5.0.912/menu/index.h
Examining data/bibledit-5.0.912/menu/logic.cpp
Examining data/bibledit-5.0.912/menu/logic.h
Examining data/bibledit-5.0.912/microtar/microtar.c
Examining data/bibledit-5.0.912/microtar/microtar.h
Examining data/bibledit-5.0.912/miniz/miniz.c
Examining data/bibledit-5.0.912/miniz/miniz.h
Examining data/bibledit-5.0.912/navigation/passage.cpp
Examining data/bibledit-5.0.912/navigation/passage.h
Examining data/bibledit-5.0.912/navigation/poll.cpp
Examining data/bibledit-5.0.912/navigation/poll.h
Examining data/bibledit-5.0.912/navigation/update.cpp
Examining data/bibledit-5.0.912/navigation/update.h
Examining data/bibledit-5.0.912/nmt/index.cpp
Examining data/bibledit-5.0.912/nmt/index.h
Examining data/bibledit-5.0.912/nmt/logic.cpp
Examining data/bibledit-5.0.912/nmt/logic.h
Examining data/bibledit-5.0.912/notes/actions.cpp
Examining data/bibledit-5.0.912/notes/actions.h
Examining data/bibledit-5.0.912/notes/assign-1.cpp
Examining data/bibledit-5.0.912/notes/assign-1.h
Examining data/bibledit-5.0.912/notes/assign-n.cpp
Examining data/bibledit-5.0.912/notes/assign-n.h
Examining data/bibledit-5.0.912/notes/bb-1.cpp
Examining data/bibledit-5.0.912/notes/bb-1.h
Examining data/bibledit-5.0.912/notes/bb-n.cpp
Examining data/bibledit-5.0.912/notes/bb-n.h
Examining data/bibledit-5.0.912/notes/bulk.cpp
Examining data/bibledit-5.0.912/notes/bulk.h
Examining data/bibledit-5.0.912/notes/click.cpp
Examining data/bibledit-5.0.912/notes/click.h
Examining data/bibledit-5.0.912/notes/comment.cpp
Examining data/bibledit-5.0.912/notes/comment.h
Examining data/bibledit-5.0.912/notes/create.cpp
Examining data/bibledit-5.0.912/notes/create.h
Examining data/bibledit-5.0.912/notes/edit.cpp
Examining data/bibledit-5.0.912/notes/edit.h
Examining data/bibledit-5.0.912/notes/index.cpp
Examining data/bibledit-5.0.912/notes/index.h
Examining data/bibledit-5.0.912/notes/logic.cpp
Examining data/bibledit-5.0.912/notes/logic.h
Examining data/bibledit-5.0.912/notes/note.cpp
Examining data/bibledit-5.0.912/notes/note.h
Examining data/bibledit-5.0.912/notes/notes.cpp
Examining data/bibledit-5.0.912/notes/notes.h
Examining data/bibledit-5.0.912/notes/poll.cpp
Examining data/bibledit-5.0.912/notes/poll.h
Examining data/bibledit-5.0.912/notes/select.cpp
Examining data/bibledit-5.0.912/notes/select.h
Examining data/bibledit-5.0.912/notes/severity-1.cpp
Examining data/bibledit-5.0.912/notes/severity-1.h
Examining data/bibledit-5.0.912/notes/severity-n.cpp
Examining data/bibledit-5.0.912/notes/severity-n.h
Examining data/bibledit-5.0.912/notes/status-1.cpp
Examining data/bibledit-5.0.912/notes/status-1.h
Examining data/bibledit-5.0.912/notes/status-n.cpp
Examining data/bibledit-5.0.912/notes/status-n.h
Examining data/bibledit-5.0.912/notes/summary.cpp
Examining data/bibledit-5.0.912/notes/summary.h
Examining data/bibledit-5.0.912/notes/unassign-n.cpp
Examining data/bibledit-5.0.912/notes/unassign-n.h
Examining data/bibledit-5.0.912/notes/verses.cpp
Examining data/bibledit-5.0.912/notes/verses.h
Examining data/bibledit-5.0.912/odf/text.cpp
Examining data/bibledit-5.0.912/odf/text.h
Examining data/bibledit-5.0.912/olb/text.cpp
Examining data/bibledit-5.0.912/olb/text.h
Examining data/bibledit-5.0.912/paratext/index.cpp
Examining data/bibledit-5.0.912/paratext/index.h
Examining data/bibledit-5.0.912/paratext/logic.cpp
Examining data/bibledit-5.0.912/paratext/logic.h
Examining data/bibledit-5.0.912/parsewebdata/ParseMultipartFormData.cpp
Examining data/bibledit-5.0.912/parsewebdata/ParseMultipartFormData.h
Examining data/bibledit-5.0.912/parsewebdata/ParseWebData.cpp
Examining data/bibledit-5.0.912/parsewebdata/ParseWebData.h
Examining data/bibledit-5.0.912/parsewebdata/ParseWebData_local.h
Examining data/bibledit-5.0.912/parsewebdata/exampleProgram.cpp
Examining data/bibledit-5.0.912/personalize/index.cpp
Examining data/bibledit-5.0.912/personalize/index.h
Examining data/bibledit-5.0.912/public/chapter.cpp
Examining data/bibledit-5.0.912/public/chapter.h
Examining data/bibledit-5.0.912/public/comment.cpp
Examining data/bibledit-5.0.912/public/comment.h
Examining data/bibledit-5.0.912/public/create.cpp
Examining data/bibledit-5.0.912/public/create.h
Examining data/bibledit-5.0.912/public/index.cpp
Examining data/bibledit-5.0.912/public/index.h
Examining data/bibledit-5.0.912/public/logic.cpp
Examining data/bibledit-5.0.912/public/logic.h
Examining data/bibledit-5.0.912/public/login.cpp
Examining data/bibledit-5.0.912/public/login.h
Examining data/bibledit-5.0.912/public/new.cpp
Examining data/bibledit-5.0.912/public/new.h
Examining data/bibledit-5.0.912/public/note.cpp
Examining data/bibledit-5.0.912/public/note.h
Examining data/bibledit-5.0.912/public/notes.cpp
Examining data/bibledit-5.0.912/public/notes.h
Examining data/bibledit-5.0.912/pugixml/pugiconfig.hpp
Examining data/bibledit-5.0.912/pugixml/pugixml.cpp
Examining data/bibledit-5.0.912/pugixml/pugixml.hpp
Examining data/bibledit-5.0.912/pugixml/utils.cpp
Examining data/bibledit-5.0.912/pugixml/utils.h
Examining data/bibledit-5.0.912/quill/logic.cpp
Examining data/bibledit-5.0.912/quill/logic.h
Examining data/bibledit-5.0.912/related/logic.cpp
Examining data/bibledit-5.0.912/related/logic.h
Examining data/bibledit-5.0.912/resource/bb2resource.cpp
Examining data/bibledit-5.0.912/resource/bb2resource.h
Examining data/bibledit-5.0.912/resource/bbgateway.cpp
Examining data/bibledit-5.0.912/resource/bbgateway.h
Examining data/bibledit-5.0.912/resource/cache.cpp
Examining data/bibledit-5.0.912/resource/cache.h
Examining data/bibledit-5.0.912/resource/convert2bible.cpp
Examining data/bibledit-5.0.912/resource/convert2bible.h
Examining data/bibledit-5.0.912/resource/convert2resource.cpp
Examining data/bibledit-5.0.912/resource/convert2resource.h
Examining data/bibledit-5.0.912/resource/download.cpp
Examining data/bibledit-5.0.912/resource/download.h
Examining data/bibledit-5.0.912/resource/external.cpp
Examining data/bibledit-5.0.912/resource/external.h
Examining data/bibledit-5.0.912/resource/get.cpp
Examining data/bibledit-5.0.912/resource/get.h
Examining data/bibledit-5.0.912/resource/image.cpp
Examining data/bibledit-5.0.912/resource/image.h
Examining data/bibledit-5.0.912/resource/imagefetch.cpp
Examining data/bibledit-5.0.912/resource/imagefetch.h
Examining data/bibledit-5.0.912/resource/images.cpp
Examining data/bibledit-5.0.912/resource/images.h
Examining data/bibledit-5.0.912/resource/img.cpp
Examining data/bibledit-5.0.912/resource/img.h
Examining data/bibledit-5.0.912/resource/index.cpp
Examining data/bibledit-5.0.912/resource/index.h
Examining data/bibledit-5.0.912/resource/logic.cpp
Examining data/bibledit-5.0.912/resource/logic.h
Examining data/bibledit-5.0.912/resource/manage.cpp
Examining data/bibledit-5.0.912/resource/manage.h
Examining data/bibledit-5.0.912/resource/organize.cpp
Examining data/bibledit-5.0.912/resource/organize.h
Examining data/bibledit-5.0.912/resource/print.cpp
Examining data/bibledit-5.0.912/resource/print.h
Examining data/bibledit-5.0.912/resource/select.cpp
Examining data/bibledit-5.0.912/resource/select.h
Examining data/bibledit-5.0.912/resource/studylight.cpp
Examining data/bibledit-5.0.912/resource/studylight.h
Examining data/bibledit-5.0.912/resource/sword.cpp
Examining data/bibledit-5.0.912/resource/sword.h
Examining data/bibledit-5.0.912/resource/unload.cpp
Examining data/bibledit-5.0.912/resource/unload.h
Examining data/bibledit-5.0.912/resource/user1edit.cpp
Examining data/bibledit-5.0.912/resource/user1edit.h
Examining data/bibledit-5.0.912/resource/user1view.cpp
Examining data/bibledit-5.0.912/resource/user1view.h
Examining data/bibledit-5.0.912/resource/user9edit.cpp
Examining data/bibledit-5.0.912/resource/user9edit.h
Examining data/bibledit-5.0.912/resource/user9view.cpp
Examining data/bibledit-5.0.912/resource/user9view.h
Examining data/bibledit-5.0.912/rss/feed.cpp
Examining data/bibledit-5.0.912/rss/feed.h
Examining data/bibledit-5.0.912/rss/logic.cpp
Examining data/bibledit-5.0.912/rss/logic.h
Examining data/bibledit-5.0.912/search/all.cpp
Examining data/bibledit-5.0.912/search/all.h
Examining data/bibledit-5.0.912/search/getids.cpp
Examining data/bibledit-5.0.912/search/getids.h
Examining data/bibledit-5.0.912/search/getids2.cpp
Examining data/bibledit-5.0.912/search/getids2.h
Examining data/bibledit-5.0.912/search/index.cpp
Examining data/bibledit-5.0.912/search/index.h
Examining data/bibledit-5.0.912/search/logic.cpp
Examining data/bibledit-5.0.912/search/logic.h
Examining data/bibledit-5.0.912/search/originals.cpp
Examining data/bibledit-5.0.912/search/originals.h
Examining data/bibledit-5.0.912/search/rebibles.cpp
Examining data/bibledit-5.0.912/search/rebibles.h
Examining data/bibledit-5.0.912/search/renotes.cpp
Examining data/bibledit-5.0.912/search/renotes.h
Examining data/bibledit-5.0.912/search/replace.cpp
Examining data/bibledit-5.0.912/search/replace.h
Examining data/bibledit-5.0.912/search/replace2.cpp
Examining data/bibledit-5.0.912/search/replace2.h
Examining data/bibledit-5.0.912/search/replacego.cpp
Examining data/bibledit-5.0.912/search/replacego.h
Examining data/bibledit-5.0.912/search/replacego2.cpp
Examining data/bibledit-5.0.912/search/replacego2.h
Examining data/bibledit-5.0.912/search/replacepre.cpp
Examining data/bibledit-5.0.912/search/replacepre.h
Examining data/bibledit-5.0.912/search/replacepre2.cpp
Examining data/bibledit-5.0.912/search/replacepre2.h
Examining data/bibledit-5.0.912/search/search2.cpp
Examining data/bibledit-5.0.912/search/search2.h
Examining data/bibledit-5.0.912/search/similar.cpp
Examining data/bibledit-5.0.912/search/similar.h
Examining data/bibledit-5.0.912/search/strong.cpp
Examining data/bibledit-5.0.912/search/strong.h
Examining data/bibledit-5.0.912/search/strongs.cpp
Examining data/bibledit-5.0.912/search/strongs.h
Examining data/bibledit-5.0.912/sendreceive/bibles.cpp
Examining data/bibledit-5.0.912/sendreceive/bibles.h
Examining data/bibledit-5.0.912/sendreceive/changes.cpp
Examining data/bibledit-5.0.912/sendreceive/changes.h
Examining data/bibledit-5.0.912/sendreceive/files.cpp
Examining data/bibledit-5.0.912/sendreceive/files.h
Examining data/bibledit-5.0.912/sendreceive/index.cpp
Examining data/bibledit-5.0.912/sendreceive/index.h
Examining data/bibledit-5.0.912/sendreceive/logic.cpp
Examining data/bibledit-5.0.912/sendreceive/logic.h
Examining data/bibledit-5.0.912/sendreceive/notes.cpp
Examining data/bibledit-5.0.912/sendreceive/notes.h
Examining data/bibledit-5.0.912/sendreceive/resources.cpp
Examining data/bibledit-5.0.912/sendreceive/resources.h
Examining data/bibledit-5.0.912/sendreceive/sendreceive.cpp
Examining data/bibledit-5.0.912/sendreceive/sendreceive.h
Examining data/bibledit-5.0.912/sendreceive/settings.cpp
Examining data/bibledit-5.0.912/sendreceive/settings.h
Examining data/bibledit-5.0.912/session/logic.cpp
Examining data/bibledit-5.0.912/session/logic.h
Examining data/bibledit-5.0.912/session/login.cpp
Examining data/bibledit-5.0.912/session/login.h
Examining data/bibledit-5.0.912/session/logout.cpp
Examining data/bibledit-5.0.912/session/logout.h
Examining data/bibledit-5.0.912/session/password.cpp
Examining data/bibledit-5.0.912/session/password.h
Examining data/bibledit-5.0.912/session/signup.cpp
Examining data/bibledit-5.0.912/session/signup.h
Examining data/bibledit-5.0.912/session/switch.cpp
Examining data/bibledit-5.0.912/session/switch.h
Examining data/bibledit-5.0.912/setup/index.cpp
Examining data/bibledit-5.0.912/setup/index.h
Examining data/bibledit-5.0.912/setup/logic.cpp
Examining data/bibledit-5.0.912/setup/logic.h
Examining data/bibledit-5.0.912/sources/etcbc4.cpp
Examining data/bibledit-5.0.912/sources/etcbc4.h
Examining data/bibledit-5.0.912/sources/hebrewlexicon.cpp
Examining data/bibledit-5.0.912/sources/hebrewlexicon.h
Examining data/bibledit-5.0.912/sources/kjv.cpp
Examining data/bibledit-5.0.912/sources/kjv.h
Examining data/bibledit-5.0.912/sources/morphgnt.cpp
Examining data/bibledit-5.0.912/sources/morphgnt.h
Examining data/bibledit-5.0.912/sources/morphhb.cpp
Examining data/bibledit-5.0.912/sources/morphhb.h
Examining data/bibledit-5.0.912/sources/oshb.cpp
Examining data/bibledit-5.0.912/sources/oshb.h
Examining data/bibledit-5.0.912/sources/sblgnt/greekstrong.cpp
Examining data/bibledit-5.0.912/sources/sblgnt/greekstrong.h
Examining data/bibledit-5.0.912/sources/styles.cpp
Examining data/bibledit-5.0.912/sources/styles.h
Examining data/bibledit-5.0.912/sprint/burndown.cpp
Examining data/bibledit-5.0.912/sprint/burndown.h
Examining data/bibledit-5.0.912/sprint/index.cpp
Examining data/bibledit-5.0.912/sprint/index.h
Examining data/bibledit-5.0.912/sqlite/shell.c
Examining data/bibledit-5.0.912/sqlite/sqlite3.c
Examining data/bibledit-5.0.912/sqlite/sqlite3.h
Examining data/bibledit-5.0.912/sqlite/sqlite3ext.h
Examining data/bibledit-5.0.912/statistics/statistics.cpp
Examining data/bibledit-5.0.912/statistics/statistics.h
Examining data/bibledit-5.0.912/styles/css.cpp
Examining data/bibledit-5.0.912/styles/css.h
Examining data/bibledit-5.0.912/styles/indexm.cpp
Examining data/bibledit-5.0.912/styles/indexm.h
Examining data/bibledit-5.0.912/styles/logic.cpp
Examining data/bibledit-5.0.912/styles/logic.h
Examining data/bibledit-5.0.912/styles/sheetm.cpp
Examining data/bibledit-5.0.912/styles/sheetm.h
Examining data/bibledit-5.0.912/styles/sheets.cpp
Examining data/bibledit-5.0.912/styles/sheets.h
Examining data/bibledit-5.0.912/styles/view.cpp
Examining data/bibledit-5.0.912/styles/view.h
Examining data/bibledit-5.0.912/sword/logic.cpp
Examining data/bibledit-5.0.912/sword/logic.h
Examining data/bibledit-5.0.912/sync/bibles.cpp
Examining data/bibledit-5.0.912/sync/bibles.h
Examining data/bibledit-5.0.912/sync/changes.cpp
Examining data/bibledit-5.0.912/sync/changes.h
Examining data/bibledit-5.0.912/sync/files.cpp
Examining data/bibledit-5.0.912/sync/files.h
Examining data/bibledit-5.0.912/sync/logic.cpp
Examining data/bibledit-5.0.912/sync/logic.h
Examining data/bibledit-5.0.912/sync/mail.cpp
Examining data/bibledit-5.0.912/sync/mail.h
Examining data/bibledit-5.0.912/sync/notes.cpp
Examining data/bibledit-5.0.912/sync/notes.h
Examining data/bibledit-5.0.912/sync/resources.cpp
Examining data/bibledit-5.0.912/sync/resources.h
Examining data/bibledit-5.0.912/sync/settings.cpp
Examining data/bibledit-5.0.912/sync/settings.h
Examining data/bibledit-5.0.912/sync/setup.cpp
Examining data/bibledit-5.0.912/sync/setup.h
Examining data/bibledit-5.0.912/sync/usfmresources.cpp
Examining data/bibledit-5.0.912/sync/usfmresources.h
Examining data/bibledit-5.0.912/system/index.cpp
Examining data/bibledit-5.0.912/system/index.h
Examining data/bibledit-5.0.912/system/logic.cpp
Examining data/bibledit-5.0.912/system/logic.h
Examining data/bibledit-5.0.912/tasks/logic.cpp
Examining data/bibledit-5.0.912/tasks/logic.h
Examining data/bibledit-5.0.912/tasks/run.cpp
Examining data/bibledit-5.0.912/tasks/run.h
Examining data/bibledit-5.0.912/text/text.cpp
Examining data/bibledit-5.0.912/text/text.h
Examining data/bibledit-5.0.912/timer/index.cpp
Examining data/bibledit-5.0.912/timer/index.h
Examining data/bibledit-5.0.912/tmp/tmp.cpp
Examining data/bibledit-5.0.912/tmp/tmp.h
Examining data/bibledit-5.0.912/trash/handler.cpp
Examining data/bibledit-5.0.912/trash/handler.h
Examining data/bibledit-5.0.912/user/account.cpp
Examining data/bibledit-5.0.912/user/account.h
Examining data/bibledit-5.0.912/user/logic.cpp
Examining data/bibledit-5.0.912/user/logic.h
Examining data/bibledit-5.0.912/user/notifications.cpp
Examining data/bibledit-5.0.912/user/notifications.h
Examining data/bibledit-5.0.912/utf8/checked.h
Examining data/bibledit-5.0.912/utf8/core.h
Examining data/bibledit-5.0.912/utf8/unchecked.h
Examining data/bibledit-5.0.912/utf8/utf8.h
Examining data/bibledit-5.0.912/utf8proc/utf8proc.c
Examining data/bibledit-5.0.912/utf8proc/utf8proc.h
Examining data/bibledit-5.0.912/utf8proc/utf8proc_data.c
Examining data/bibledit-5.0.912/versification/index.cpp
Examining data/bibledit-5.0.912/versification/index.h
Examining data/bibledit-5.0.912/versification/logic.cpp
Examining data/bibledit-5.0.912/versification/logic.h
Examining data/bibledit-5.0.912/versification/system.cpp
Examining data/bibledit-5.0.912/versification/system.h
Examining data/bibledit-5.0.912/webbb/search.cpp
Examining data/bibledit-5.0.912/webbb/search.h
Examining data/bibledit-5.0.912/webserver/http.cpp
Examining data/bibledit-5.0.912/webserver/http.h
Examining data/bibledit-5.0.912/webserver/io.c
Examining data/bibledit-5.0.912/webserver/io.h
Examining data/bibledit-5.0.912/webserver/request.cpp
Examining data/bibledit-5.0.912/webserver/request.h
Examining data/bibledit-5.0.912/webserver/webserver.cpp
Examining data/bibledit-5.0.912/webserver/webserver.h
Examining data/bibledit-5.0.912/workspace/index.cpp
Examining data/bibledit-5.0.912/workspace/index.h
Examining data/bibledit-5.0.912/workspace/logic.cpp
Examining data/bibledit-5.0.912/workspace/logic.h
Examining data/bibledit-5.0.912/workspace/organize.cpp
Examining data/bibledit-5.0.912/workspace/organize.h
Examining data/bibledit-5.0.912/workspace/settings.cpp
Examining data/bibledit-5.0.912/workspace/settings.h

FINAL RESULTS:

data/bibledit-5.0.912/filter/url.cpp:408: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 (path.c_str (), S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IWGRP | S_IXGRP | S_IROTH | S_IWOTH | S_IXOTH);
data/bibledit-5.0.912/sqlite/shell.c:2128:11:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
#  ifndef chmod
data/bibledit-5.0.912/sqlite/shell.c:2129:13:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
#    define chmod _chmod
data/bibledit-5.0.912/sqlite/shell.c:2399:54:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
         || ((sStat.st_mode&0777)!=(mode&0777) && 0!=chmod(zFile, mode&0777))
data/bibledit-5.0.912/sqlite/shell.c:2419:28:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
      if( rc==0 && mode && chmod(zFile, mode & 0777) ){
data/bibledit-5.0.912/sqlite/shell.c:2792:15:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
          n = readlink(pCur->zPath, aBuf, nBuf);
data/bibledit-5.0.912/sqlite/sqlite3.c:33812:42:  [5] (race) readlink:
  This accepts filename arguments; if an attacker can move those files or
  change the link content, a race condition results. Also, it does not
  terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach.
  { "readlink",     (sqlite3_syscall_ptr)readlink,        0 },
data/bibledit-5.0.912/sword/logic.cpp:519:20:  [5] (race) chmod:
  This accepts filename arguments; if an attacker can move those files, a
  race condition results. (CWE-362). Use fchmod( ) instead.
  result = system (chmod.c_str ());
data/bibledit-5.0.912/database/versifications.cpp:187:15:  [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.
  for (auto & system : systems) {
data/bibledit-5.0.912/database/versifications.cpp:188:26:  [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.
    id = convert_to_int (system);
data/bibledit-5.0.912/demo/logic.cpp:323:3:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  system ("find . -path '*logbook/15*' -delete");
data/bibledit-5.0.912/demo/logic.cpp:324:3:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  system ("find . -name state.sqlite -delete");
data/bibledit-5.0.912/demo/logic.cpp:325:3:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  system ("find . -name 'Sample.*' -delete");
data/bibledit-5.0.912/executable/bibledit.cpp:370:16:  [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.
  int result = system (command.c_str ());
data/bibledit-5.0.912/filter/archive.cpp:59:16:  [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.
  return_var = system (command.c_str());
data/bibledit-5.0.912/filter/archive.cpp:137:16:  [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.
  return_var = system (command.c_str());
data/bibledit-5.0.912/filter/archive.cpp:147:18:  [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.
    int result = system (command.c_str ());
data/bibledit-5.0.912/filter/archive.cpp:262:16:  [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.
  return_var = system (command.c_str());
data/bibledit-5.0.912/filter/archive.cpp:288:16:  [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.
  return_var = system (command.c_str());
data/bibledit-5.0.912/filter/archive.cpp:316:16:  [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.
  return_var = system (command.c_str());
data/bibledit-5.0.912/filter/shell.cpp:70:16:  [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.
  int result = system (command.c_str());
data/bibledit-5.0.912/filter/shell.cpp:112: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 (command.c_str(), parameter, (char*)0);
data/bibledit-5.0.912/filter/shell.cpp:143:16:  [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.
  int result = system (command.c_str());
data/bibledit-5.0.912/filter/shell.cpp:158:18:  [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.
  int exitcode = system (command.c_str ());
data/bibledit-5.0.912/filter/shell.cpp:257: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 (command.c_str(), command.c_str(), p01, p02, p03, p04, p05, p06, p07, p08, p09, p10, p11, p12, p13, (char *) 0);
data/bibledit-5.0.912/filter/url.cpp:396:16:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  int result = access (path.c_str(), W_OK);
data/bibledit-5.0.912/ldap/logic.cpp:142:61:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
bool ldap_logic_fetch (string user, string password, bool & access, string & email, int & role, bool log)
data/bibledit-5.0.912/ldap/logic.h:30:61:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
bool ldap_logic_fetch (string user, string password, bool & access, string & email, int & role, bool log);
data/bibledit-5.0.912/menu/logic.cpp:652:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
    system
data/bibledit-5.0.912/menu/logic.cpp:837:18:  [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.
    if (label == system) {
data/bibledit-5.0.912/microtar/microtar.c:111: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(h->name, rh->name);
data/bibledit-5.0.912/microtar/microtar.c:112: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(h->linkname, rh->linkname);
data/bibledit-5.0.912/microtar/microtar.c:128: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(rh->name, h->name);
data/bibledit-5.0.912/microtar/microtar.c:129: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(rh->linkname, h->linkname);
data/bibledit-5.0.912/microtar/microtar.c:336: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(h.name, name);
data/bibledit-5.0.912/microtar/microtar.c:349: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(h.name, name);
data/bibledit-5.0.912/sources/oshb.cpp:45:3:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  system (command.c_str ());
data/bibledit-5.0.912/sqlite/shell.c:153:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
# ifndef access
data/bibledit-5.0.912/sqlite/shell.c:154:11:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
#  define access(f,m) _access((f),(m))
data/bibledit-5.0.912/sqlite/shell.c:162:9:  [4] (shell) popen:
  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.
# undef popen
data/bibledit-5.0.912/sqlite/shell.c:163:10:  [4] (shell) popen:
  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.
# define popen _popen
data/bibledit-5.0.912/sqlite/shell.c:173:17:  [4] (shell) popen:
  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.
   extern FILE *popen(const char*,const char*);
data/bibledit-5.0.912/sqlite/shell.c:447:5:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    vfprintf(out, zFormat, ap);
data/bibledit-5.0.912/sqlite/shell.c:452:22:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define utf8_printf fprintf
data/bibledit-5.0.912/sqlite/shell.c:460:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define raw_printf fprintf
data/bibledit-5.0.912/sqlite/shell.c:9843:8:  [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.
  rc = system(zCmd);
data/bibledit-5.0.912/sqlite/shell.c:13410:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  if( access(zNewDb,0)==0 ){
data/bibledit-5.0.912/sqlite/shell.c:13455:11:  [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.
      if( system(zCmd) ){
data/bibledit-5.0.912/sqlite/shell.c:16194:17:  [4] (shell) popen:
  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.
      sCtx.in = popen(sCtx.zFile+1, "r");
data/bibledit-5.0.912/sqlite/shell.c:16722:16:  [4] (shell) popen:
  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.
      p->out = popen(zFile + 1, "w");
data/bibledit-5.0.912/sqlite/shell.c:17604:9:  [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.
    x = system(zCmd);
data/bibledit-5.0.912/sqlite/shell.c:18929:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  if( access(data.zDbFilename, 0)==0 ){
data/bibledit-5.0.912/sqlite/sqlite3.c:33682:42:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  { "access",       (sqlite3_syscall_ptr)access,     0  },
data/bibledit-5.0.912/sqlite/sqlite3.c:51512:28:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define sqlite3DebugPrintf printf
data/bibledit-5.0.912/sqlite/sqlite3.c:64126:42:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define TRACE(X)  if(sqlite3BtreeTrace){printf X;fflush(stdout);}
data/bibledit-5.0.912/sqlite/sqlite3.c:79142:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf(pOut, zFormat1, pc, 
data/bibledit-5.0.912/sqlite/sqlite3.c:85313:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    printf(p->flags & MEM_Zero ? " NULL-nochng" : " NULL");
data/bibledit-5.0.912/sqlite/sqlite3.c:117603:14:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    FUNCTION(printf,            -1, 0, 0, printfFunc       ),
data/bibledit-5.0.912/sqlite/sqlite3.c:190409:35:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
# define GEODEBUG(X) if(geo_debug)printf X
data/bibledit-5.0.912/sword/logic.cpp:519:12:  [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.
  result = system (chmod.c_str ());
data/bibledit-5.0.912/versification/index.cpp:85:15:  [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.
  for (auto & system : systems) {
data/bibledit-5.0.912/paratext/logic.cpp:45: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 ((homedir = getenv("HOME")) == NULL) {
data/bibledit-5.0.912/sqlite/shell.c:319:28:  [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.
      HINSTANCE hinstLib = LoadLibrary(TEXT("Kernel32.dll"));
data/bibledit-5.0.912/sqlite/shell.c:9793:15:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    zEditor = getenv("VISUAL");
data/bibledit-5.0.912/sqlite/shell.c:18447: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.
    home_dir = getenv("USERPROFILE");
data/bibledit-5.0.912/sqlite/shell.c:18452: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.
    home_dir = getenv("HOME");
data/bibledit-5.0.912/sqlite/shell.c:18459: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.
    zDrive = getenv("HOMEDRIVE");
data/bibledit-5.0.912/sqlite/shell.c:18460:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    zPath = getenv("HOMEPATH");
data/bibledit-5.0.912/sqlite/shell.c:18691: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("SQLITE_DEBUG_BREAK") ){
data/bibledit-5.0.912/sqlite/shell.c:19136: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.
      zHistory = getenv("SQLITE_HISTORY");
data/bibledit-5.0.912/sqlite/sqlite3.c:26863:7:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
      InitializeCriticalSection(&winMutex_staticMutexes[i].mutex);
data/bibledit-5.0.912/sqlite/sqlite3.c:26957:9:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
        InitializeCriticalSection(&p->mutex);
data/bibledit-5.0.912/sqlite/sqlite3.c:27023:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&p->mutex);
data/bibledit-5.0.912/sqlite/sqlite3.c:36288: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.
    lk = random(); 
data/bibledit-5.0.912/sqlite/sqlite3.c:38975:32:  [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( !azDirs[0] ) azDirs[0] = getenv("SQLITE_TMPDIR");
data/bibledit-5.0.912/sqlite/sqlite3.c:38976:32:  [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( !azDirs[1] ) azDirs[1] = getenv("TMPDIR");
data/bibledit-5.0.912/sqlite/sqlite3.c:39441: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.
    char *envforce = getenv("SQLITE_FORCE_PROXY_LOCKING");
data/bibledit-5.0.912/sqlite/sqlite3.c:46175:34:  [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( !azDirs[0] ) azDirs[0] = getenv("SQLITE_TMPDIR");
data/bibledit-5.0.912/sqlite/sqlite3.c:46176:34:  [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( !azDirs[1] ) azDirs[1] = getenv("TMPDIR");
data/bibledit-5.0.912/sqlite/sqlite3.c:46177:34:  [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( !azDirs[2] ) azDirs[2] = getenv("TMP");
data/bibledit-5.0.912/sqlite/sqlite3.c:46178:34:  [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( !azDirs[3] ) azDirs[3] = getenv("TEMP");
data/bibledit-5.0.912/sqlite/sqlite3.c:46179:34:  [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( !azDirs[4] ) azDirs[4] = getenv("USERPROFILE");
data/bibledit-5.0.912/sqlite/sqlite3.c:117615:15:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
    VFUNCTION(random,            0, 0, 0, randomFunc       ),
data/bibledit-5.0.912/sword/logic.cpp:57:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char * home = getenv ("HOME");
data/bibledit-5.0.912/email/receive.cpp:107:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(s->ptr+s->len, ptr, size*nmemb);
data/bibledit-5.0.912/email/send.cpp:149: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(ptr, data, len);
data/bibledit-5.0.912/filter/UriCodec.cpp:24:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char HEX2DEC[256] =
data/bibledit-5.0.912/filter/UriCodec.cpp:49:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const unsigned char HEX2DEC[256] =
data/bibledit-5.0.912/filter/UriCodec.cpp:114:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char SAFE[256] =
data/bibledit-5.0.912/filter/UriCodec.cpp:140:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char DEC2HEX[16 + 1] = "0123456789ABCDEF";
data/bibledit-5.0.912/filter/md5.cpp:26:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char md5sum[16];
data/bibledit-5.0.912/filter/md5.cpp:32: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 hexits [32+1];
data/bibledit-5.0.912/filter/md5.cpp:35:32:  [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.
  for (int i = 0; i < 16; i++) sprintf (&hexits[i*2], "%02x", (unsigned int)md5sum[i]);
data/bibledit-5.0.912/filter/shell.cpp:102: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).
  int fd = open (path.c_str (), O_WRONLY|O_CREAT, 0666);
data/bibledit-5.0.912/filter/shell.cpp:238: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).
  int fd = open (path.c_str (), O_WRONLY|O_CREAT, 0666);
data/bibledit-5.0.912/filter/shell.cpp:243: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.
  pid_t pid = vfork();
data/bibledit-5.0.912/filter/string.cpp:185: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).
  int i = atoi (s.c_str());
data/bibledit-5.0.912/filter/string.cpp:1323: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 c[5]={ 0x00,0x00,0x00,0x00,0x00 };
data/bibledit-5.0.912/filter/url.cpp:444: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).
    file.open(wfilename, ios::binary | ios::trunc);
data/bibledit-5.0.912/filter/url.cpp:446: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).
    file.open(filename, ios::binary | ios::trunc);
data/bibledit-5.0.912/filter/url.cpp:463: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).
    file.open (wfilename, ios::binary | ios::app);
data/bibledit-5.0.912/filter/url.cpp:465: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).
    file.open (filename, ios::binary | ios::app);
data/bibledit-5.0.912/filter/url.cpp:917:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* file = fopen (filename.c_str(), "w");
data/bibledit-5.0.912/filter/url.cpp:1322:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char vrfy_buf [512];
data/bibledit-5.0.912/filter/url.cpp:1421:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      file = fopen (filename.c_str (), "w");
data/bibledit-5.0.912/filter/url.cpp:1428:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char buffer [1];
data/bibledit-5.0.912/filter/url.cpp:1572:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char error_buf [100];
data/bibledit-5.0.912/i18n/i18n.cpp:62: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).
  file.open(filename, ios::binary | ios::trunc);
data/bibledit-5.0.912/ipc/notes.cpp:30: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).
void Ipc_Notes::open (void * webserver_request, int identifier)
data/bibledit-5.0.912/ipc/notes.h:30: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).
  static void open (void * webserver_request, int identifier);
data/bibledit-5.0.912/microtar/microtar.c:31:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[100];
data/bibledit-5.0.912/microtar/microtar.c:32: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 mode[8];
data/bibledit-5.0.912/microtar/microtar.c:33: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 owner[8];
data/bibledit-5.0.912/microtar/microtar.c:34:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char group[8];
data/bibledit-5.0.912/microtar/microtar.c:35:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char size[12];
data/bibledit-5.0.912/microtar/microtar.c:36: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 mtime[12];
data/bibledit-5.0.912/microtar/microtar.c:37:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char checksum[8];
data/bibledit-5.0.912/microtar/microtar.c:39:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char linkname[100];
data/bibledit-5.0.912/microtar/microtar.c:40:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char _padding[255];
data/bibledit-5.0.912/microtar/microtar.c:123: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(rh->mode, "%o", h->mode);
data/bibledit-5.0.912/microtar/microtar.c:124: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(rh->owner, "%o", h->owner);
data/bibledit-5.0.912/microtar/microtar.c:125: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(rh->size, "%o", h->size);
data/bibledit-5.0.912/microtar/microtar.c:126: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(rh->mtime, "%o", h->mtime);
data/bibledit-5.0.912/microtar/microtar.c:133: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(rh->checksum, "%06o", chksum);
data/bibledit-5.0.912/microtar/microtar.c:193:17:  [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).
  tar->stream = fopen(filename, mode);
data/bibledit-5.0.912/microtar/microtar.h:59:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char name[100];
data/bibledit-5.0.912/microtar/microtar.h:60: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 linkname[100];
data/bibledit-5.0.912/miniz/miniz.c:29: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 mz_validate_uint16[sizeof(mz_uint16) == 2 ? 1 : -1];
data/bibledit-5.0.912/miniz/miniz.c:30: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 mz_validate_uint32[sizeof(mz_uint32) == 4 ? 1 : -1];
data/bibledit-5.0.912/miniz/miniz.c:31: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 mz_validate_uint64[sizeof(mz_uint64) == 8 ? 1 : -1];
data/bibledit-5.0.912/miniz/miniz.c:460:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pStream->next_out, pState->m_dict + pState->m_dict_ofs, n);
data/bibledit-5.0.912/miniz/miniz.c:485:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pStream->next_out, pState->m_dict + pState->m_dict_ofs, n);
data/bibledit-5.0.912/miniz/miniz.c:962: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(code_sizes_to_pack, &d->m_huff_code_sizes[0][0], num_lit_codes);
data/bibledit-5.0.912/miniz/miniz.c:963: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(code_sizes_to_pack + num_lit_codes, &d->m_huff_code_sizes[1][0], num_dist_codes);
data/bibledit-5.0.912/miniz/miniz.c:1325:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy((mz_uint8 *)d->m_pOut_buf + d->m_out_buf_ofs, d->m_output_buf, bytes_to_copy);
data/bibledit-5.0.912/miniz/miniz.c:1461:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(d->m_dict + dst_pos, d->m_pSrc, n);
data/bibledit-5.0.912/miniz/miniz.c:1463:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(d->m_dict + TDEFL_LZ_DICT_SIZE + dst_pos, d->m_pSrc, MZ_MIN(n, (TDEFL_MAX_MATCH_LEN - 1) - dst_pos));
data/bibledit-5.0.912/miniz/miniz.c:1811:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy((mz_uint8 *)d->m_pOut_buf + d->m_out_buf_ofs, d->m_output_buf + d->m_output_flush_ofs, n);
data/bibledit-5.0.912/miniz/miniz.c:1981: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((mz_uint8 *)p->m_pBuf + p->m_size, pBuf, len);
data/bibledit-5.0.912/miniz/miniz.c:2105:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(out_buf.m_pBuf, pnghdr, 41);
data/bibledit-5.0.912/miniz/miniz.c:2183:31:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define TINFL_MEMCPY(d, s, l) memcpy(d, s, l)
data/bibledit-5.0.912/miniz/miniz.c:2956:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define MZ_FOPEN(f, m) fopen(f, m)
data/bibledit-5.0.912/miniz/miniz.c:2971:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define MZ_FOPEN(f, m) fopen(f, m)
data/bibledit-5.0.912/miniz/miniz.c:3001:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define MZ_FOPEN(f, m) fopen(f, m)
data/bibledit-5.0.912/miniz/miniz.c:3021:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define MZ_FOPEN(f, m) fopen(f, m)
data/bibledit-5.0.912/miniz/miniz.c:3239: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((mz_uint8 *)pArray->m_p + orig_size * pArray->m_element_size, pElements, n * pArray->m_element_size);
data/bibledit-5.0.912/miniz/miniz.c:3782: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(pBuf, (const mz_uint8 *)pZip->m_pState->m_pMem + file_ofs, s);
data/bibledit-5.0.912/miniz/miniz.c:4054: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(pStat->m_filename, p + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE, n);
data/bibledit-5.0.912/miniz/miniz.c:4060: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(pStat->m_comment, p + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + MZ_READ_LE16(p + MZ_ZIP_CDH_FILENAME_LEN_OFS) + MZ_READ_LE16(p + MZ_ZIP_CDH_EXTRA_LEN_OFS), n);
data/bibledit-5.0.912/miniz/miniz.c:5191: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((mz_uint8 *)pState->m_pMem + file_ofs, pBuf, n);
data/bibledit-5.0.912/miniz/miniz.c:5378:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buf[4096];
data/bibledit-5.0.912/miniz/miniz.c:5683: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 buf[4096];
data/bibledit-5.0.912/miniz/miniz.c:6665:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(new_central_header, pSrc_central_header, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE);
data/bibledit-5.0.912/miniz/miniz.c:7215:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pFilename, p + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE, n);
data/bibledit-5.0.912/miniz/miniz.h:979: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 m_filename[MZ_ZIP_MAX_ARCHIVE_FILENAME_SIZE];
data/bibledit-5.0.912/miniz/miniz.h:983: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 m_comment[MZ_ZIP_MAX_ARCHIVE_FILE_COMMENT_SIZE];
data/bibledit-5.0.912/notes/click.cpp:62:37:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    open = filter_url_basename_web (open);
data/bibledit-5.0.912/notes/click.cpp:63:33:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    int iopen = convert_to_int (open);
data/bibledit-5.0.912/notes/click.cpp:65: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).
      Ipc_Notes::open (request, iopen);
data/bibledit-5.0.912/notes/click.cpp:85: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).
    Ipc_Notes::open (request, identifier);
data/bibledit-5.0.912/paratext/logic.cpp:117:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer [128];
data/bibledit-5.0.912/pugixml/pugixml.cpp:119:50:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
#define PUGI__STATIC_ASSERT(cond) { static const char condition_failed[(cond) ? 1 : -1] = {0}; (void)condition_failed[0]; }
data/bibledit-5.0.912/pugixml/pugixml.cpp:130:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
using std::memcpy;
data/bibledit-5.0.912/pugixml/pugixml.cpp:1844:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static const unsigned char chartype_table[256] =
data/bibledit-5.0.912/pugixml/pugixml.cpp:1874:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static const unsigned char chartypex_table[256] =
data/bibledit-5.0.912/pugixml/pugixml.cpp:1986: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(buffer, contents, length * sizeof(char_t));
data/bibledit-5.0.912/pugixml/pugixml.cpp:2162:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(buffer, data, prefix_length);
data/bibledit-5.0.912/pugixml/pugixml.cpp:2305: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(dest, source, source_length * sizeof(char_t));
data/bibledit-5.0.912/pugixml/pugixml.cpp:2321: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(buf, source, source_length * sizeof(char_t));
data/bibledit-5.0.912/pugixml/pugixml.cpp:3690: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 + bufsize, data, length * sizeof(char_t));
data/bibledit-5.0.912/pugixml/pugixml.cpp:3700: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(buffer + offset, data, length * sizeof(char_t));
data/bibledit-5.0.912/pugixml/pugixml.cpp:4547:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[128];
data/bibledit-5.0.912/pugixml/pugixml.cpp:4548:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "%.9g", value);
data/bibledit-5.0.912/pugixml/pugixml.cpp:4556:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[128];
data/bibledit-5.0.912/pugixml/pugixml.cpp:4557:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(buf, "%.17g", value);
data/bibledit-5.0.912/pugixml/pugixml.cpp:4791: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(write, chunk->data, chunk->size);
data/bibledit-5.0.912/pugixml/pugixml.cpp:4900: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 mode_ascii[4] = {0};
data/bibledit-5.0.912/pugixml/pugixml.cpp:4904:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
		FILE* result = fopen(path_utf8, mode_ascii);
data/bibledit-5.0.912/pugixml/pugixml.cpp:6025: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(&result[offset], j->name, length * sizeof(char_t));
data/bibledit-5.0.912/pugixml/pugixml.cpp:6818:42:  [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).
		auto_deleter<FILE, int(*)(FILE*)> file(fopen(path_, "rb"), fclose);
data/bibledit-5.0.912/pugixml/pugixml.cpp:6901:42:  [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).
		auto_deleter<FILE, int(*)(FILE*)> file(fopen(path_, (flags & format_save_file_text) ? "w" : "wb"), fclose);
data/bibledit-5.0.912/pugixml/pugixml.cpp:7257: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 data[xpath_memory_page_size];
data/bibledit-5.0.912/pugixml/pugixml.cpp:7352: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(result, ptr, old_size);
data/bibledit-5.0.912/pugixml/pugixml.cpp:7475: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(result, string, length * sizeof(char_t));
data/bibledit-5.0.912/pugixml/pugixml.cpp:7533:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
				if (!_uses_heap) memcpy(result, _buffer, target_length * sizeof(char_t));
data/bibledit-5.0.912/pugixml/pugixml.cpp:7536: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(result + target_length, o._buffer, source_length * sizeof(char_t));
data/bibledit-5.0.912/pugixml/pugixml.cpp:7937: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(buffer, "%.*e", DBL_DIG, value);
data/bibledit-5.0.912/pugixml/pugixml.cpp:7945:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		int exponent = atoi(exponent_string + 1);
data/bibledit-5.0.912/pugixml/pugixml.cpp:7972: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 mantissa_buffer[32];
data/bibledit-5.0.912/pugixml/pugixml.cpp:8088: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(scratch, begin, length * sizeof(char_t));
data/bibledit-5.0.912/pugixml/pugixml.cpp:8243:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		unsigned char table[128] = {0};
data/bibledit-5.0.912/pugixml/pugixml.cpp:8269: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(result, table, sizeof(table));
data/bibledit-5.0.912/pugixml/pugixml.cpp:8387:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(result->name, name, (length + 1) * sizeof(char_t));
data/bibledit-5.0.912/pugixml/pugixml.cpp:8479: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(scratch, begin, length * sizeof(char_t));
data/bibledit-5.0.912/pugixml/pugixml.cpp:8621: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(_end, begin_, count * sizeof(xpath_node));
data/bibledit-5.0.912/pugixml/pugixml.cpp:10824: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(c, value.begin, length * sizeof(char_t));
data/bibledit-5.0.912/pugixml/pugixml.cpp:11779: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(storage, begin_, size_ * sizeof(xpath_node));
data/bibledit-5.0.912/pugixml/pugixml.cpp:11988:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
		memcpy(copy, value, size);
data/bibledit-5.0.912/pugixml/pugixml.cpp:12312: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, r.c_str(), (size - 1) * sizeof(char_t));
data/bibledit-5.0.912/pugixml/pugixml.hpp:967: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 _memory[192];
data/bibledit-5.0.912/session/logic.cpp:73:3:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  open ();
data/bibledit-5.0.912/session/logic.cpp:78:21:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
void Session_Logic::open ()
data/bibledit-5.0.912/session/logic.cpp:181:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    open ();
data/bibledit-5.0.912/session/logic.h:50: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).
  void open ();
data/bibledit-5.0.912/sources/sblgnt/greekstrong.cpp:69: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 c[5]={ 0x00,0x00,0x00,0x00,0x00 };
data/bibledit-5.0.912/sources/sblgnt/greekstrong.cpp:142:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
          int n = atoi (id.c_str());
data/bibledit-5.0.912/sqlite/shell.c:428: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 mainPrompt[20];     /* First line prompt. default: "sqlite> "*/
data/bibledit-5.0.912/sqlite/shell.c:429: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 continuePrompt[20]; /* Continuation prompt. default: "   ...> " */
data/bibledit-5.0.912/sqlite/shell.c:505: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 zBuf[1000];
data/bibledit-5.0.912/sqlite/shell.c:621: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(zLine, zTrans, nTrans);
data/bibledit-5.0.912/sqlite/shell.c:780:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->z+p->n, zAppend, nAppend);
data/bibledit-5.0.912/sqlite/shell.c:1069: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 d_name[NAME_MAX + 1]; /* Name within the directory. */
data/bibledit-5.0.912/sqlite/shell.c:1141:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char value[32768]; /* Maximum length, per MSDN */
data/bibledit-5.0.912/sqlite/shell.c:1380:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    unsigned char x[1600];    /* ... or 1600 bytes */
data/bibledit-5.0.912/sqlite/shell.c:1848: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 zBuf[50];
data/bibledit-5.0.912/sqlite/shell.c:1951:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char x[9];
data/bibledit-5.0.912/sqlite/shell.c:1953:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&u, &v, 8);
data/bibledit-5.0.912/sqlite/shell.c:1965:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char x[9];
data/bibledit-5.0.912/sqlite/shell.c:1967:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&u, &r, 8);
data/bibledit-5.0.912/sqlite/shell.c:2172: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).
  in = fopen(zName, "rb");
data/bibledit-5.0.912/sqlite/shell.c:2408:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      FILE *out = fopen(zFile, "wb");
data/bibledit-5.0.912/sqlite/shell.c:2544: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 z[16];
data/bibledit-5.0.912/sqlite/shell.c:2786:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char aStatic[64];
data/bibledit-5.0.912/sqlite/shell.c:3747:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char a[APND_MARK_SIZE];
data/bibledit-5.0.912/sqlite/shell.c:3748: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(a, APND_MARK_PREFIX, APND_MARK_PREFIX_SZ);
data/bibledit-5.0.912/sqlite/shell.c:3928: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 zHdr[16];
data/bibledit-5.0.912/sqlite/shell.c:3944:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char a[APND_MARK_SIZE];
data/bibledit-5.0.912/sqlite/shell.c:4585: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(pNew->zFile, zFile, nFile);
data/bibledit-5.0.912/sqlite/shell.c:5060: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(pNew->aExtra, &aRead[nFile], nExtra);
data/bibledit-5.0.912/sqlite/shell.c:5083:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pNew->aData, &aBlob[pNew->iDataOff], pNew->cds.szCompressed);
data/bibledit-5.0.912/sqlite/shell.c:5485:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    pCsr->pFile = fopen(zFile, "rb");
data/bibledit-5.0.912/sqlite/shell.c:5575: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(a, pCds->zFile, (int)pCds->nFile);
data/bibledit-5.0.912/sqlite/shell.c:5620: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.
    const char zTemplate[11] = "-rwxrwxrwx";
data/bibledit-5.0.912/sqlite/shell.c:5674:20:  [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).
  pTab->pWriteFd = fopen(pTab->zFile, "ab+");
data/bibledit-5.0.912/sqlite/shell.c:5984: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(a, pCDS->zFile, pCDS->nFile);
data/bibledit-5.0.912/sqlite/shell.c:5989: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(a, pEntry->aExtra, n);
data/bibledit-5.0.912/sqlite/shell.c:6294:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->body.a[p->body.n], aData, nData);
data/bibledit-5.0.912/sqlite/shell.c:6342: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(aZip, p->body.a, p->body.n);
data/bibledit-5.0.912/sqlite/shell.c:6343: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(&aZip[p->body.n], p->cds.a, p->cds.n);
data/bibledit-5.0.912/sqlite/shell.c:6938: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(pEntry->zKey, zKey, nKey);
data/bibledit-5.0.912/sqlite/shell.c:6941: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(pEntry->zVal, zVal, nVal);
data/bibledit-5.0.912/sqlite/shell.c:6994: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(pNew->zColl, zColl, nColl+1);
data/bibledit-5.0.912/sqlite/shell.c:7424: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(pCsr, zCol, nCopy);
data/bibledit-5.0.912/sqlite/shell.c:7433: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(pCsr, zCol, nCopy);
data/bibledit-5.0.912/sqlite/shell.c:7446: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(pNew->zName, zTab, nTab+1);
data/bibledit-5.0.912/sqlite/shell.c:7476:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      if( nIn ) memcpy(zRet, zIn, nIn);
data/bibledit-5.0.912/sqlite/shell.c:7477: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(&zRet[nIn], zAppend, nAppend+1);
data/bibledit-5.0.912/sqlite/shell.c:8189:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pSlot->z, sqlite3_value_blob(argv[1]), nByte);
data/bibledit-5.0.912/sqlite/shell.c:8191:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pSlot->z, sqlite3_value_text(argv[1]), nByte);
data/bibledit-5.0.912/sqlite/shell.c:8547:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pNew->zSql, z, n+1);
data/bibledit-5.0.912/sqlite/shell.c:9008:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pPage, pCopy, nCopy);
data/bibledit-5.0.912/sqlite/shell.c:9248:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(pCsr->pRec, &pCsr->aPage[iOff], nLocal);
data/bibledit-5.0.912/sqlite/shell.c:9266:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(&pCsr->pRec[nPayload-nRem], &aOvfl[4], nCopy);
data/bibledit-5.0.912/sqlite/shell.c:9557: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 zText[1];        /* Text to display for this row */
data/bibledit-5.0.912/sqlite/shell.c:9565: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 zPrefix[100];    /* Graph prefix */
data/bibledit-5.0.912/sqlite/shell.c:9608: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 zTestcase[30];    /* Name of current test case */
data/bibledit-5.0.912/sqlite/shell.c:9609: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 colSeparator[20]; /* Column separator character for several modes */
data/bibledit-5.0.912/sqlite/shell.c:9610: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 rowSeparator[20]; /* Row separator character for MODE_Ascii */
data/bibledit-5.0.912/sqlite/shell.c:9611: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 colSepPrior[20];  /* Saved column separator */
data/bibledit-5.0.912/sqlite/shell.c:9612: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 rowSepPrior[20];  /* Saved row separator */
data/bibledit-5.0.912/sqlite/shell.c:9615: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 nullValue[20];    /* The text to print when a NULL comes back from
data/bibledit-5.0.912/sqlite/shell.c:9617: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 outfile[FILENAME_MAX]; /* Filename for *out */
data/bibledit-5.0.912/sqlite/shell.c:9818:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(zTempFile, bBin ? "wb" : "w");
data/bibledit-5.0.912/sqlite/shell.c:9849:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(zTempFile, "rb");
data/bibledit-5.0.912/sqlite/shell.c:9905:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p->colSepPrior, p->colSeparator, sizeof(p->colSeparator));
data/bibledit-5.0.912/sqlite/shell.c:9906:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p->rowSepPrior, p->rowSeparator, sizeof(p->rowSeparator));
data/bibledit-5.0.912/sqlite/shell.c:10002: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 zBuf1[20], zBuf2[20];
data/bibledit-5.0.912/sqlite/shell.c:10224:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *az[4];
data/bibledit-5.0.912/sqlite/shell.c:10293: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(pNew->zText, zText, nText+1);
data/bibledit-5.0.912/sqlite/shell.c:10338:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&p->sGraph.zPrefix[n], pNext ? "|  " : "   ", 4);
data/bibledit-5.0.912/sqlite/shell.c:10669: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.
          char z[50];
data/bibledit-5.0.912/sqlite/shell.c:10672:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&ur,&r,sizeof(r));
data/bibledit-5.0.912/sqlite/shell.c:10715: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.
          char z[50];
data/bibledit-5.0.912/sqlite/shell.c:10749: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).
      eqp_append(p, atoi(azArg[0]), atoi(azArg[1]), azArg[3]);
data/bibledit-5.0.912/sqlite/shell.c:10749:37:  [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).
      eqp_append(p, atoi(azArg[0]), atoi(azArg[1]), azArg[3]);
data/bibledit-5.0.912/sqlite/shell.c:10928: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(zErrMsg, sqlite3_errmsg(db), nErrMsg);
data/bibledit-5.0.912/sqlite/shell.c:10939: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 z[200];
data/bibledit-5.0.912/sqlite/shell.c:10941: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).
  in = fopen(z, "rb");
data/bibledit-5.0.912/sqlite/shell.c:10982: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 zLine[200];
data/bibledit-5.0.912/sqlite/shell.c:11012: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 z[100];
data/bibledit-5.0.912/sqlite/shell.c:11373: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 zNum[30];
data/bibledit-5.0.912/sqlite/shell.c:11862: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 zStmt[100];
data/bibledit-5.0.912/sqlite/shell.c:12329:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *in = fopen(zName, "rb");
data/bibledit-5.0.912/sqlite/shell.c:12407: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).
  FILE *f = fopen(zName, "rb");
data/bibledit-5.0.912/sqlite/shell.c:12410: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 zBuf[100];
data/bibledit-5.0.912/sqlite/shell.c:12457: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 zLine[1000];
data/bibledit-5.0.912/sqlite/shell.c:12459:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    in = fopen(p->zDbFilename, "r");
data/bibledit-5.0.912/sqlite/shell.c:12602: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 zBuf1[20];
data/bibledit-5.0.912/sqlite/shell.c:12603: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 zBuf2[20];
data/bibledit-5.0.912/sqlite/shell.c:12631:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&zOut[iOut], "replace(replace(", 16);
data/bibledit-5.0.912/sqlite/shell.c:12634:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&zOut[iOut], "replace(", 8);
data/bibledit-5.0.912/sqlite/shell.c:12639:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&zOut[iOut], zNL, nNL);
data/bibledit-5.0.912/sqlite/shell.c:12642:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&zOut[iOut], zCR, nCR);
data/bibledit-5.0.912/sqlite/shell.c:12651:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&zOut[iOut], ",'", 2); iOut += 2;
data/bibledit-5.0.912/sqlite/shell.c:12652:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&zOut[iOut], zNL, nNL); iOut += nNL;
data/bibledit-5.0.912/sqlite/shell.c:12653:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&zOut[iOut], "', char(10))", 12); iOut += 12;
data/bibledit-5.0.912/sqlite/shell.c:12656:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&zOut[iOut], ",'", 2); iOut += 2;
data/bibledit-5.0.912/sqlite/shell.c:12657:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&zOut[iOut], zCR, nCR); iOut += nCR;
data/bibledit-5.0.912/sqlite/shell.c:12658:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&zOut[iOut], "', char(13))", 12); iOut += 12;
data/bibledit-5.0.912/sqlite/shell.c:12848: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 zBuf[1000];
data/bibledit-5.0.912/sqlite/shell.c:12855: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(zBuf, zLine, iStart);
data/bibledit-5.0.912/sqlite/shell.c:12866: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(zBuf+iStart, zCompletion, nCompletion+1);
data/bibledit-5.0.912/sqlite/shell.c:12989: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).
    f = fopen(zFile, bTextMode ? "w" : "wb");
data/bibledit-5.0.912/sqlite/shell.c:13253: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(zInsert+i, ",?", 2);
data/bibledit-5.0.912/sqlite/shell.c:13256: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(zInsert+i, ");", 3);
data/bibledit-5.0.912/sqlite/shell.c:13530:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aHdr[100];
data/bibledit-5.0.912/sqlite/shell.c:13550: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(aHdr, sqlite3_column_blob(pStmt,0), 100);
data/bibledit-5.0.912/sqlite/shell.c:14597:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *zInsertFmt[2] = {
data/bibledit-5.0.912/sqlite/shell.c:14624: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 zTemp[50];
data/bibledit-5.0.912/sqlite/shell.c:15486: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 *azArg[52];
data/bibledit-5.0.912/sqlite/shell.c:16059:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char zBuf[100];
data/bibledit-5.0.912/sqlite/shell.c:16199:17:  [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).
      sCtx.in = fopen(sCtx.zFile, "rb");
data/bibledit-5.0.912/sqlite/shell.c:16379:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char zLabel[20];
data/bibledit-5.0.912/sqlite/shell.c:16443:17:  [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).
      iotrace = fopen(azArg[1], "w");
data/bibledit-5.0.912/sqlite/shell.c:16925: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).
    p->in = fopen(azArg[1], "rb");
data/bibledit-5.0.912/sqlite/shell.c:17031:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char *new_argv[2], *new_colv[2];
data/bibledit-5.0.912/sqlite/shell.c:17061:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char zScNum[30];
data/bibledit-5.0.912/sqlite/shell.c:17182: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).
      out = fopen(azCmd[1], "wb");
data/bibledit-5.0.912/sqlite/shell.c:17344:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char zBuf[200];
data/bibledit-5.0.912/sqlite/shell.c:17498: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).
          iSize = atoi(&z[5]);
data/bibledit-5.0.912/sqlite/shell.c:18297: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 zPrefix[100];
data/bibledit-5.0.912/sqlite/shell.c:18371: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(zLine,";",2);
data/bibledit-5.0.912/sqlite/shell.c:18384: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(zSql, zLine+i, nLine+1-i);
data/bibledit-5.0.912/sqlite/shell.c:18389: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(zSql+nSql, zLine, nLine+1);
data/bibledit-5.0.912/sqlite/shell.c:18477:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    if( z ) memcpy(z, home_dir, n);
data/bibledit-5.0.912/sqlite/shell.c:18510:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  p->in = fopen(sqliterc,"rb");
data/bibledit-5.0.912/sqlite/shell.c:18611:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data->colSeparator,SEP_Column, 2);
data/bibledit-5.0.912/sqlite/shell.c:18612:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data->rowSeparator,SEP_Row, 2);
data/bibledit-5.0.912/sqlite/shell.c:18735: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(argv[i], z, n+1);
data/bibledit-5.0.912/sqlite/shell.c:18962: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(data.colSeparator,",",2);
data/bibledit-5.0.912/sqlite/sqlite3.c:10465:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char hidden[48];
data/bibledit-5.0.912/sqlite/sqlite3.c:14026:10:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
# define memcpy(D,S,N) {char*xxd=(char*)(D);const char*xxs=(const char*)(S);\
data/bibledit-5.0.912/sqlite/sqlite3.c:18492:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 yDbMask[(SQLITE_MAX_ATTACHED+9)/8];
data/bibledit-5.0.912/sqlite/sqlite3.c:20279:31:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
SQLITE_PRIVATE const unsigned char sqlite3CtypeMap[256] = {
data/bibledit-5.0.912/sqlite/sqlite3.c:20900: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 z[8];               /* Dequoted value for the string */
data/bibledit-5.0.912/sqlite/sqlite3.c:22468: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 zBuf[100];
data/bibledit-5.0.912/sqlite/sqlite3.c:22488: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 zBuf[100];
data/bibledit-5.0.912/sqlite/sqlite3.c:22507: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 zBuf[100];
data/bibledit-5.0.912/sqlite/sqlite3.c:22544: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 zBuf[100];
data/bibledit-5.0.912/sqlite/sqlite3.c:22731: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 zBuf[20];
data/bibledit-5.0.912/sqlite/sqlite3.c:23044: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(zBufOut, &sqlite3Config.iPrngSeed, nByte);
data/bibledit-5.0.912/sqlite/sqlite3.c:23765: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 zTitle[100];  /* The title text */
data/bibledit-5.0.912/sqlite/sqlite3.c:23935: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(pBt, &aAddr[1], pHdr->nBacktrace*sizeof(void*));
data/bibledit-5.0.912/sqlite/sqlite3.c:23944: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(z, mem.zTitle, mem.nTitle);
data/bibledit-5.0.912/sqlite/sqlite3.c:24011: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(pNew, pPrior, (int)(nByte<pOldHdr->iSize ? nByte : pOldHdr->iSize));
data/bibledit-5.0.912/sqlite/sqlite3.c:24117: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(mem.zTitle, zTitle, n);
data/bibledit-5.0.912/sqlite/sqlite3.c:24141: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).
  out = fopen(zFilename, "w");
data/bibledit-5.0.912/sqlite/sqlite3.c:24730:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, pPrior, nOld);
data/bibledit-5.0.912/sqlite/sqlite3.c:24732:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, pPrior, nBytes);
data/bibledit-5.0.912/sqlite/sqlite3.c:24788:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    out = fopen(zFilename, "w");
data/bibledit-5.0.912/sqlite/sqlite3.c:25287:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p, pPrior, nOld);
data/bibledit-5.0.912/sqlite/sqlite3.c:25408:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    out = fopen(zFilename, "w");
data/bibledit-5.0.912/sqlite/sqlite3.c:27796:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pNew, p, lookasideMallocSize(db, p));
data/bibledit-5.0.912/sqlite/sqlite3.c:27843: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(zNew, z, n);
data/bibledit-5.0.912/sqlite/sqlite3.c:27856: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(zNew, z, (size_t)n);
data/bibledit-5.0.912/sqlite/sqlite3.c:28189:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[etBUFSIZE];       /* Conversion buffer */
data/bibledit-5.0.912/sqlite/sqlite3.c:28509:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(buf+(prefix!=0),"Inf",4);
data/bibledit-5.0.912/sqlite/sqlite3.c:28884:42:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      if( !isMalloced(p) && p->nChar>0 ) memcpy(zNew, p->zText, p->nChar);
data/bibledit-5.0.912/sqlite/sqlite3.c:28919:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->zText[p->nChar], z, N);
data/bibledit-5.0.912/sqlite/sqlite3.c:28938:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->zText[p->nChar-N], z, N);
data/bibledit-5.0.912/sqlite/sqlite3.c:28960: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(zText, p->zText, p->nChar+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:29073: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 zBase[SQLITE_PRINT_BUF_SIZE];
data/bibledit-5.0.912/sqlite/sqlite3.c:29106: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 zBase[SQLITE_PRINT_BUF_SIZE];
data/bibledit-5.0.912/sqlite/sqlite3.c:29193: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 zMsg[SQLITE_PRINT_BUF_SIZE*3];    /* Complete log message */
data/bibledit-5.0.912/sqlite/sqlite3.c:29222: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 zBuf[500];
data/bibledit-5.0.912/sqlite/sqlite3.c:29310: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 zBuf[500];
data/bibledit-5.0.912/sqlite/sqlite3.c:29354:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char zLine[1000];
data/bibledit-5.0.912/sqlite/sqlite3.c:29385: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 zLine[100];
data/bibledit-5.0.912/sqlite/sqlite3.c:29603: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 zBuf[30];
data/bibledit-5.0.912/sqlite/sqlite3.c:29615: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 zBuf[30];
data/bibledit-5.0.912/sqlite/sqlite3.c:29654: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 zFlgs[60];
data/bibledit-5.0.912/sqlite/sqlite3.c:29685:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char zOp2[16];
data/bibledit-5.0.912/sqlite/sqlite3.c:29838:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char zBuf[8];
data/bibledit-5.0.912/sqlite/sqlite3.c:30054:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char s[256];          /* State variables */
data/bibledit-5.0.912/sqlite/sqlite3.c:30107: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 k[256];
data/bibledit-5.0.912/sqlite/sqlite3.c:30148:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(
data/bibledit-5.0.912/sqlite/sqlite3.c:30155:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(
data/bibledit-5.0.912/sqlite/sqlite3.c:30660: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 zBuf[1000];
data/bibledit-5.0.912/sqlite/sqlite3.c:30772: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 zBuf[1000];
data/bibledit-5.0.912/sqlite/sqlite3.c:30932:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char zBuf[20];
data/bibledit-5.0.912/sqlite/sqlite3.c:31725: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(pOut, &u, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:31766: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(pValue, &u, 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:32189: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(&x,p,4);
data/bibledit-5.0.912/sqlite/sqlite3.c:32193: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(&x,p,4);
data/bibledit-5.0.912/sqlite/sqlite3.c:32197: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(&x,p,4);
data/bibledit-5.0.912/sqlite/sqlite3.c:32206:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p,&v,4);
data/bibledit-5.0.912/sqlite/sqlite3.c:32209:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p,&x,4);
data/bibledit-5.0.912/sqlite/sqlite3.c:32212:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p,&x,4);
data/bibledit-5.0.912/sqlite/sqlite3.c:32486: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(&a, &x, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:32583: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(z, zName, nName);
data/bibledit-5.0.912/sqlite/sqlite3.c:33360: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 aPadding[32];
data/bibledit-5.0.912/sqlite/sqlite3.c:33658: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(zFile, flags, mode);
data/bibledit-5.0.912/sqlite/sqlite3.c:34263: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(pNew->zCanonicalName, zAbsoluteName, n+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:34465: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 aSemName[MAX_PATHNAME+2];  /* Name of that semaphore */
data/bibledit-5.0.912/sqlite/sqlite3.c:34523: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 aErr[80];
data/bibledit-5.0.912/sqlite/sqlite3.c:34716: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(&pInode->fileId, &fileId, sizeof(fileId));
data/bibledit-5.0.912/sqlite/sqlite3.c:36644: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(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt);
data/bibledit-5.0.912/sqlite/sqlite3.c:36648: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(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy);
data/bibledit-5.0.912/sqlite/sqlite3.c:36763:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char oldCntr[4];
data/bibledit-5.0.912/sqlite/sqlite3.c:36779: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(&((u8 *)(pFile->pMapRegion))[offset], pBuf, amt);
data/bibledit-5.0.912/sqlite/sqlite3.c:36783: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(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy);
data/bibledit-5.0.912/sqlite/sqlite3.c:36966: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 zDirname[MAX_PATHNAME+1];
data/bibledit-5.0.912/sqlite/sqlite3.c:39147: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 zDb[MAX_PATHNAME+1];     /* Database file path */
data/bibledit-5.0.912/sqlite/sqlite3.c:39171: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(zDb, zPath, nDb);
data/bibledit-5.0.912/sqlite/sqlite3.c:39252: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 zTmpname[MAX_PATHNAME+2];
data/bibledit-5.0.912/sqlite/sqlite3.c:39447: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).
      useProxy = atoi(envforce)>0;
data/bibledit-5.0.912/sqlite/sqlite3.c:39654:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy(zDel, zIn, n);
data/bibledit-5.0.912/sqlite/sqlite3.c:39770: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(zBuf, &t, sizeof(t));
data/bibledit-5.0.912/sqlite/sqlite3.c:39771: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(&zBuf[sizeof(t)], &randomnessPid, sizeof(randomnessPid));
data/bibledit-5.0.912/sqlite/sqlite3.c:40114:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[MAXPATHLEN];
data/bibledit-5.0.912/sqlite/sqlite3.c:40292: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 tPath[MAXPATHLEN];
data/bibledit-5.0.912/sqlite/sqlite3.c:40293:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[PROXY_MAXCONCHLEN];
data/bibledit-5.0.912/sqlite/sqlite3.c:40297: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 errmsg[64] = "";
data/bibledit-5.0.912/sqlite/sqlite3.c:40386:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char tBuf[PROXY_MAXCONCHLEN];
data/bibledit-5.0.912/sqlite/sqlite3.c:40436: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 readBuf[PROXY_MAXCONCHLEN];
data/bibledit-5.0.912/sqlite/sqlite3.c:40437: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 lockPath[MAXPATHLEN];
data/bibledit-5.0.912/sqlite/sqlite3.c:40493:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(lockPath, &readBuf[PROXY_PATHINDEX], pathLen);
data/bibledit-5.0.912/sqlite/sqlite3.c:40539:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char writeBuffer[PROXY_MAXCONCHLEN];
data/bibledit-5.0.912/sqlite/sqlite3.c:40543:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&writeBuffer[PROXY_HEADERLEN], myHostID, PROXY_HOSTIDLEN);
data/bibledit-5.0.912/sqlite/sqlite3.c:40690: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(conchPath, dbPath, len+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:40706: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(&conchPath[i+1], "-conch", 7);
data/bibledit-5.0.912/sqlite/sqlite3.c:40766: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(dbPath, (char *)pFile->lockingContext, len + 1);
data/bibledit-5.0.912/sqlite/sqlite3.c:40785: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 dbPath[MAXPATHLEN+1];       /* Name of the database file */
data/bibledit-5.0.912/sqlite/sqlite3.c:42312:41:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  { "MultiByteToWideChar",     (SYSCALL)MultiByteToWideChar,     0 },
data/bibledit-5.0.912/sqlite/sqlite3.c:42730: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 zDbgBuf[SQLITE_WIN32_DBG_BUF_SIZE];
data/bibledit-5.0.912/sqlite/sqlite3.c:42743: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(zDbgBuf, zBuf, nMin);
data/bibledit-5.0.912/sqlite/sqlite3.c:42759: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(zDbgBuf, zBuf, nMin);
data/bibledit-5.0.912/sqlite/sqlite3.c:43478: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 zMsg[500];                 /* Human readable error text */
data/bibledit-5.0.912/sqlite/sqlite3.c:44132: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(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt);
data/bibledit-5.0.912/sqlite/sqlite3.c:44138: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(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy);
data/bibledit-5.0.912/sqlite/sqlite3.c:44210: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(&((u8 *)(pFile->pMapRegion))[offset], pBuf, amt);
data/bibledit-5.0.912/sqlite/sqlite3.c:44216: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(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy);
data/bibledit-5.0.912/sqlite/sqlite3.c:47680:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    if( iOfst<p->sz ) memcpy(zBuf, p->aData+iOfst, p->sz - iOfst);
data/bibledit-5.0.912/sqlite/sqlite3.c:47683: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(zBuf, p->aData+iOfst, iAmt);
data/bibledit-5.0.912/sqlite/sqlite3.c:47728:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p->aData+iOfst, z, iAmt);
data/bibledit-5.0.912/sqlite/sqlite3.c:48032:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      if( pOut ) memcpy(pOut, p->aData, p->sz);
data/bibledit-5.0.912/sqlite/sqlite3.c:48062:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(pTo, sqlite3PagerGetData(pPage), szPage);
data/bibledit-5.0.912/sqlite/sqlite3.c:48374: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(aiValues, p->u.aHash, sizeof(p->u.aHash));
data/bibledit-5.0.912/sqlite/sqlite3.c:48414: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(aiValues, p->u.aHash, sizeof(p->u.aHash));
data/bibledit-5.0.912/sqlite/sqlite3.c:52077: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 dbFileVers[16];        /* Changes whenever database file changes */
data/bibledit-5.0.912/sqlite/sqlite3.c:52415:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char zRet[1024];
data/bibledit-5.0.912/sqlite/sqlite3.c:52523:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char ac[4];
data/bibledit-5.0.912/sqlite/sqlite3.c:52542:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ac[4];
data/bibledit-5.0.912/sqlite/sqlite3.c:52728:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aMagic[8];   /* A buffer to hold the magic header */
data/bibledit-5.0.912/sqlite/sqlite3.c:52822:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static const char zeroHdr[28] = {0};
data/bibledit-5.0.912/sqlite/sqlite3.c:52910: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(zHeader, aJournalMagic, sizeof(aJournalMagic));
data/bibledit-5.0.912/sqlite/sqlite3.c:52987:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aMagic[8];     /* A buffer to hold the magic header */
data/bibledit-5.0.912/sqlite/sqlite3.c:53895: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(pData, (u8*)aData, pPager->pageSize);
data/bibledit-5.0.912/sqlite/sqlite3.c:55721:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(zHeader, aJournalMagic, sizeof(aJournalMagic));
data/bibledit-5.0.912/sqlite/sqlite3.c:56295: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(pPtr, zPathname, nPathname);   pPtr += nPathname + 1;
data/bibledit-5.0.912/sqlite/sqlite3.c:56297: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(pPtr, zUri, nUriByte);       pPtr += nUriByte;
data/bibledit-5.0.912/sqlite/sqlite3.c:56307: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(pPtr, zPathname, nPathname);   pPtr += nPathname;
data/bibledit-5.0.912/sqlite/sqlite3.c:56308: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(pPtr, "-journal",8);           pPtr += 8 + 1;
data/bibledit-5.0.912/sqlite/sqlite3.c:56321: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(pPtr, zPathname, nPathname);   pPtr += nPathname;
data/bibledit-5.0.912/sqlite/sqlite3.c:56322: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(pPtr, "-wal", 4);              pPtr += 4 + 1;
data/bibledit-5.0.912/sqlite/sqlite3.c:56796:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char dbFileVers[sizeof(pPager->dbFileVers)];
data/bibledit-5.0.912/sqlite/sqlite3.c:57750:54:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          const void *pCopy = (const void *)&((const char *)zBuf)[24];
data/bibledit-5.0.912/sqlite/sqlite3.c:59922: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((void*)&aHdr[1], (const void*)&pWal->hdr, sizeof(WalIndexHdr));
data/bibledit-5.0.912/sqlite/sqlite3.c:59924: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((void*)&aHdr[0], (const void*)&pWal->hdr, sizeof(WalIndexHdr));
data/bibledit-5.0.912/sqlite/sqlite3.c:59953: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(&aFrame[8], pWal->hdr.aSalt, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:60034:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char zName[15];
data/bibledit-5.0.912/sqlite/sqlite3.c:60411: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(&pWal->hdr.aSalt, &aBuf[16], 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:60718: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(aLeft, aTmp, sizeof(aTmp[0])*iOut);
data/bibledit-5.0.912/sqlite/sqlite3.c:60945: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(&pWal->hdr.aSalt[1], &salt1, 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:61318: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(&pWal->hdr, &h1, sizeof(WalIndexHdr));
data/bibledit-5.0.912/sqlite/sqlite3.c:61524: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(&pWal->hdr, (void*)walIndexHdr(pWal), sizeof(WalIndexHdr));
data/bibledit-5.0.912/sqlite/sqlite3.c:62026:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&pWal->hdr, pSnapshot, sizeof(WalIndexHdr));
data/bibledit-5.0.912/sqlite/sqlite3.c:62279: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(&pWal->hdr, (void *)walIndexHdr(pWal), sizeof(WalIndexHdr));
data/bibledit-5.0.912/sqlite/sqlite3.c:62587: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(&aWalHdr[16], pWal->hdr.aSalt, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:62979: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(pRet, &pWal->hdr, sizeof(WalIndexHdr));
data/bibledit-5.0.912/sqlite/sqlite3.c:65603: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(&temp[x], &data[x], (cbrk+size) - x);
data/bibledit-5.0.912/sqlite/sqlite3.c:65606:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&data[cbrk], &src[pc], size);
data/bibledit-5.0.912/sqlite/sqlite3.c:65663:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&aData[iAddr], &aData[pc], 2);
data/bibledit-5.0.912/sqlite/sqlite3.c:66441:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char zDbHeader[100];  /* Database header content */
data/bibledit-5.0.912/sqlite/sqlite3.c:66503:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(zFullPathname, zFilename, nFilename);
data/bibledit-5.0.912/sqlite/sqlite3.c:67399:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data, zMagicHeader, sizeof(zMagicHeader));
data/bibledit-5.0.912/sqlite/sqlite3.c:68828: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(pPayload, pBuf, nByte);
data/bibledit-5.0.912/sqlite/sqlite3.c:68831: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(pBuf, pPayload, nByte);
data/bibledit-5.0.912/sqlite/sqlite3.c:69012:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(aSave, aWrite, 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:69016:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(aWrite, aSave, 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:70097:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&pPage1->aData[32], &pTrunk->aData[0], 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:70121:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&pPage1->aData[32], &pTrunk->aData[0], 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:70127:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&pPrevTrunk->aData[0], &pTrunk->aData[0], 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:70150:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&pNewTrunk->aData[0], &pTrunk->aData[0], 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:70152:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&pNewTrunk->aData[8], &pTrunk->aData[12], (k-1)*4);
data/bibledit-5.0.912/sqlite/sqlite3.c:70217:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&aData[8+closest*4], &aData[4+k*4], 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:70591: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(pPayload, pSrc, nSrc);
data/bibledit-5.0.912/sqlite/sqlite3.c:70649: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(pPayload, pSrc, n);
data/bibledit-5.0.912/sqlite/sqlite3.c:70652: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(pPayload, pSrc, n);
data/bibledit-5.0.912/sqlite/sqlite3.c:70810: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(pTemp, pCell, sz);
data/bibledit-5.0.912/sqlite/sqlite3.c:70854: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(&data[idx+4], pCell+4, sz-4);
data/bibledit-5.0.912/sqlite/sqlite3.c:70857: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(&data[idx], pCell, sz);
data/bibledit-5.0.912/sqlite/sqlite3.c:71039: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(&pTmp[j], &aData[j], usableSize - j);
data/bibledit-5.0.912/sqlite/sqlite3.c:71062: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(pData, pCell, sz);
data/bibledit-5.0.912/sqlite/sqlite3.c:71249: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(pTmp, aData, pPg->pBt->usableSize);
data/bibledit-5.0.912/sqlite/sqlite3.c:71530: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(&aTo[iData], &aFrom[iData], pBt->usableSize-iData);
data/bibledit-5.0.912/sqlite/sqlite3.c:71531: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(&aTo[iToHdr], &aFrom[iFromHdr], pFrom->cellOffset + 2*pFrom->nCell);
data/bibledit-5.0.912/sqlite/sqlite3.c:71729:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aOvflSpace[iOff], apDiv[i], szNew[i]);
data/bibledit-5.0.912/sqlite/sqlite3.c:71850: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(pTemp, apDiv[i], sz);
data/bibledit-5.0.912/sqlite/sqlite3.c:71859:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(b.apCell[b.nCell], &pOld->aData[8], 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:72110: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(&apNew[nNew-1]->aData[8], &pOld->aData[8], 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:72185: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(&pNew->aData[8], pCell, 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:72414: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(pChild->aiOvfl, pRoot->aiOvfl,
data/bibledit-5.0.912/sqlite/sqlite3.c:72416: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(pChild->apOvfl, pRoot->apOvfl,
data/bibledit-5.0.912/sqlite/sqlite3.c:72881: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(newCell, oldCell, 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:72905: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(oldCell, newCell, szNew);
data/bibledit-5.0.912/sqlite/sqlite3.c:72961:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pCur->pKey, pX->pKey, pX->nKey);
data/bibledit-5.0.912/sqlite/sqlite3.c:74216: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 zErr[100];
data/bibledit-5.0.912/sqlite/sqlite3.c:74925: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(zOut, zIn, nCopy);
data/bibledit-5.0.912/sqlite/sqlite3.c:75570: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 zBuf[100];
data/bibledit-5.0.912/sqlite/sqlite3.c:75685: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(pMem->zMalloc, pMem->z, pMem->n);
data/bibledit-5.0.912/sqlite/sqlite3.c:75875: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(pMem, &t, sizeof(t));
data/bibledit-5.0.912/sqlite/sqlite3.c:76430: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(pTo, pFrom, MEMCELLSIZE);
data/bibledit-5.0.912/sqlite/sqlite3.c:76447: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(pTo, pFrom, MEMCELLSIZE);
data/bibledit-5.0.912/sqlite/sqlite3.c:76471: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(pTo, pFrom, sizeof(Mem));
data/bibledit-5.0.912/sqlite/sqlite3.c:76545: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(pMem->z, z, nAlloc);
data/bibledit-5.0.912/sqlite/sqlite3.c:77426: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(pStr->z, z, n+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:77733:16:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  if( p4copy ) memcpy(p4copy, zP4, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:78783: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 zAlt[50];
data/bibledit-5.0.912/sqlite/sqlite3.c:79129: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 zPtr[50];
data/bibledit-5.0.912/sqlite/sqlite3.c:79130: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 zCom[100];
data/bibledit-5.0.912/sqlite/sqlite3.c:79499: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 z[1000];
data/bibledit-5.0.912/sqlite/sqlite3.c:80610:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE *out = fopen("vdbe_profile.out", "a");
data/bibledit-5.0.912/sqlite/sqlite3.c:80628:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char zHdr[100];
data/bibledit-5.0.912/sqlite/sqlite3.c:81096:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    if( len>0 ) memcpy(buf, pMem->z, len);
data/bibledit-5.0.912/sqlite/sqlite3.c:81153: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(&pMem->u.r, &x, sizeof(x));
data/bibledit-5.0.912/sqlite/sqlite3.c:82851: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(pNew, pOrig, MEMCELLSIZE);
data/bibledit-5.0.912/sqlite/sqlite3.c:84655: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 zBase[100];         /* Initial working space */
data/bibledit-5.0.912/sqlite/sqlite3.c:85328: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 zBuf[1000];
data/bibledit-5.0.912/sqlite/sqlite3.c:86174: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(pOut, pVar, MEMCELLSIZE);
data/bibledit-5.0.912/sqlite/sqlite3.c:86435: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(pOut->z, pIn2->z, pIn2->n);
data/bibledit-5.0.912/sqlite/sqlite3.c:86439: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(&pOut->z[pIn2->n], pIn1->z, pIn1->n);
data/bibledit-5.0.912/sqlite/sqlite3.c:87667: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(pDest->z, zData, len);
data/bibledit-5.0.912/sqlite/sqlite3.c:88122:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pNew->zName, zName, nName+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:93909:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->aAlloc, &p->aBuffer[iBuf], nAvail);
data/bibledit-5.0.912/sqlite/sqlite3.c:93925:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&p->aAlloc[nByte - nRem], aNext, nCopy);
data/bibledit-5.0.912/sqlite/sqlite3.c:94333: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(pKeyInfo, pCsr->pKeyInfo, szKeyInfo);
data/bibledit-5.0.912/sqlite/sqlite3.c:94837:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->aBuffer[p->iBufEnd], &pData[nData-nRem], nCopy);
data/bibledit-5.0.912/sqlite/sqlite3.c:95221: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(SRVAL(pNew), pVal->z, pVal->n);
data/bibledit-5.0.912/sqlite/sqlite3.c:96064: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(pOut->z, pKey, nKey);
data/bibledit-5.0.912/sqlite/sqlite3.c:96242: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(zOut, (u8*)pChunk->zChunk + iChunkOffset, nCopy);
data/bibledit-5.0.912/sqlite/sqlite3.c:96340: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((u8*)p->pFirst->zChunk, zBuf, iAmt);
data/bibledit-5.0.912/sqlite/sqlite3.c:96368:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy((u8*)p->endpoint.pChunk->zChunk + iChunkOffset, zWrite, iSpace);
data/bibledit-5.0.912/sqlite/sqlite3.c:96858: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(pExpr, pDup, sizeof(*pExpr));
data/bibledit-5.0.912/sqlite/sqlite3.c:99490:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        if( pToken->n ) memcpy(pNew->u.zToken, pToken->z, pToken->n);
data/bibledit-5.0.912/sqlite/sqlite3.c:99971: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(zAlloc, p, nNewSize);
data/bibledit-5.0.912/sqlite/sqlite3.c:99974: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(zAlloc, p, nSize);
data/bibledit-5.0.912/sqlite/sqlite3.c:99988: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(zToken, p->u.zToken, nToken);
data/bibledit-5.0.912/sqlite/sqlite3.c:105087: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(pNew->aCol, pTab->aCol, sizeof(Column)*pNew->nCol);
data/bibledit-5.0.912/sqlite/sqlite3.c:105704: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(zOut, zSql, nSql);
data/bibledit-5.0.912/sqlite/sqlite3.c:105727: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(&zOut[iOff], zReplace, nReplace);
data/bibledit-5.0.912/sqlite/sqlite3.c:106640:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->u.aRowid, pData, n);
data/bibledit-5.0.912/sqlite/sqlite3.c:106667: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(pTo->anEq, pFrom->anEq, sizeof(tRowcnt)*p->nCol);
data/bibledit-5.0.912/sqlite/sqlite3.c:106668: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(pTo->anLt, pFrom->anLt, sizeof(tRowcnt)*p->nCol);
data/bibledit-5.0.912/sqlite/sqlite3.c:106669: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(pTo->anDLt, pFrom->anDLt, sizeof(tRowcnt)*p->nCol);
data/bibledit-5.0.912/sqlite/sqlite3.c:107323: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(pStat1->zName, "sqlite_stat1", 13);
data/bibledit-5.0.912/sqlite/sqlite3.c:108083: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(pSample->p, sqlite3_column_blob(pStmt, 4), pSample->n);
data/bibledit-5.0.912/sqlite/sqlite3.c:108283: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.
  zFile = (const char *)sqlite3_value_text(argv[0]);
data/bibledit-5.0.912/sqlite/sqlite3.c:108284: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.
  zName = (const char *)sqlite3_value_text(argv[1]);
data/bibledit-5.0.912/sqlite/sqlite3.c:108335: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(aNew, db->aDb, sizeof(db->aDb[0])*2);
data/bibledit-5.0.912/sqlite/sqlite3.c:108410:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        zKey = (char *)sqlite3_value_blob(argv[2]);
data/bibledit-5.0.912/sqlite/sqlite3.c:108499:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *zName = (const char *)sqlite3_value_text(argv[0]);
data/bibledit-5.0.912/sqlite/sqlite3.c:108504: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 zErr[128];
data/bibledit-5.0.912/sqlite/sqlite3.c:109378: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 saveBuf[PARSE_TAIL_SZ];
data/bibledit-5.0.912/sqlite/sqlite3.c:109394: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(saveBuf, PARSE_TAIL(pParse), PARSE_TAIL_SZ);
data/bibledit-5.0.912/sqlite/sqlite3.c:109399: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(PARSE_TAIL(pParse), saveBuf, PARSE_TAIL_SZ);
data/bibledit-5.0.912/sqlite/sqlite3.c:109643: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(db->aDbStatic, db->aDb, 2*sizeof(db->aDb[0]));
data/bibledit-5.0.912/sqlite/sqlite3.c:110342: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(z, pName->z, pName->n);
data/bibledit-5.0.912/sqlite/sqlite3.c:110378: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(zType, pType->z, pType->n);
data/bibledit-5.0.912/sqlite/sqlite3.c:110943: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(&zStmt[k], zType, len);
data/bibledit-5.0.912/sqlite/sqlite3.c:110963: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(zExtra, pIdx->azColl, sizeof(char*)*pIdx->nColumn);
data/bibledit-5.0.912/sqlite/sqlite3.c:110966: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(zExtra, pIdx->aiColumn, sizeof(i16)*pIdx->nColumn);
data/bibledit-5.0.912/sqlite/sqlite3.c:110969: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(zExtra, pIdx->aSortOrder, pIdx->nColumn);
data/bibledit-5.0.912/sqlite/sqlite3.c:111960: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 zTab[24];
data/bibledit-5.0.912/sqlite/sqlite3.c:112248: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(z, pTo->z, pTo->n);
data/bibledit-5.0.912/sqlite/sqlite3.c:112282: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(z, pToCol->a[i].zEName, n);
data/bibledit-5.0.912/sqlite/sqlite3.c:112750: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(pIndex->zName, zName, nName+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:112829: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(zExtra, zColl, nColl);
data/bibledit-5.0.912/sqlite/sqlite3.c:113127: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(&a[1], aVal, nCopy*sizeof(LogEst));
data/bibledit-5.0.912/sqlite/sqlite3.c:114210: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(pColl, pColl2, sizeof(CollSeq));
data/bibledit-5.0.912/sqlite/sqlite3.c:114276: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(pColl[0].zName, zName, nName);
data/bibledit-5.0.912/sqlite/sqlite3.c:114598: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((char*)&pBest[1], zName, nName+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:116373:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char zStop[3];
data/bibledit-5.0.912/sqlite/sqlite3.c:116676:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char zBuf[50];
data/bibledit-5.0.912/sqlite/sqlite3.c:116929: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(&zOut[j], zRep, nRep);
data/bibledit-5.0.912/sqlite/sqlite3.c:116935: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(&zOut[j], &zStr[i], nStr-i);
data/bibledit-5.0.912/sqlite/sqlite3.c:117063: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 zResult[8];
data/bibledit-5.0.912/sqlite/sqlite3.c:117112:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *zFile = (const char *)sqlite3_value_text(argv[0]);
data/bibledit-5.0.912/sqlite/sqlite3.c:117126:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    zProc = (const char *)sqlite3_value_text(argv[1]);
data/bibledit-5.0.912/sqlite/sqlite3.c:117530: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(aWc, pDef->pUserData, 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:119009: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((char *)pStep->zTarget, zFrom, nFrom);
data/bibledit-5.0.912/sqlite/sqlite3.c:122278: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).
  int  (*open)(const char*,sqlite3**);
data/bibledit-5.0.912/sqlite/sqlite3.c:122599:53:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define sqlite3_open                   sqlite3_api->open
data/bibledit-5.0.912/sqlite/sqlite3.c:123378: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(zAltEntry, "sqlite3_", 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:123387: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(zAltEntry+iEntry, "_init", 6);
data/bibledit-5.0.912/sqlite/sqlite3.c:123423: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(aHandle, db->aExtension, sizeof(handle)*db->nExtension);
data/bibledit-5.0.912/sqlite/sqlite3.c:124718: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 *aFcntl[4];       /* Argument to SQLITE_FCNTL_PRAGMA */
data/bibledit-5.0.912/sqlite/sqlite3.c:126559:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char zBuf[40];
data/bibledit-5.0.912/sqlite/sqlite3.c:126637: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 *azArg[2];           /* Value of the argument and schema */
data/bibledit-5.0.912/sqlite/sqlite3.c:126656: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 zBuf[200];
data/bibledit-5.0.912/sqlite/sqlite3.c:127110: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 const *azArg[6];
data/bibledit-5.0.912/sqlite/sqlite3.c:129954:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&pCol->zName[n+1], zType, m+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:134746:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(z, argv[i], n);
data/bibledit-5.0.912/sqlite/sqlite3.c:135275: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(z, pName->z, pName->n);
data/bibledit-5.0.912/sqlite/sqlite3.c:137869: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(zCopy, zName, nName+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:138966:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy((char*)&pNew[1], pDef->zName, sqlite3Strlen30(pDef->zName)+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:139885: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 zBuf[100];               /* Initial space for EQP output string */
data/bibledit-5.0.912/sqlite/sqlite3.c:140602: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 d2[4];
data/bibledit-5.0.912/sqlite/sqlite3.c:140875: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(&pNew->orig, pExpr, sizeof(*pExpr));
data/bibledit-5.0.912/sqlite/sqlite3.c:141814: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(pOrTab->a, pTabItem, sizeof(*pTabItem));
data/bibledit-5.0.912/sqlite/sqlite3.c:142289: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(pWC->a, pOld, sizeof(pWC->a[0])*pWC->nTerm);
data/bibledit-5.0.912/sqlite/sqlite3.c:143964: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(aiCur, pWInfo->aiCurOnePass, sizeof(int)*2);
data/bibledit-5.0.912/sqlite/sqlite3.c:143988: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(pDest->a, pSrc->a, pDest->n*sizeof(pDest->a[0]));
data/bibledit-5.0.912/sqlite/sqlite3.c:145571: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 zType[8];
data/bibledit-5.0.912/sqlite/sqlite3.c:145572: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 zLeft[50];
data/bibledit-5.0.912/sqlite/sqlite3.c:145573: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(zType, "....", 5);
data/bibledit-5.0.912/sqlite/sqlite3.c:145718: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(paNew, p->aLTerm, sizeof(p->aLTerm[0])*p->nLSlot);
data/bibledit-5.0.912/sqlite/sqlite3.c:145734: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(pTo, pFrom, WHERE_LOOP_XFER_SZ);
data/bibledit-5.0.912/sqlite/sqlite3.c:145735: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(pTo->aLTerm, pFrom->aLTerm, pTo->nLTerm*sizeof(pTo->aLTerm[0]));
data/bibledit-5.0.912/sqlite/sqlite3.c:147810:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char zName[65];
data/bibledit-5.0.912/sqlite/sqlite3.c:148120:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pTo->aLoop, pFrom->aLoop, sizeof(WhereLoop*)*iLoop);
data/bibledit-5.0.912/sqlite/sqlite3.c:149291:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->pExpr, &p->orig, sizeof(p->orig));
data/bibledit-5.0.912/sqlite/sqlite3.c:150334:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pTab, pTab2, sizeof(Table));
data/bibledit-5.0.912/sqlite/sqlite3.c:152440:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p->u.zToken, t.z, t.n);
data/bibledit-5.0.912/sqlite/sqlite3.c:154530:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char yycoverage[YYNSTATE][YYNTOKEN];
data/bibledit-5.0.912/sqlite/sqlite3.c:157500:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char zKWText[647] = {
data/bibledit-5.0.912/sqlite/sqlite3.c:157539:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char aKWHash[127] = {
data/bibledit-5.0.912/sqlite/sqlite3.c:157554:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char aKWNext[145] = {
data/bibledit-5.0.912/sqlite/sqlite3.c:157569:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char aKWLen[145] = {
data/bibledit-5.0.912/sqlite/sqlite3.c:157600:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const unsigned char aKWCode[145] = {
data/bibledit-5.0.912/sqlite/sqlite3.c:159341: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(&y, &x, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:160524:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char zBuf[50];
data/bibledit-5.0.912/sqlite/sqlite3.c:162027: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(zFile, zUri, nUri);
data/bibledit-5.0.912/sqlite/sqlite3.c:162064: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 zDecoded[40];
data/bibledit-5.0.912/sqlite/sqlite3.c:162698: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 zMsg[100];
data/bibledit-5.0.912/sqlite/sqlite3.c:163903:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pNew, aArg, nArg*sizeof(void *));
data/bibledit-5.0.912/sqlite/sqlite3.c:166039:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(p, zCol, n);
data/bibledit-5.0.912/sqlite/sqlite3.c:166336:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p->aIndex, aIndex, sizeof(struct Fts3Index) * nIndex);
data/bibledit-5.0.912/sqlite/sqlite3.c:166346: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(zCsr, argv[2], nName);
data/bibledit-5.0.912/sqlite/sqlite3.c:166349: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(zCsr, argv[1], nDb);
data/bibledit-5.0.912/sqlite/sqlite3.c:166356:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    z = (char *)sqlite3Fts3NextToken(aCol[iCol], &n);
data/bibledit-5.0.912/sqlite/sqlite3.c:166358: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(zCsr, z, n);
data/bibledit-5.0.912/sqlite/sqlite3.c:166364:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    assert( zCsr <= &((char *)p)[nByte] );
data/bibledit-5.0.912/sqlite/sqlite3.c:166846: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(&zBuffer[nPrefix], zCsr, nSuffix);
data/bibledit-5.0.912/sqlite/sqlite3.c:167004:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p, *ppPoslist, n);
data/bibledit-5.0.912/sqlite/sqlite3.c:167042:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p, *ppPoslist, n);
data/bibledit-5.0.912/sqlite/sqlite3.c:167374: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 *aaOutput[16];             /* Malloc'd output buffers */
data/bibledit-5.0.912/sqlite/sqlite3.c:167779: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(pTS->aaOutput[0], aDoclist, nDoclist);
data/bibledit-5.0.912/sqlite/sqlite3.c:168698:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      zArg = (const char *)sqlite3_value_text(apVal[1]);
data/bibledit-5.0.912/sqlite/sqlite3.c:169615:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(aDoclist, a[p->nToken-1].pList, nByte+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:171087:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy((char *)p->pFts3Tab->zDb, zDb, nDb);
data/bibledit-5.0.912/sqlite/sqlite3.c:171088:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy((char *)p->pFts3Tab->zName, zFts3, nFts3);
data/bibledit-5.0.912/sqlite/sqlite3.c:171746:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pRet->pPhrase->aToken[0].z, zToken, nToken);
data/bibledit-5.0.912/sqlite/sqlite3.c:171861:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&zTemp[nTemp], zByte, nByte);
data/bibledit-5.0.912/sqlite/sqlite3.c:171889: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(zBuf, zTemp, nTemp);
data/bibledit-5.0.912/sqlite/sqlite3.c:172745: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.
  zExpr = (const char *)sqlite3_value_text(argv[1]);
data/bibledit-5.0.912/sqlite/sqlite3.c:172754: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.
    azCol[ii] = (char *)sqlite3_value_text(argv[ii+2]);
data/bibledit-5.0.912/sqlite/sqlite3.c:173193: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((void*)new_elem->pKey, pKey, nKey);
data/bibledit-5.0.912/sqlite/sqlite3.c:173553: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 zReverse[28];
data/bibledit-5.0.912/sqlite/sqlite3.c:174153:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *azArg[64];
data/bibledit-5.0.912/sqlite/sqlite3.c:174170: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.
  zName = (const char *)sqlite3_value_text(argv[0]);
data/bibledit-5.0.912/sqlite/sqlite3.c:174172:19:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zInput = (const char *)sqlite3_value_text(argv[argc-1]);
data/bibledit-5.0.912/sqlite/sqlite3.c:174188:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    azArg[i-1] = (const char *)sqlite3_value_text(argv[i]);
data/bibledit-5.0.912/sqlite/sqlite3.c:174271:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy((void *)pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp));
data/bibledit-5.0.912/sqlite/sqlite3.c:174435: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 delim[128];             /* flag ASCII delimiters */
data/bibledit-5.0.912/sqlite/sqlite3.c:174768:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pSpace, argv[i], n+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:174982:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char *zByte = (const char *)sqlite3_value_text(apVal[0]);
data/bibledit-5.0.912/sqlite/sqlite3.c:174988: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(pCsr->zInput, zByte, nByte);
data/bibledit-5.0.912/sqlite/sqlite3.c:176021:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char *zText = (const char *)sqlite3_value_text(apVal[i]);
data/bibledit-5.0.912/sqlite/sqlite3.c:176433:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(aCopy, pList->aData, nCopy);
data/bibledit-5.0.912/sqlite/sqlite3.c:176498: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(&pReader->zTerm[nPrefix], pNext, nSuffix);
data/bibledit-5.0.912/sqlite/sqlite3.c:176735:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    if( nRoot ) memcpy(pReader->aNode, zRoot, nRoot);
data/bibledit-5.0.912/sqlite/sqlite3.c:176859: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(pReader->ppNextElem, aElem, nElem*sizeof(Fts3HashElem *));
data/bibledit-5.0.912/sqlite/sqlite3.c:177157: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(&pTree->aData[nData], &zTerm[nPrefix], nSuffix);
data/bibledit-5.0.912/sqlite/sqlite3.c:177171:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pTree->zTerm, zTerm, nTerm);
data/bibledit-5.0.912/sqlite/sqlite3.c:177428: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(&pWriter->aData[nData], &zTerm[nPrefix], nSuffix);
data/bibledit-5.0.912/sqlite/sqlite3.c:177432: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(&pWriter->aData[nData], aDoclist, nDoclist);
data/bibledit-5.0.912/sqlite/sqlite3.c:177452: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(pWriter->zTerm, zTerm, nTerm);
data/bibledit-5.0.912/sqlite/sqlite3.c:177761: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(pMsr->aBuffer, pList, nList);
data/bibledit-5.0.912/sqlite/sqlite3.c:178105:15:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
              memcpy(&pCsr->aBuffer[nDoclist], pList, nList);
data/bibledit-5.0.912/sqlite/sqlite3.c:178867:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&p->term.a[nPrefix], &p->aNode[p->iOff], nSuffix);
data/bibledit-5.0.912/sqlite/sqlite3.c:178974:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&pBlk->a[pBlk->n], &zTerm[nPrefix], nSuffix);
data/bibledit-5.0.912/sqlite/sqlite3.c:178977:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pNode->key.a, zTerm, nTerm);
data/bibledit-5.0.912/sqlite/sqlite3.c:179051: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(pPrev->a, zTerm, nTerm);
data/bibledit-5.0.912/sqlite/sqlite3.c:179058: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(&pNode->a[pNode->n], &zTerm[nPrefix], nSuffix);
data/bibledit-5.0.912/sqlite/sqlite3.c:179063: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(&pNode->a[pNode->n], aDoclist, nDoclist);
data/bibledit-5.0.912/sqlite/sqlite3.c:179404:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pNode->block.a, aRoot, nRoot);
data/bibledit-5.0.912/sqlite/sqlite3.c:179418:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(pNode->key.a, reader.term.a, reader.term.n);
data/bibledit-5.0.912/sqlite/sqlite3.c:179430:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(pNode->block.a, aBlock, nBlock);
data/bibledit-5.0.912/sqlite/sqlite3.c:179901:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pHint->a, aHint, nHint);
data/bibledit-5.0.912/sqlite/sqlite3.c:180491: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).
      v = atoi(&zVal[9]);
data/bibledit-5.0.912/sqlite/sqlite3.c:180495: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).
      v = atoi(&zVal[11]);
data/bibledit-5.0.912/sqlite/sqlite3.c:180499: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).
      p->bNoIncrDoclist = atoi(&zVal[21]);
data/bibledit-5.0.912/sqlite/sqlite3.c:180502: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).
      v = atoi(&zVal[11]);
data/bibledit-5.0.912/sqlite/sqlite3.c:180623: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(pRet, &p->pList->aData[nSkip], *pnData);
data/bibledit-5.0.912/sqlite/sqlite3.c:181016: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(pRet->zMatchinfo, zMatchinfo, nStr+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:181057:24:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      if( p->bGlobal ) memcpy(aOut, &p->aMatchinfo[1], p->nElem*sizeof(u32));
data/bibledit-5.0.912/sqlite/sqlite3.c:181067:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&p->aMatchinfo[2+p->nElem], &p->aMatchinfo[1], p->nElem*sizeof(u32));
data/bibledit-5.0.912/sqlite/sqlite3.c:181495: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(&pStr->z[pStr->n], zAppend, nAppend);
data/bibledit-5.0.912/sqlite/sqlite3.c:182561: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.
          char aBuffer[64];
data/bibledit-5.0.912/sqlite/sqlite3.c:183520: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 zSpace[100];        /* Initial static space */
data/bibledit-5.0.912/sqlite/sqlite3.c:183646: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(zNew, p->zBuf, (size_t)p->nUsed);
data/bibledit-5.0.912/sqlite/sqlite3.c:183665:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p->zBuf+p->nUsed, zIn, N);
data/bibledit-5.0.912/sqlite/sqlite3.c:184484:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy((char*)p->zJson, zJson, nJson+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:185818:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p->zJson, z, (size_t)n+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:185840:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p->zRoot, zRoot, (size_t)n+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:186516: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(&x, p, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:186520: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(&x, p, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:186524: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(&x, p, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:186556:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, &i, 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:186559:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, &i, 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:186562:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, &i, 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:186575:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, &i, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:186578:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, &i, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:186580:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p, &i, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:187182: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(&c.u,a,4);                                           \
data/bibledit-5.0.912/sqlite/sqlite3.c:187190: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(&c.u,a,4);                                           \
data/bibledit-5.0.912/sqlite/sqlite3.c:187814: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(pBlob, pSrc, pSrc->iSize);
data/bibledit-5.0.912/sqlite/sqlite3.c:187991: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 zIdxStr[RTREE_MAX_DIMENSIONS*8+1];
data/bibledit-5.0.912/sqlite/sqlite3.c:188157: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(&cell, p, sizeof(RtreeCell));
data/bibledit-5.0.912/sqlite/sqlite3.c:188341: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(aSpare, aLeft, sizeof(int)*nLeft);
data/bibledit-5.0.912/sqlite/sqlite3.c:188410: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(aSpare, aLeft, sizeof(int)*nLeft);
data/bibledit-5.0.912/sqlite/sqlite3.c:188501: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(&left, &aCell[aaSorted[ii][0]], sizeof(RtreeCell));
data/bibledit-5.0.912/sqlite/sqlite3.c:188502: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(&right, &aCell[aaSorted[ii][nCell-1]], sizeof(RtreeCell));
data/bibledit-5.0.912/sqlite/sqlite3.c:188531: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(pBboxLeft, &aCell[aaSorted[iBestDim][0]], sizeof(RtreeCell));
data/bibledit-5.0.912/sqlite/sqlite3.c:188532: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(pBboxRight, &aCell[aaSorted[iBestDim][iBestSplit]], sizeof(RtreeCell));
data/bibledit-5.0.912/sqlite/sqlite3.c:188599: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(&aCell[nCell], pCell, sizeof(RtreeCell));
data/bibledit-5.0.912/sqlite/sqlite3.c:188894: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(&aCell[ii], pCell, sizeof(RtreeCell));
data/bibledit-5.0.912/sqlite/sqlite3.c:189511:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char *azSql[N_STATEMENT] = {
data/bibledit-5.0.912/sqlite/sqlite3.c:189765: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(pRtree->zDb, argv[1], nDb);
data/bibledit-5.0.912/sqlite/sqlite3.c:189766: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(pRtree->zName, argv[2], nName);
data/bibledit-5.0.912/sqlite/sqlite3.c:190037:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pRet, pNode, nNode);
data/bibledit-5.0.912/sqlite/sqlite3.c:190070:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  const char *azSql[2] = {
data/bibledit-5.0.912/sqlite/sqlite3.c:190503:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char hdr[4]; /* Header for on-disk representation */
data/bibledit-5.0.912/sqlite/sqlite3.c:190661: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(pOut->a, s.a, s.nVertex*2*sizeof(GeoCoord));
data/bibledit-5.0.912/sqlite/sqlite3.c:190709:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(p->hdr, a, nByte);
data/bibledit-5.0.912/sqlite/sqlite3.c:191118: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(pBBox->a, a, sizeof(RtreeCoord)*4);
data/bibledit-5.0.912/sqlite/sqlite3.c:191448:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aOverlap[4];
data/bibledit-5.0.912/sqlite/sqlite3.c:191635: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(pRtree->zDb, argv[1], nDb);
data/bibledit-5.0.912/sqlite/sqlite3.c:191636: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(pRtree->zName, argv[2], nName);
data/bibledit-5.0.912/sqlite/sqlite3.c:192437: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 zBuf[128];
data/bibledit-5.0.912/sqlite/sqlite3.c:192748:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    zLocale = (const char *)sqlite3_value_text(apArg[1]);
data/bibledit-5.0.912/sqlite/sqlite3.c:192850:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  zLocale = (const char *)sqlite3_value_text(apArg[0]);
data/bibledit-5.0.912/sqlite/sqlite3.c:192851: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.
  zName = (const char *)sqlite3_value_text(apArg[1]);
data/bibledit-5.0.912/sqlite/sqlite3.c:193003:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->zLocale, argv[0], n);
data/bibledit-5.0.912/sqlite/sqlite3.c:194184: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 zStateDb[5];               /* Db name for state ("stat" or "main") */
data/bibledit-5.0.912/sqlite/sqlite3.c:194405:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(zOut, &zSrc[ofst], cnt);
data/bibledit-5.0.912/sqlite/sqlite3.c:194420:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(zOut, zDelta, cnt);
data/bibledit-5.0.912/sqlite/sqlite3.c:194917:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(zRet, zStr, nCopy);
data/bibledit-5.0.912/sqlite/sqlite3.c:195071: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(pIter->abIndexed, pIter->abTblPk, sizeof(u8)*pIter->nTblCol);
data/bibledit-5.0.912/sqlite/sqlite3.c:196423: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(pUp->zMask, zMask, pIter->nTblCol);
data/bibledit-5.0.912/sqlite/sqlite3.c:196581:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->zStateDb, "stat", 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:196583:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->zStateDb, "main", 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:196949:11:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  nChar = MultiByteToWideChar(CP_UTF8, 0, zFilename, -1, NULL, 0);
data/bibledit-5.0.912/sqlite/sqlite3.c:196958:11:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
  nChar = MultiByteToWideChar(CP_UTF8, 0, zFilename, -1, zWideFilename,
data/bibledit-5.0.912/sqlite/sqlite3.c:197630: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 zRnd[64];
data/bibledit-5.0.912/sqlite/sqlite3.c:197775:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(p->zTarget, zTarget, nTarget+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:197779:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p->zRbu, zRbu, nRbu+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:198813:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(zCopy, zBase, nCopy);
data/bibledit-5.0.912/sqlite/sqlite3.c:199068: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(&pNew->base, &vfs_template, sizeof(sqlite3_vfs));
data/bibledit-5.0.912/sqlite/sqlite3.c:199073: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(zSpace, zName, nName);
data/bibledit-5.0.912/sqlite/sqlite3.c:200318: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(sqlite3PagerGetData(pDbPage),
data/bibledit-5.0.912/sqlite/sqlite3.c:200779:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&i, &r, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:200803:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          if( n ) memcpy(&aBuf[nVarint + 1], z, n);
data/bibledit-5.0.912/sqlite/sqlite3.c:200909:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&iVal, &rVal, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:201065: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(aOut, a2, n2);
data/bibledit-5.0.912/sqlite/sqlite3.c:201068: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(aOut, a1, n1);
data/bibledit-5.0.912/sqlite/sqlite3.c:201163:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(aOut, aOld, nOld);
data/bibledit-5.0.912/sqlite/sqlite3.c:201191: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(aOut, aNew, nNew);
data/bibledit-5.0.912/sqlite/sqlite3.c:201253:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&rVal, &iVal, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:201412: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(pAlloc, zThis, nThis+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:201422: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(pAlloc, zName, nName+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:202076: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(pNew->zDb, zDb, nDb+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:202201:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pTab->zName, zName, nName+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:202301:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->aBuf[p->nBuf], aBlob, nBlob);
data/bibledit-5.0.912/sqlite/sqlite3.c:202321:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->aBuf[p->nBuf], zStr, nStr);
data/bibledit-5.0.912/sqlite/sqlite3.c:202339: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 aBuf[24];
data/bibledit-5.0.912/sqlite/sqlite3.c:202394:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&i, &r, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:202477:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(&dVal, &iVal, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:202683:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&rVal, &iVal, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:203127: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(aCopy, aData, nData);
data/bibledit-5.0.912/sqlite/sqlite3.c:203204:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&d, &v, 8);
data/bibledit-5.0.912/sqlite/sqlite3.c:203339:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->tblhdr.aBuf[iPK], &p->in.aData[p->in.iNext], nCopy);
data/bibledit-5.0.912/sqlite/sqlite3.c:205021: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(pNew->aRecord, aRec, nRec);
data/bibledit-5.0.912/sqlite/sqlite3.c:205033:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pOut, pIn, nIn);
data/bibledit-5.0.912/sqlite/sqlite3.c:205065:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(pOut, a1, n1);
data/bibledit-5.0.912/sqlite/sqlite3.c:205068:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(pOut, a2, n2);
data/bibledit-5.0.912/sqlite/sqlite3.c:205131:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(aCsr, aRec, nRec);
data/bibledit-5.0.912/sqlite/sqlite3.c:205156:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(aCsr, aRec, nRec);
data/bibledit-5.0.912/sqlite/sqlite3.c:205226:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pTab->abPK, abPK, nCol);
data/bibledit-5.0.912/sqlite/sqlite3.c:205228:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pTab->zName, zNew, nNew+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:205519:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pOut, a2, nn2);
data/bibledit-5.0.912/sqlite/sqlite3.c:205522:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pOut, a1, nn1);
data/bibledit-5.0.912/sqlite/sqlite3.c:205575:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pOut, a1, n1);
data/bibledit-5.0.912/sqlite/sqlite3.c:205579:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pOut, a2, n2);
data/bibledit-5.0.912/sqlite/sqlite3.c:205593:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(pOut, a1, n1);
data/bibledit-5.0.912/sqlite/sqlite3.c:207957:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char fts5yycoverage[fts5YYNSTATE][fts5YYNFTS5TOKEN];
data/bibledit-5.0.912/sqlite/sqlite3.c:209547: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(&pBuf->p[pBuf->n], pData, nData);
data/bibledit-5.0.912/sqlite/sqlite3.c:209760: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(zRet, pIn, nIn);
data/bibledit-5.0.912/sqlite/sqlite3.c:209855:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pEntry->pTerm, pTerm, nTerm);
data/bibledit-5.0.912/sqlite/sqlite3.c:210195:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(pSpace, p2, p-p2);
data/bibledit-5.0.912/sqlite/sqlite3.c:210317: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(zOut, zIn, (size_t)(nIn+1));
data/bibledit-5.0.912/sqlite/sqlite3.c:210661:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      if( zRank ) memcpy(zRank, pRank, p-pRank);
data/bibledit-5.0.912/sqlite/sqlite3.c:210681:27:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          if( zRankArgs ) memcpy(zRankArgs, pArgs, p-pArgs);
data/bibledit-5.0.912/sqlite/sqlite3.c:211243:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(aNew, aIter, sizeof(Fts5PoslistReader) * nIter);
data/bibledit-5.0.912/sqlite/sqlite3.c:212446: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(pSyn->zTerm, pToken, nToken);
data/bibledit-5.0.912/sqlite/sqlite3.c:212604:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pColset, pColsetOrig, (size_t)nByte);
data/bibledit-5.0.912/sqlite/sqlite3.c:212821: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(pRet, pOrig, (size_t)nByte);
data/bibledit-5.0.912/sqlite/sqlite3.c:212949:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(&p->apChild[p->nChild], pSub->apChild, nByte);
data/bibledit-5.0.912/sqlite/sqlite3.c:214024: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(&zKey[1], pToken, nToken);
data/bibledit-5.0.912/sqlite/sqlite3.c:214244: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(&pRet[nPre], &((u8*)p)[nHashPre], nList);
data/bibledit-5.0.912/sqlite/sqlite3.c:215396: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(&(pBuf)->p[(pBuf)->n], pBlob, nBlob);             \
data/bibledit-5.0.912/sqlite/sqlite3.c:215494:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pOut->aSeg, &pLvl->aSeg[is], sizeof(Fts5StructureSegment));
data/bibledit-5.0.912/sqlite/sqlite3.c:219460:23:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      if( doclist.n ) memcpy(pData->p, doclist.p, doclist.n);
data/bibledit-5.0.912/sqlite/sqlite3.c:219707:18:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    if( nToken ) memcpy(&buf.p[1], pToken, nToken);
data/bibledit-5.0.912/sqlite/sqlite3.c:220676:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  if( n>0 ) memcpy(a, aBlob, n);
data/bibledit-5.0.912/sqlite/sqlite3.c:223499: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(pAux->zFunc, zName, nName);
data/bibledit-5.0.912/sqlite/sqlite3.c:223537: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(pNew->zName, zName, nName);
data/bibledit-5.0.912/sqlite/sqlite3.c:224975:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static unsigned char aAsciiTokenChar[128] = {
data/bibledit-5.0.912/sqlite/sqlite3.c:224988:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aTokenChar[128];
data/bibledit-5.0.912/sqlite/sqlite3.c:225031:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p->aTokenChar, aAsciiTokenChar, sizeof(aAsciiTokenChar));
data/bibledit-5.0.912/sqlite/sqlite3.c:225079: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 aFold[64];
data/bibledit-5.0.912/sqlite/sqlite3.c:225184:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aTokenChar[128];  /* ASCII range token characters */
data/bibledit-5.0.912/sqlite/sqlite3.c:225191:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char aCategory[32];    /* True for token char categories */
data/bibledit-5.0.912/sqlite/sqlite3.c:225450:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(aFold, p->aFold, nFold);
data/bibledit-5.0.912/sqlite/sqlite3.c:225504: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 aBuf[FTS5_PORTER_MAX_TOKEN + 64];
data/bibledit-5.0.912/sqlite/sqlite3.c:225591: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(&aBuf[nStem], p->zOutput, p->nOutput);
data/bibledit-5.0.912/sqlite/sqlite3.c:225830:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&aBuf[nBuf-2], "ate", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:225838:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&aBuf[nBuf-2], "ble", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:225846:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(&aBuf[nBuf-2], "ize", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:225865:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-7], "ate", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:225870:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-6], "tion", 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:225879:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "ence", 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:225884:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "ance", 4);
data/bibledit-5.0.912/sqlite/sqlite3.c:225893:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "ize", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:225902:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "log", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:225911:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-3], "ble", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:225916:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "al", 2);
data/bibledit-5.0.912/sqlite/sqlite3.c:225921:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ent", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:225926:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-3], "e", 1);
data/bibledit-5.0.912/sqlite/sqlite3.c:225931:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ous", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:225940:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-7], "ize", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:225945:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ate", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:225950:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "ate", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:225959:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "al", 2);
data/bibledit-5.0.912/sqlite/sqlite3.c:225964:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-7], "ive", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:225969:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-7], "ful", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:225974:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-7], "ous", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:225983:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "al", 2);
data/bibledit-5.0.912/sqlite/sqlite3.c:225988:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ive", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:225993:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-6], "ble", 3);
data/bibledit-5.0.912/sqlite/sqlite3.c:226012:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-4], "ic", 2);
data/bibledit-5.0.912/sqlite/sqlite3.c:226029:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ic", 2);
data/bibledit-5.0.912/sqlite/sqlite3.c:226034:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "ic", 2);
data/bibledit-5.0.912/sqlite/sqlite3.c:226059:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-5], "al", 2);
data/bibledit-5.0.912/sqlite/sqlite3.c:226078:11:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          memcpy(&aBuf[nBuf-3], "ee", 2);
data/bibledit-5.0.912/sqlite/sqlite3.c:226141: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(aBuf, pToken, nBuf);
data/bibledit-5.0.912/sqlite/sqlite3.c:227573: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(pRet->zFts5Tbl, zTab, nTab);
data/bibledit-5.0.912/sqlite/sqlite3.c:227574: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(pRet->zFts5Db, zDb, nDb);
data/bibledit-5.0.912/sqlite/sqlite3.c:227992:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(pCsr->zLeTerm, zCopy, pCsr->nLeTerm+1);
data/bibledit-5.0.912/sqlite/sqlite3.h:9423:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char hidden[48];
data/bibledit-5.0.912/sqlite/sqlite3ext.h:113: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).
  int  (*open)(const char*,sqlite3**);
data/bibledit-5.0.912/sqlite/sqlite3ext.h:434:53:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
#define sqlite3_open                   sqlite3_api->open
data/bibledit-5.0.912/webserver/webserver.cpp:117:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer [BUFFERSIZE];
data/bibledit-5.0.912/webserver/webserver.cpp:177: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).
            open
data/bibledit-5.0.912/webserver/webserver.cpp:180:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            unsigned char buffer [1024];
data/bibledit-5.0.912/webserver/webserver.cpp:323:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char remote_address[256];
data/bibledit-5.0.912/webserver/webserver.cpp:374: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 remote_address[256];
data/bibledit-5.0.912/webserver/webserver.cpp:505:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char remote_address [256];
data/bibledit-5.0.912/webserver/webserver.cpp:549:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char buffer [1];
data/bibledit-5.0.912/webserver/webserver.cpp:583:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 [1];
data/bibledit-5.0.912/webserver/webserver.cpp:647: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).
        open
data/bibledit-5.0.912/webserver/webserver.cpp:650:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        unsigned char buffer [1024];
data/bibledit-5.0.912/access/bible.cpp:54:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/access/bible.cpp:55:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  Database_Privileges::getBible (user, bible, read, write);
data/bibledit-5.0.912/access/bible.cpp:56:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read) {
data/bibledit-5.0.912/access/bible.cpp:102:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/access/bible.cpp:103:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  Database_Privileges::getBible (user, bible, read, write);
data/bibledit-5.0.912/access/bible.cpp:153:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/access/bible.cpp:154:57:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  Database_Privileges::getBibleBook (user, bible, book, read, write);
data/bibledit-5.0.912/access/bible.cpp:206:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void access_a_bible (void * webserver_request, bool & read, bool & write)
data/bibledit-5.0.912/access/bible.h:32:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void access_a_bible (void * webserver_request, bool & read, bool & write);
data/bibledit-5.0.912/checks/pairs.cpp:80:13:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (mismatch) {
data/bibledit-5.0.912/database/mappings.cpp:90:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    name = name.substr (0, strlen (name.c_str()) - 4);
data/bibledit-5.0.912/database/mappings.cpp:342:29:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
        if (existingpassage.equal (passage)) passageExists = true;
data/bibledit-5.0.912/database/privileges.cpp:238:89:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Database_Privileges::getBibleBook (string username, string bible, int book, bool & read, bool & write)
data/bibledit-5.0.912/database/privileges.cpp:262:75:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Database_Privileges::getBible (string username, string bible, bool & read, bool & write)
data/bibledit-5.0.912/database/privileges.h:39:77:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  static void getBibleBook (string username, string bible, int book, bool & read, bool & write);
data/bibledit-5.0.912/database/privileges.h:40:63:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  static void getBible (string username, string bible, bool & read, bool & write);
data/bibledit-5.0.912/edit/edit.cpp:44:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/edit/edit.cpp:45:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/edit/edit.cpp:46:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/edit/id.cpp:40:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/edit/id.cpp:41:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/edit/id.cpp:42:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/edit/index.cpp:53:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/edit/index.cpp:54:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/edit/load.cpp:44:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/edit/load.cpp:45:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/edit/navigate.cpp:40:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/edit/navigate.cpp:41:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/edit/position.cpp:40:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/edit/position.cpp:41:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/edit/preview.cpp:50:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/edit/preview.cpp:51:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/edit/preview.cpp:52:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/edit/save.cpp:54:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/edit/save.cpp:55:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/edit/save.cpp:56:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/edit/styles.cpp:38:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/edit/styles.cpp:39:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/edit/styles.cpp:40:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/editone/index.cpp:53:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/editone/index.cpp:54:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/editone/index.cpp:55:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/editone/load.cpp:46:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/editone/load.cpp:47:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/editone/load.cpp:48:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/editone/save.cpp:53:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/editone/save.cpp:54:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/editone/save.cpp:55:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/editone/verse.cpp:37:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/editone/verse.cpp:38:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/editone/verse.cpp:39:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/editor/select.cpp:44:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/editor/select.cpp:45:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/editusfm/focus.cpp:38:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/editusfm/focus.cpp:39:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/editusfm/focus.cpp:40:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/editusfm/index.cpp:50:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/editusfm/index.cpp:51:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/editusfm/load.cpp:38:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/editusfm/load.cpp:39:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/editusfm/load.cpp:40:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/editusfm/offset.cpp:38:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/editusfm/offset.cpp:39:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/editusfm/offset.cpp:40:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/editusfm/save.cpp:50:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/editusfm/save.cpp:51:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/editusfm/save.cpp:52:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/email/send.cpp:148:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t len = strlen(data);
data/bibledit-5.0.912/filter/passage.cpp:47:15:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
bool Passage::equal (Passage & passage)
data/bibledit-5.0.912/filter/passage.h:36:8:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
  bool equal (Passage & passage);
data/bibledit-5.0.912/filter/string.cpp:449:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t length = strlen (input);
data/bibledit-5.0.912/filter/string.cpp:453:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (startiter)) {
data/bibledit-5.0.912/filter/string.cpp:470:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (strlen (enditer)) {
data/bibledit-5.0.912/filter/url.cpp:428:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ifs.read(&bytes[0], (int)filesize);
data/bibledit-5.0.912/filter/url.cpp:1436:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ret = read(sock, &cur, 1);
data/bibledit-5.0.912/filter/url.cpp:1525:145:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ret = mbedtls_ctr_drbg_seed (&filter_url_mbed_tls_ctr_drbg, mbedtls_entropy_func, &filter_url_mbed_tls_entropy, (const unsigned char *) pers, strlen (pers));
data/bibledit-5.0.912/i18n/i18n.cpp:54:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  ifs.read(&bytes[0], (int)filesize);
data/bibledit-5.0.912/jsonxx/jsonxx_test.cc:643:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            TEST( read.size() );
data/bibledit-5.0.912/jsonxx/jsonxx_test.cc:644:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            cout << read << endl;
data/bibledit-5.0.912/manage/users.cpp:300:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            bool read, write;
data/bibledit-5.0.912/manage/users.cpp:301:61:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            Database_Privileges::getBible (username, bible, read, write);
data/bibledit-5.0.912/manage/users.cpp:309:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
              Database_Privileges::getBibleBook (username, bible, book, read, write);
data/bibledit-5.0.912/manage/write.cpp:107:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool read, write;
data/bibledit-5.0.912/manage/write.cpp:108:63:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        Database_Privileges::getBibleBook (user, bible, book, read, write);
data/bibledit-5.0.912/manage/write.cpp:131:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bool read, write;
data/bibledit-5.0.912/manage/write.cpp:132:59:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    Database_Privileges::getBibleBook (user, bible, book, read, write);
data/bibledit-5.0.912/microtar/microtar.c:64:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int err = tar->read(tar, data, size);
data/bibledit-5.0.912/microtar/microtar.h:67:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int (*read)(mtar_t *tar, void *data, unsigned size);
data/bibledit-5.0.912/miniz/miniz.c:4178: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).
    const mz_uint filename_len = (mz_uint)strlen(pFilename);
data/bibledit-5.0.912/miniz/miniz.c:4240: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).
    name_len = strlen(pName);
data/bibledit-5.0.912/miniz/miniz.c:4244: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).
    comment_len = pComment ? strlen(pComment) : 0;
data/bibledit-5.0.912/miniz/miniz.c:4852: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 (local_header_filename_len != strlen(file_stat.m_filename))
data/bibledit-5.0.912/miniz/miniz.c:5774: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).
    archive_name_size = strlen(pArchive_name);
data/bibledit-5.0.912/miniz/miniz.c:6041: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).
    archive_name_size = strlen(pArchive_name);
data/bibledit-5.0.912/notes/note.cpp:90:27:  [1] (buffer) equal:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
      if (focused_passage.equal (passage)) passage_focused = true;
data/bibledit-5.0.912/paratext/logic.cpp:118:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  fin.read (buffer, 7);
data/bibledit-5.0.912/personalize/index.cpp:478:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/personalize/index.cpp:479:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/personalize/index.cpp:480:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read || write) bibles = true;
data/bibledit-5.0.912/pugixml/pugixml.cpp:208:10:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return wcslen(s);
data/bibledit-5.0.912/pugixml/pugixml.cpp:210:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return strlen(s);
data/bibledit-5.0.912/pugixml/pugixml.cpp:242:10:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return wcslen(s);
data/bibledit-5.0.912/pugixml/pugixml.cpp:4513:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		assert(strlen(buf) < sizeof(wbuf) / sizeof(wbuf[0]));
data/bibledit-5.0.912/pugixml/pugixml.cpp:4520: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).
		return strcpy_insitu(dest, header, header_mask, buf, strlen(buf));
data/bibledit-5.0.912/pugixml/pugixml.cpp:4769:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			stream.read(chunk->data, static_cast<std::streamsize>(sizeof(chunk->data) / sizeof(T)));
data/bibledit-5.0.912/pugixml/pugixml.cpp:4825:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		stream.read(static_cast<T*>(buffer.data), static_cast<std::streamsize>(read_length));
data/bibledit-5.0.912/pugixml/pugixml.cpp:6942:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return impl::as_wide_impl(str, strlen(str));
data/bibledit-5.0.912/pugixml/pugixml.cpp:7927: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).
		truncate_zeros(buffer, buffer + strlen(buffer));
data/bibledit-5.0.912/pugixml/pugixml.cpp:7938:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		assert(strlen(buffer) < buffer_size);
data/bibledit-5.0.912/pugixml/pugixml.cpp:7979:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t result_size = strlen(mantissa_buffer) + (exponent > 0 ? exponent : -exponent) + 4;
data/bibledit-5.0.912/search/all.cpp:46:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/search/all.cpp:47:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/search/all.cpp:48:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/search/getids.cpp:40:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/search/getids.cpp:41:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/search/getids2.cpp:40:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/search/getids2.cpp:41:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/search/index.cpp:43:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/search/index.cpp:44:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/search/index.cpp:45:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/search/originals.cpp:48:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/search/originals.cpp:49:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/search/originals.cpp:50:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/search/replace.cpp:45:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/search/replace.cpp:46:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/search/replace2.cpp:45:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/search/replace2.cpp:46:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/search/replacego.cpp:46:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/search/replacego.cpp:47:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/search/replacego2.cpp:46:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/search/replacego2.cpp:47:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/search/replacepre.cpp:41:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/search/replacepre.cpp:42:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/search/replacepre2.cpp:41:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/search/replacepre2.cpp:42:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/search/search2.cpp:46:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/search/search2.cpp:47:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/search/search2.cpp:48:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/search/similar.cpp:46:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/search/similar.cpp:47:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/search/similar.cpp:48:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/search/strong.cpp:46:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/search/strong.cpp:47:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/search/strong.cpp:48:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/search/strongs.cpp:46:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/search/strongs.cpp:47:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/search/strongs.cpp:48:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read;
data/bibledit-5.0.912/setup/logic.cpp:162: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).
  size_t package_length = strlen (package);
data/bibledit-5.0.912/sqlite/shell.c:1204:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(dirp->d_first.d_name, data.name, NAME_MAX);
data/bibledit-5.0.912/sqlite/shell.c:1237:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(dirp->d_next.d_name, data.name, NAME_MAX);
data/bibledit-5.0.912/sqlite/shell.c:1261:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(entry->d_name, dirp->d_first.d_name, NAME_MAX);
data/bibledit-5.0.912/sqlite/shell.c:1281:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(entry->d_name, data.name, NAME_MAX);
data/bibledit-5.0.912/sqlite/shell.c:1852: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).
  n = (int)strlen(zBuf);
data/bibledit-5.0.912/sqlite/shell.c:1935:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = (int)strlen(z);
data/bibledit-5.0.912/sqlite/shell.c:2344: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).
    int nCopy = (int)strlen(zCopy);
data/bibledit-5.0.912/sqlite/shell.c:2871: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).
    pCur->nBase = (int)strlen(pCur->zBase)+1;
data/bibledit-5.0.912/sqlite/shell.c:4573: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).
    nFile = (int)strlen(zFile)+1;
data/bibledit-5.0.912/sqlite/shell.c:5622:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( strlen(z)!=10 ) goto parse_error;
data/bibledit-5.0.912/sqlite/shell.c:5653:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nA = (int)strlen(zA);
data/bibledit-5.0.912/sqlite/shell.c:5776: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).
    int nDelete = (int)strlen(zDelete);
data/bibledit-5.0.912/sqlite/shell.c:5844: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).
      nPath = (int)strlen(zPath);
data/bibledit-5.0.912/sqlite/shell.c:5860: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).
          nPath = (int)strlen(zPath);
data/bibledit-5.0.912/sqlite/shell.c:6266: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).
      nName = (int)strlen(zName);
data/bibledit-5.0.912/sqlite/shell.c:6736: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).
#define STRLEN  (int)strlen
data/bibledit-5.0.912/sqlite/shell.c:12612: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).
        nNL = (int)strlen(zNL);
data/bibledit-5.0.912/sqlite/shell.c:12616: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).
        nCR = (int)strlen(zCR);
data/bibledit-5.0.912/sqlite/shell.c:13110:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = fgetc(p->in);
data/bibledit-5.0.912/sqlite/shell.c:13121:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = fgetc(p->in);
data/bibledit-5.0.912/sqlite/shell.c:13157:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = fgetc(p->in);
data/bibledit-5.0.912/sqlite/shell.c:13160:13:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = fgetc(p->in);
data/bibledit-5.0.912/sqlite/shell.c:13170:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = fgetc(p->in);
data/bibledit-5.0.912/sqlite/shell.c:13200:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  c = fgetc(p->in);
data/bibledit-5.0.912/sqlite/shell.c:13207:9:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = fgetc(p->in);
data/bibledit-5.0.912/sqlite/shell.c:16391: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).
        lenPK = (int)strlen(zCollist);
data/bibledit-5.0.912/sqlite/shell.c:16906:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(mainPrompt,azArg[1],(int)ArraySize(mainPrompt)-1);
data/bibledit-5.0.912/sqlite/shell.c:16909:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(continuePrompt,azArg[2],(int)ArraySize(continuePrompt)-1);
data/bibledit-5.0.912/sqlite/shell.c:18042: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).
    lenOpt = (int)strlen(zOpt);
data/bibledit-5.0.912/sqlite/shell.c:18696:7:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      fgetc(stdin);
data/bibledit-5.0.912/sqlite/shell.c:18732:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = (int)strlen(z);
data/bibledit-5.0.912/sqlite/sqlite3.c:19179: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).
#define sqlite3Strlen30NN(C) (strlen(C)&0x3fffffff)
data/bibledit-5.0.912/sqlite/sqlite3.c:27840: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).
  n = strlen(z) + 1;
data/bibledit-5.0.912/sqlite/sqlite3.c:28708: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).
            pAccum->nChar = 0x7fffffff & (int)strlen(bufpt);
data/bibledit-5.0.912/sqlite/sqlite3.c:28728: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).
          length = 0x7fffffff & (int)strlen(bufpt);
data/bibledit-5.0.912/sqlite/sqlite3.c:31061: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).
  return 0x3fffffff & (int)strlen(z);
data/bibledit-5.0.912/sqlite/sqlite3.c:31073: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).
  return pCol->zName + strlen(pCol->zName) + 1;
data/bibledit-5.0.912/sqlite/sqlite3.c:33711:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  { "read",         (sqlite3_syscall_ptr)read,       0  },
data/bibledit-5.0.912/sqlite/sqlite3.c:34259: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).
  n = (int)strlen(zAbsoluteName);
data/bibledit-5.0.912/sqlite/sqlite3.c:34863:5:  [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(1000);
data/bibledit-5.0.912/sqlite/sqlite3.c:36969: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).
  for(ii=(int)strlen(zDirname); ii>0 && zDirname[ii]!='/'; ii--);
data/bibledit-5.0.912/sqlite/sqlite3.c:37837: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).
    nShmFilename = 6 + (int)strlen(zBasePath);
data/bibledit-5.0.912/sqlite/sqlite3.c:38905: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).
    nFilename = (int)strlen(zFilename) + 6;
data/bibledit-5.0.912/sqlite/sqlite3.c:39308:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    assert( (flags & SQLITE_OPEN_URI) || zName[strlen(zName)+1]==0 );
data/bibledit-5.0.912/sqlite/sqlite3.c:39321: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).
    assert( zName[strlen(zName)+1]==0 );
data/bibledit-5.0.912/sqlite/sqlite3.c:39802: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(microseconds);
data/bibledit-5.0.912/sqlite/sqlite3.c:40098: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).
  dbLen = (int)strlen(dbPath);
data/bibledit-5.0.912/sqlite/sqlite3.c:40119:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = (int)strlen(lockPath);
data/bibledit-5.0.912/sqlite/sqlite3.c:40375:9:  [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(500000); /* wait 0.5 sec and try the lock again*/
data/bibledit-5.0.912/sqlite/sqlite3.c:40401:9:  [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(10000000); /* wait 10 sec and try the lock again */
data/bibledit-5.0.912/sqlite/sqlite3.c:40550: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).
        writeSize = PROXY_PATHINDEX + strlen(&writeBuffer[PROXY_PATHINDEX]);
data/bibledit-5.0.912/sqlite/sqlite3.c:40681: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).
  int len = (int)strlen(dbPath); /* Length of database filename - dbPath */
data/bibledit-5.0.912/sqlite/sqlite3.c:40707: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).
  assert( (int)strlen(conchPath) == len+7 );
data/bibledit-5.0.912/sqlite/sqlite3.c:40757: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).
    assert( (int)strlen((char*)pFile->lockingContext)<=MAXPATHLEN );
data/bibledit-5.0.912/sqlite/sqlite3.c:40765:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX);
data/bibledit-5.0.912/sqlite/sqlite3.c:40765:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int len = strlen((char *)pFile->lockingContext) - strlen(DOTLOCK_SUFFIX);
data/bibledit-5.0.912/sqlite/sqlite3.c:40769: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).
    assert( strlen((char*)pFile->lockingContext)<=MAXPATHLEN );
data/bibledit-5.0.912/sqlite/sqlite3.c:56206: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).
      z += strlen(z)+1;
data/bibledit-5.0.912/sqlite/sqlite3.c:56207: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).
      z += strlen(z)+1;
data/bibledit-5.0.912/sqlite/sqlite3.c:76520: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).
      nByte = 0x7fffffff & (int)strlen(z);
data/bibledit-5.0.912/sqlite/sqlite3.c:126681: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).
  assert( strlen(zBuf) < sizeof(zBuf)-1 );
data/bibledit-5.0.912/sqlite/sqlite3.c:140465: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).
  assert( zAff==0 || (int)strlen(zAff)>=nEq );
data/bibledit-5.0.912/sqlite/sqlite3.c:165756: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).
  nRet = 2 + (int)strlen(zInput)*2 + 1;
data/bibledit-5.0.912/sqlite/sqlite3.c:166027: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).
      nStr += strlen(zCol) + 1;
data/bibledit-5.0.912/sqlite/sqlite3.c:166038: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).
        int n = (int)strlen(zCol)+1;
data/bibledit-5.0.912/sqlite/sqlite3.c:166104: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).
  assert( strlen(argv[0])==4 );
data/bibledit-5.0.912/sqlite/sqlite3.c:166109:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nDb = (int)strlen(argv[1]) + 1;
data/bibledit-5.0.912/sqlite/sqlite3.c:166110: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).
  nName = (int)strlen(argv[2]) + 1;
data/bibledit-5.0.912/sqlite/sqlite3.c:166144: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(z)>8
data/bibledit-5.0.912/sqlite/sqlite3.c:166179:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if( strlen(zVal)!=4 || sqlite3_strnicmp(zVal, "fts3", 4) ){
data/bibledit-5.0.912/sqlite/sqlite3.c:166205: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).
            if( (strlen(zVal)!=3 || sqlite3_strnicmp(zVal, "asc", 3)) 
data/bibledit-5.0.912/sqlite/sqlite3.c:166206: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).
             && (strlen(zVal)!=4 || sqlite3_strnicmp(zVal, "desc", 4)) 
data/bibledit-5.0.912/sqlite/sqlite3.c:166244: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).
      nString += (int)(strlen(z) + 1);
data/bibledit-5.0.912/sqlite/sqlite3.c:166369: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).
    int n = (int)strlen(p->azColumn[iCol]);
data/bibledit-5.0.912/sqlite/sqlite3.c:166372: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).
      if( zNot && n==(int)strlen(zNot)
data/bibledit-5.0.912/sqlite/sqlite3.c:171059:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nDb = (int)strlen(zDb);
data/bibledit-5.0.912/sqlite/sqlite3.c:171063: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).
      nDb = (int)strlen(zDb);
data/bibledit-5.0.912/sqlite/sqlite3.c:171071: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).
  nFts3 = (int)strlen(zFts3);
data/bibledit-5.0.912/sqlite/sqlite3.c:171396: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).
      pCsr->filter.nTerm = (int)strlen(pCsr->filter.zTerm);
data/bibledit-5.0.912/sqlite/sqlite3.c:171403: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).
    pCsr->nStop = (int)strlen(pCsr->zStop);
data/bibledit-5.0.912/sqlite/sqlite3.c:172055:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int nStr = (int)strlen(zStr);
data/bibledit-5.0.912/sqlite/sqlite3.c:172515:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = (int)strlen(z);
data/bibledit-5.0.912/sqlite/sqlite3.c:172924: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( nKey<=0 ) nKey = (int) strlen(z);
data/bibledit-5.0.912/sqlite/sqlite3.c:173315: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).
    c->nInput = (int)strlen(zInput);
data/bibledit-5.0.912/sqlite/sqlite3.c:173777:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  *pnOut = i = (int)strlen(z);
data/bibledit-5.0.912/sqlite/sqlite3.c:174055: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).
  zEnd = &zCopy[strlen(zCopy)];
data/bibledit-5.0.912/sqlite/sqlite3.c:174065:68:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  m = (sqlite3_tokenizer_module *)sqlite3Fts3HashFind(pHash,z,(int)strlen(z)+1);
data/bibledit-5.0.912/sqlite/sqlite3.c:174475:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int i, n = (int)strlen(argv[1]);
data/bibledit-5.0.912/sqlite/sqlite3.c:174527: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).
    c->nBytes = (int)strlen(pInput);
data/bibledit-5.0.912/sqlite/sqlite3.c:174719:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nName = (int)strlen(zName);
data/bibledit-5.0.912/sqlite/sqlite3.c:174757: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).
      nByte += (int)(strlen(argv[i]) + 1);
data/bibledit-5.0.912/sqlite/sqlite3.c:174766: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).
        int n = (int)strlen(argv[i]);
data/bibledit-5.0.912/sqlite/sqlite3.c:181006: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).
  sqlite3_int64 nStr = strlen(zMatchinfo);
data/bibledit-5.0.912/sqlite/sqlite3.c:181476: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).
    nAppend = (int)strlen(zAppend);
data/bibledit-5.0.912/sqlite/sqlite3.c:182856: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).
    int n = (int)strlen(z);
data/bibledit-5.0.912/sqlite/sqlite3.c:182911: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).
    pCsr->nInput = (int)strlen(aInput);
data/bibledit-5.0.912/sqlite/sqlite3.c:183677:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  p->nUsed += (int)strlen(p->zBuf+p->nUsed);
data/bibledit-5.0.912/sqlite/sqlite3.c:185690: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).
          jsonAppendRaw(&x, p->zRoot, (int)strlen(p->zRoot));
data/bibledit-5.0.912/sqlite/sqlite3.c:187892: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).
                || (idxStr && (int)strlen(idxStr)==argc*2) );
data/bibledit-5.0.912/sqlite/sqlite3.c:189753:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  nDb = (int)strlen(argv[1]);
data/bibledit-5.0.912/sqlite/sqlite3.c:189754: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).
  nName = (int)strlen(argv[2]);
data/bibledit-5.0.912/sqlite/sqlite3.c:191621: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).
  nDb = strlen(argv[1]);
data/bibledit-5.0.912/sqlite/sqlite3.c:191622: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).
  nName = strlen(argv[2]);
data/bibledit-5.0.912/sqlite/sqlite3.c:192993: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).
    n = strlen(argv[0])+1;
data/bibledit-5.0.912/sqlite/sqlite3.c:193049:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nInput = strlen(zInput);
data/bibledit-5.0.912/sqlite/sqlite3.c:194758:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if( strlen(zIn)>4 && memcmp("data", zIn, 4)==0 ){
data/bibledit-5.0.912/sqlite/sqlite3.c:194914:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      size_t nCopy = strlen(zStr) + 1;
data/bibledit-5.0.912/sqlite/sqlite3.c:195702:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if( (int)strlen(zMask)!=pIter->nTblCol ){
data/bibledit-5.0.912/sqlite/sqlite3.c:196663:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if( strlen(p->zRbu)>=5 && 0==memcmp("file:", p->zRbu, 5) ){
data/bibledit-5.0.912/sqlite/sqlite3.c:196748: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).
    sz = (int)strlen(z)&0xffffff;
data/bibledit-5.0.912/sqlite/sqlite3.c:197757: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).
  size_t nTarget = zTarget ? strlen(zTarget) : 0;
data/bibledit-5.0.912/sqlite/sqlite3.c:197758:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t nRbu = strlen(zRbu);
data/bibledit-5.0.912/sqlite/sqlite3.c:197939:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(zState);
data/bibledit-5.0.912/sqlite/sqlite3.c:197968:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    size_t nErrmsg = strlen(p->zErrmsg);
data/bibledit-5.0.912/sqlite/sqlite3.c:198810: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).
          nCopy = strlen(zBase);
data/bibledit-5.0.912/sqlite/sqlite3.c:199055: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).
  nName = strlen(zName);
data/bibledit-5.0.912/sqlite/sqlite3.c:202732:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  sessionAppendBlob(pBuf, (u8 *)pTab->zName, (int)strlen(pTab->zName)+1, pRc);
data/bibledit-5.0.912/sqlite/sqlite3.c:204276: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).
      sessionAppendBlob(&p->rebase, (u8*)zTab, (int)strlen(zTab)+1, &rc);
data/bibledit-5.0.912/sqlite/sqlite3.c:204756:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        nTab = (int)strlen(zTab);
data/bibledit-5.0.912/sqlite/sqlite3.c:205208: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).
      int nNew = (int)strlen(zNew);
data/bibledit-5.0.912/sqlite/sqlite3.c:205656: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).
      sessionAppendBlob(&sOut,(u8*)pIter->zTab,(int)strlen(pIter->zTab)+1,&rc);
data/bibledit-5.0.912/sqlite/sqlite3.c:208898: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).
    if( n<0 ) n = (int)strlen(z);
data/bibledit-5.0.912/sqlite/sqlite3.c:209562: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).
  int nStr = (int)strlen(zStr);
data/bibledit-5.0.912/sqlite/sqlite3.c:209756: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).
      nIn = (int)strlen(pIn);
data/bibledit-5.0.912/sqlite/sqlite3.c:210089:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int nEnum = (int)strlen(zEnum);
data/bibledit-5.0.912/sqlite/sqlite3.c:210121: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).
  int nCmd = (int)strlen(zCmd);
data/bibledit-5.0.912/sqlite/sqlite3.c:210177:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    sqlite3_int64 nArg = strlen(zArg) + 1;
data/bibledit-5.0.912/sqlite/sqlite3.c:210307: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).
  sqlite3_int64 nIn = strlen(zIn);
data/bibledit-5.0.912/sqlite/sqlite3.c:211680: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).
              pExpr->pIndex, p->zTerm, (int)strlen(p->zTerm),
data/bibledit-5.0.912/sqlite/sqlite3.c:212530:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = (int)strlen(z);
data/bibledit-5.0.912/sqlite/sqlite3.c:212617:66:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        rc = fts5ParseTokenize((void*)&sCtx, tflags, zTerm, (int)strlen(zTerm),
data/bibledit-5.0.912/sqlite/sqlite3.c:213110: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).
    nByte += (int)strlen(pTerm->zTerm) * 2 + 3 + 2;
data/bibledit-5.0.912/sqlite/sqlite3.c:213593: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).
      int nTerm = (int)strlen(pTerm->zTerm);
data/bibledit-5.0.912/sqlite/sqlite3.c:213912: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).
                          (int)strlen(fts5EntryKey(p)));
data/bibledit-5.0.912/sqlite/sqlite3.c:214234: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).
    assert( p->nKey+1==(int)strlen(zKey) );
data/bibledit-5.0.912/sqlite/sqlite3.c:214284: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).
    int nTerm = (int)strlen(zKey);
data/bibledit-5.0.912/sqlite/sqlite3.c:216235:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      sqlite3Fts5BufferSet(&p->rc,&pIter->term, (int)strlen(zTerm), (u8*)zTerm);
data/bibledit-5.0.912/sqlite/sqlite3.c:216315:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      sqlite3Fts5BufferSet(&p->rc, &pIter->term, (int)strlen(zTerm),
data/bibledit-5.0.912/sqlite/sqlite3.c:216764: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).
    n = (z ? (int)strlen((const char*)z) : 0);
data/bibledit-5.0.912/sqlite/sqlite3.c:218832: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).
      fts5WriteAppendTerm(p, &writer, (int)strlen(zTerm), (const u8*)zTerm);
data/bibledit-5.0.912/sqlite/sqlite3.c:221511: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).
            idxStr += strlen(&idxStr[iIdxStr]);
data/bibledit-5.0.912/sqlite/sqlite3.c:223493: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).
    nName = strlen(zName) + 1;
data/bibledit-5.0.912/sqlite/sqlite3.c:223531: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).
  nName = strlen(zName) + 1;
data/bibledit-5.0.912/sqlite/sqlite3.c:224110:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        iOff = (int)strlen(zDefn);
data/bibledit-5.0.912/sqlite/sqlite3.c:224113: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).
          iOff += (int)strlen(&zDefn[iOff]);
data/bibledit-5.0.912/sqlite/sqlite3.c:225205: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).
  int n = (int)strlen(z);
data/bibledit-5.0.912/sqlite/sqlite3.c:225582: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).
    assert( strlen(p->zSuffix)==p->nSuffix );
data/bibledit-5.0.912/sqlite/sqlite3.c:225583: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).
    assert( strlen(p->zOutput)==p->nOutput );
data/bibledit-5.0.912/sqlite/sqlite3.c:227545:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  bDb = (argc==6 && strlen(argv[1])==4 && memcmp("temp", argv[1], 4)==0);
data/bibledit-5.0.912/sqlite/sqlite3.c:227555:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int nDb = (int)strlen(zDb)+1; 
data/bibledit-5.0.912/sqlite/sqlite3.c:227556:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int nTab = (int)strlen(zTab)+1;
data/bibledit-5.0.912/user/notifications.cpp:52:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read, write;
data/bibledit-5.0.912/user/notifications.cpp:53:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  access_a_bible (webserver_request, read, write);
data/bibledit-5.0.912/user/notifications.cpp:54:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if (read) return true;
data/bibledit-5.0.912/utf8proc/utf8proc.c:113:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const utf8proc_uint8_t *str, utf8proc_ssize_t strlen, utf8proc_int32_t *dst
data/bibledit-5.0.912/utf8proc/utf8proc.c:119: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) return 0;
data/bibledit-5.0.912/utf8proc/utf8proc.c:120: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).
  end = str + ((strlen < 0) ? 4 : strlen);
data/bibledit-5.0.912/utf8proc/utf8proc.c:120: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).
  end = str + ((strlen < 0) ? 4 : strlen);
data/bibledit-5.0.912/utf8proc/utf8proc.c:403:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const utf8proc_uint8_t *str, utf8proc_ssize_t strlen,
data/bibledit-5.0.912/utf8proc/utf8proc.c:427:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (rpos >= strlen) break;
data/bibledit-5.0.912/utf8proc/utf8proc.c:587:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const utf8proc_uint8_t *str, utf8proc_ssize_t strlen, utf8proc_uint8_t **dstptr, utf8proc_option_t options
data/bibledit-5.0.912/utf8proc/utf8proc.c:592: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).
  result = utf8proc_decompose(str, strlen, NULL, 0, options);
data/bibledit-5.0.912/utf8proc/utf8proc.c:596: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).
  result = utf8proc_decompose(str, strlen, buffer, result, options);
data/bibledit-5.0.912/utf8proc/utf8proc.h:393:100:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_iterate(const utf8proc_uint8_t *str, utf8proc_ssize_t strlen, utf8proc_int32_t *codepoint_ref);
data/bibledit-5.0.912/utf8proc/utf8proc.h:477:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const utf8proc_uint8_t *str, utf8proc_ssize_t strlen,
data/bibledit-5.0.912/utf8proc/utf8proc.h:570:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  const utf8proc_uint8_t *str, utf8proc_ssize_t strlen, utf8proc_uint8_t **dstptr, utf8proc_option_t options
data/bibledit-5.0.912/webserver/webserver.cpp:187:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
              read
data/bibledit-5.0.912/webserver/webserver.cpp:657:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          read
data/bibledit-5.0.912/webserver/webserver.cpp:778:105:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ret = mbedtls_ctr_drbg_seed( &ctr_drbg, mbedtls_entropy_func, &entropy, (const unsigned char *) pers, strlen (pers));

ANALYSIS SUMMARY:

Hits = 1190
Lines analyzed = 411498 in approximately 12.19 seconds (33754 lines/second)
Physical Source Lines of Code (SLOC) = 264912
Hits@level = [0] 192 [1] 317 [2] 789 [3]  23 [4]  53 [5]   8
Hits@level+ = [0+] 1382 [1+] 1190 [2+] 873 [3+]  84 [4+]  61 [5+]   8
Hits/KSLOC@level+ = [0+] 5.21683 [1+] 4.49206 [2+] 3.29543 [3+] 0.317086 [4+] 0.230265 [5+] 0.0301987
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.