summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--systemv/cupstestppd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemv/cupstestppd.c b/systemv/cupstestppd.c
index dbce71865..9344c51ee 100644
--- a/systemv/cupstestppd.c
+++ b/systemv/cupstestppd.c
@@ -923,7 +923,7 @@ main(int argc, /* I - Number of command-line args */
int junkint; /* Temp integer */
- if (sscanf(attr->value, "(%[^)])%d", junkstr, &junkint) != 2)
+ if (sscanf(attr->value, "(%254[^)\n])%d", junkstr, &junkint) != 2)
{
if (verbose >= 0)
{