Skip to content

Commit 01c7926

Browse files
authored
Update SECURITY.md to clarify where to report non-BWIPP issues
1 parent 383bada commit 01c7926

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

SECURITY.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,29 @@ causes any of the following:
3636

3737
## What Is Not a Vulnerability
3838

39-
Most reported security bugs in BWIPP are "just bugs." The following are not
40-
considered security vulnerabilities, and should be reported openly via the
41-
[issue tracker](https://github.com/bwipp/postscriptbarcode/issues):
39+
Most reported security bugs in BWIPP are "just bugs".
40+
41+
The following are not considered security vulnerabilities, and should be reported
42+
openly via the [issue tracker](https://github.com/bwipp/postscriptbarcode/issues):
4243

4344
- **Incorrect barcode output** from valid input (a correctness bug).
4445
- **PostScript errors** (e.g. `stackunderflow`, `rangecheck`) caused by
4546
malformed input data or options — the library validates input and raises
4647
descriptive errors; unhandled cases are ordinary bugs.
47-
- **API misuse** — calling encoders with incorrect stack state, wrong argument
48-
types, or outside the [documented calling convention](https://github.com/bwipp/postscriptbarcode/wiki/PostScript-Calling-Convention).
4948
- **Issues in debug/development features** that require `enabledebug` or
5049
`enabledontdraw` to be explicitly set in global context.
51-
- **Interpreter bugs** — crashes or misbehaviour in the hosting interpreter
52-
triggered by valid PostScript operations (e.g. font loading side effects from
53-
user-specified `textfont`). These are the interpreter's responsibility.
50+
51+
These are user issues that should be reported to the relevant projects that
52+
host BWIPP, call it, or consume its output:
53+
54+
- **API misuse** — calling encoders with incorrect stack state, wrong argument
55+
types, or outside the [documented calling convention](https://github.com/bwipp/postscriptbarcode/wiki/PostScript-Calling-Convention).
5456
- **Downstream scanning injection** — BWIPP faithfully encodes whatever data
5557
fits the symbology's character set. Sanitisation of scanned barcode message
5658
content is the responsibility of downstream systems.
59+
- **Interpreter bugs** — crashes or misbehaviour in the hosting interpreter
60+
(RIP) triggered by valid PostScript operations (e.g. font loading side effects
61+
from user-specified `textfont`). These are the interpreter's responsibility.
5762

5863
## Supported Versions
5964

0 commit comments

Comments
 (0)