diff options
author | Alex Cherepanov <alex.cherepanov@artifex.com> | 2000-12-13 07:18:46 +0000 |
---|---|---|
committer | Alex Cherepanov <alex.cherepanov@artifex.com> | 2000-12-13 07:18:46 +0000 |
commit | 756bd257d4d05e5973815a41a387801bea8459f6 (patch) | |
tree | c2352d1f82726f77d0b7d3bd57cd794f613e9619 /gs/src/dscparse.c | |
parent | b6bf2a5dbe94e277ab27e659ee1024cb98cb5d81 (diff) | |
download | ghostpdl-756bd257d4d05e5973815a41a387801bea8459f6.tar.gz |
Fix: Unitialized member of CDSCPAGE caused random crashes.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@1052 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/dscparse.c')
-rw-r--r-- | gs/src/dscparse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gs/src/dscparse.c b/gs/src/dscparse.c index 4eb991050..589bd3a3f 100644 --- a/gs/src/dscparse.c +++ b/gs/src/dscparse.c @@ -552,6 +552,7 @@ dsc_add_page(CDSC *dsc, int ordinal, char *label) dsc->page[dsc->page_count].ordinal = ordinal; dsc->page[dsc->page_count].media = NULL; dsc->page[dsc->page_count].bbox = NULL; + dsc->page[dsc->page_count].viewing_orientation = NULL; dsc->page_count++; if (dsc->page_count >= dsc->page_chunk_length) { |