diff options
| author | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2026-06-06 13:44:00 -0400 |
|---|---|---|
| committer | Douglas B. Rumbaugh <doug@douglasrumbaugh.com> | 2026-06-06 13:44:00 -0400 |
| commit | c102ab995f9a86a77e40b9a952b2b23c0bd7de74 (patch) | |
| tree | d51b9a8f1a55f7f6e6e5afb89d524b9baa350f45 /README.md | |
| parent | b56c273d8198ae6cee69bbc9fe5a6a61da4074e4 (diff) | |
| download | bibutils-c102ab995f9a86a77e40b9a952b2b23c0bd7de74.tar.gz | |
Fuzzing with associated fixes
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -10,7 +10,10 @@ smaller provided scripts for convenience's sake. ## bib-add A script for inserting a new entry into a bibtex database file. It will accept a fully formatted entry on standard input and add it to a database -file presented as an argument. +file presented as an argument. The database is never modified in place: +the new version is built in a temporary file, verified, and only then +swapped in, with the previous contents saved in db.bib.bak. Replacing an +entry (-f) preserves every other byte of the file. ## bib-gen A script which generates a bibtex entry based on input. By default it will @@ -72,4 +75,5 @@ POSIX shell and awk only, with two exceptions: bib-fetch requires curl, plus pdftotext (poppler) for DOI extraction from pdfs. # Tests - make test + make test # unit + integration suites + make fuzz # robustness fuzzing against bogus input |