-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathChangeLog
254 lines (156 loc) · 6.64 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
-- Version 0.23 --
* Changed license from GPLv3 to BSD 3-Clause.
* pdf.c: Fix potential infinite loop from unchecked fseek.
* pdfresurrect.1: Remove note about the scrubbing feature.
-- Version 0.22 --
* pdf.c: Guard the xref plaintext scan.
-- Version 0.21 --
* pdfresurrect.1, pdf.c, main.c: Make scrub mode (-s) experimental.
* pdf.c: Update PDF header sanity check.
-- Version 0.20 --
* pdf.c: Make buf_idx a size_t.
Guard strtok access (thanks rootup).
Add a null check to the page load routine.
Add a .gitignore (thanks rwhitworth).
Clean up a strlen calc (thanks Francois Marier).
Increase the creator buffer to 64B and guard against overflow (thanks
carter-yagemann)
-- Version 0.19 --
* pdf.c: Add bounds guards for reading creator data.
-- Version 0.18 --
2019-08-10 Matt Davis
* pdf.c: Add a safe memory allocation routine (zeros and sanity checks).
Free a memory leak.
Thanks to rtfingc for reporting the related bugs this patch
addresses.
-- Version 0.17 --
2019-08-06 Matt Davis
* pdf.c: Fix a buffer corruption bug identified by:
capcorpscert0188, LeeSunWoo, ParkInChul
-- Version 0.16 --
2019-07-25 Matt Davis
* pdf.c: Fix a buffer corruption bug identified by j0lamma.
* main.c: Fix grammar in an error message.
-- Version 0.15 --
2018-05-08 Matt Davis <[email protected]>
* pdf.c: Sanity check various file operations (fread, fseek).
* configure.ac: Remove GNU defaults.
* User can override CFLAGS during configure.
2018-05-07 Michal Ambroz
* Makefile.in: Create the binary destination directory if it does not exist.
-- Version 0.14 --
2017-11-24 Matt Davis <[email protected]>
* main.c: Simplify the writing of older version.
* Only emit a startxref block with an older xref
* position, and nothing more.
-- Version 0.13 --
2017-11-24 Matt Davis <[email protected]>
* pdf.c: Bug fix - guard xref access during scrubbing.
2013-11-17 Matt Davis <[email protected]>
* Makefile.in: Add the man1 directory if it does not exit.
2013-11-7 Ryan Schmidt <[email protected]>
* Makefile.in: Honor configure argument:
* --exec-prefix, --bindir, --datarootdir, --mandir
2013-10-25: David Binderman.
* pdf.c: Added a logical fix submitted by David B.
-- Version 0.12 --
2012-11-30 Matt Davis <[email protected]>
* pdfresurrect.1: Less emphasis on scrubbing.
* Cleaned up some wording.
2012-11-29 Matt Davis <[email protected]>
* pdf.c: Use a better EOF finding algorithm.
* This should ensure that all EOFs are found, previously if an EOF was
* on a 256 character boundary, it would not be detected.
2012-11-25 Matt Davis <[email protected]>
* configure.ac: Disable all optimizations when compiling a debugging version
* pdf.c: Clean up a comment
-- Version 0.11 --
2012-05-28 Francois Marier <[email protected]>
* Makefile.in: Add LDFLAGS macro
*
* Update install and uninstall targets using DESTDIR macro
*
* Update CFLAGS macro to include CPPFLAGS
* configure.ac: Preserve existing CFLAGS
2012-05-28 Matt Davis <[email protected]>
* pdf.c: Prevent invalid access and double frees when the xref table is
* of a zero length (thanks valgrind, oh so sexxy).
*
* ChangeLog: Correct a line not prefixed with an asterisk.
2012-04-29 Matt Davis <[email protected]>
* pdf.c: Initialize a variable
*
* Add a macro for safe file access
2010-03-21 Matt Davis <[email protected]>
* pdf.c: Clean up memory leak just introduced by the new creator-from-object
* piece
*
* Removed strdup and used strndup for portability
*
* Allow creation tags to be picked up even if they are stored in objects
* and not inline.
*
* Initialize a pointer
-- Version 0.10 --
2010-03-20 Matt Davis <[email protected]>
* main.c: Add additional copyright year
* pdf.c: Allow for creation data to be pulled from objects as well as inline
* Removed strdup and used strncpy for portability purposes
* Makefile.in: Allow for EXTRA_CFLAGS to be specified from command line
* pdfresurrect.1: Updated AUTHORS section to give Francois more props
* Adjust date
-- Version 0.9 --
2009-11-11 Matt Davis <[email protected]>
* pdf.c: Display the entire line for creator information
* Avoid terminating the creator information past the array index
-- Version 0.8 --
2009-09-10 Matt Davis <[email protected]>
* pdf.c, main.c: Avoid stalling if we cannot find a trailer for linearized
* PDFs. This is probably because the PDF is using xref
* streams. Thanks to Francois for mentioning a stall was
* occurring, and then providing the suspect document that caused
* such a case.
-- Version 0.7 --
2009-09-09 Matt Davis <[email protected]>
* configure.ac: Added function check for strdup and strtol
* pdf.{c,h}: Support to extract PDF creator information (not XML format)
* pdf.c: Count objects from linearized PDFs appropriately
2009-05-24 Francois Marier <[email protected]>
* pdfresurrect.1: Added Francois Marier's update to the man page
* escaping a hyphen
-- Version 0.6 --
2009-05-23 Matt Davis <[email protected]> and
* pdfresurrect.1: Added Francois Marier's man page.
* Added NOTES and COPYRIGHT to man page.
* Makefile.in: Added .PHONY target for uninstall
* Removed backup target
* install and uninstall targets also add/remove the man page
* configure.ac: Added default prefix as suggested by Francois Marier
2009-05-22 Francois Marier <[email protected]>
* pdfresurrect.1: Added Francois Marier's man page.
* Makefile.in: Added Francois Marier's changes to add
* install, distclean, and .PHONY targets
-- Version 0.5 --
2009-05-19 Matt Davis <[email protected]>
* pdf.h: Added notes that PDFs of version 1.5+ can have compressed stream xref
* pdf.c: Warn on encoded xref streams
*
* Added utility get_object_from_here() to obtain a PDF object at file
* pointer start
*
* Break the xref into a routine for plaintext or encoded
* We will probably not decode the compressed stream but its
* nice to have a place for it.
* configure.in: Added -DDEBUG on debug builds (nothing uses this yet)
*
* Added AC_TYPE_SIZE_T check
* main.c: Added -s to the usage statement
*
* Using more portable exit call
* README: Updated with some notes on security and validity of this tool
-- Version 0.04 --
2008-08-10 Matt Davis <[email protected]>
* Corrected a misspelling regarding the license URL in main.c
-- Version 0.03 --
2008-08-02 Matt Davis <[email protected]>
* Initial public release