summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcl/pcparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcl/pcparse.c b/pcl/pcparse.c
index 2ad6e50d9..e0a0d0ae1 100644
--- a/pcl/pcparse.c
+++ b/pcl/pcparse.c
@@ -425,7 +425,7 @@ pcl_process(pcl_parser_state_t * pst, pcl_state_t * pcs,
425 if (cdefn->actions & pca_byte_data) { 425 if (cdefn->actions & pca_byte_data) {
426 uint count = uint_arg(&pst->args); 426 uint count = uint_arg(&pst->args);
427 427
428 if ((count > 0) && (rlimit - p <= count)) { 428 if ((count > 0) && (rlimit - p < count)) {
429 pst->args.data = 429 pst->args.data =
430 gs_alloc_bytes(pcs->memory, count, 430 gs_alloc_bytes(pcs->memory, count,
431 "command data"); 431 "command data");