Blame
Date:
Sat Dec 18 08:49:18 2021 UTC
Message:
Increase buffer size to prevent buffer exhaustion
001
2011-11-06
alex
GNU GENERAL PUBLIC LICENSE
002
2011-11-06
alex
Version 2, June 1991
003
2001-12-11
alex
004
2011-11-06
alex
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
005
2011-11-06
alex
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
006
2001-12-11
alex
Everyone is permitted to copy and distribute verbatim copies
007
2001-12-11
alex
of this license document, but changing it is not allowed.
008
2001-12-11
alex
009
2011-11-06
alex
Preamble
010
2001-12-11
alex
011
2001-12-11
alex
The licenses for most software are designed to take away your
012
2001-12-11
alex
freedom to share and change it. By contrast, the GNU General Public
013
2001-12-11
alex
License is intended to guarantee your freedom to share and change free
014
2001-12-11
alex
software--to make sure the software is free for all its users. This
015
2001-12-11
alex
General Public License applies to most of the Free Software
016
2001-12-11
alex
Foundation's software and to any other program whose authors commit to
017
2001-12-11
alex
using it. (Some other Free Software Foundation software is covered by
018
2011-11-06
alex
the GNU Lesser General Public License instead.) You can apply it to
019
2001-12-11
alex
your programs, too.
020
2001-12-11
alex
021
2001-12-11
alex
When we speak of free software, we are referring to freedom, not
022
2001-12-11
alex
price. Our General Public Licenses are designed to make sure that you
023
2001-12-11
alex
have the freedom to distribute copies of free software (and charge for
024
2001-12-11
alex
this service if you wish), that you receive source code or can get it
025
2001-12-11
alex
if you want it, that you can change the software or use pieces of it
026
2001-12-11
alex
in new free programs; and that you know you can do these things.
027
2001-12-11
alex
028
2001-12-11
alex
To protect your rights, we need to make restrictions that forbid
029
2001-12-11
alex
anyone to deny you these rights or to ask you to surrender the rights.
030
2001-12-11
alex
These restrictions translate to certain responsibilities for you if you
031
2001-12-11
alex
distribute copies of the software, or if you modify it.
032
2001-12-11
alex
033
2001-12-11
alex
For example, if you distribute copies of such a program, whether
034
2001-12-11
alex
gratis or for a fee, you must give the recipients all the rights that
035
2001-12-11
alex
you have. You must make sure that they, too, receive or can get the
036
2001-12-11
alex
source code. And you must show them these terms so they know their
037
2001-12-11
alex
rights.
038
2001-12-11
alex
039
2001-12-11
alex
We protect your rights with two steps: (1) copyright the software, and
040
2001-12-11
alex
(2) offer you this license which gives you legal permission to copy,
041
2001-12-11
alex
distribute and/or modify the software.
042
2001-12-11
alex
043
2001-12-11
alex
Also, for each author's protection and ours, we want to make certain
044
2001-12-11
alex
that everyone understands that there is no warranty for this free
045
2001-12-11
alex
software. If the software is modified by someone else and passed on, we
046
2001-12-11
alex
want its recipients to know that what they have is not the original, so
047
2001-12-11
alex
that any problems introduced by others will not reflect on the original
048
2001-12-11
alex
authors' reputations.
049
2001-12-11
alex
050
2001-12-11
alex
Finally, any free program is threatened constantly by software
051
2001-12-11
alex
patents. We wish to avoid the danger that redistributors of a free
052
2001-12-11
alex
program will individually obtain patent licenses, in effect making the
053
2001-12-11
alex
program proprietary. To prevent this, we have made it clear that any
054
2001-12-11
alex
patent must be licensed for everyone's free use or not licensed at all.
055
2001-12-11
alex
056
2001-12-11
alex
The precise terms and conditions for copying, distribution and
057
2001-12-11
alex
modification follow.
058
2011-11-06
alex
059
2011-11-06
alex
GNU GENERAL PUBLIC LICENSE
060
2001-12-11
alex
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
061
2001-12-11
alex
062
2001-12-11
alex
0. This License applies to any program or other work which contains
063
2001-12-11
alex
a notice placed by the copyright holder saying it may be distributed
064
2001-12-11
alex
under the terms of this General Public License. The "Program", below,
065
2001-12-11
alex
refers to any such program or work, and a "work based on the Program"
066
2001-12-11
alex
means either the Program or any derivative work under copyright law:
067
2001-12-11
alex
that is to say, a work containing the Program or a portion of it,
068
2001-12-11
alex
either verbatim or with modifications and/or translated into another
069
2001-12-11
alex
language. (Hereinafter, translation is included without limitation in
070
2001-12-11
alex
the term "modification".) Each licensee is addressed as "you".
071
2001-12-11
alex
072
2001-12-11
alex
Activities other than copying, distribution and modification are not
073
2001-12-11
alex
covered by this License; they are outside its scope. The act of
074
2001-12-11
alex
running the Program is not restricted, and the output from the Program
075
2001-12-11
alex
is covered only if its contents constitute a work based on the
076
2001-12-11
alex
Program (independent of having been made by running the Program).
077
2001-12-11
alex
Whether that is true depends on what the Program does.
078
2001-12-11
alex
079
2001-12-11
alex
1. You may copy and distribute verbatim copies of the Program's
080
2001-12-11
alex
source code as you receive it, in any medium, provided that you
081
2001-12-11
alex
conspicuously and appropriately publish on each copy an appropriate
082
2001-12-11
alex
copyright notice and disclaimer of warranty; keep intact all the
083
2001-12-11
alex
notices that refer to this License and to the absence of any warranty;
084
2001-12-11
alex
and give any other recipients of the Program a copy of this License
085
2001-12-11
alex
along with the Program.
086
2001-12-11
alex
087
2001-12-11
alex
You may charge a fee for the physical act of transferring a copy, and
088
2001-12-11
alex
you may at your option offer warranty protection in exchange for a fee.
089
2001-12-11
alex
090
2001-12-11
alex
2. You may modify your copy or copies of the Program or any portion
091
2001-12-11
alex
of it, thus forming a work based on the Program, and copy and
092
2001-12-11
alex
distribute such modifications or work under the terms of Section 1
093
2001-12-11
alex
above, provided that you also meet all of these conditions:
094
2001-12-11
alex
095
2001-12-11
alex
a) You must cause the modified files to carry prominent notices
096
2001-12-11
alex
stating that you changed the files and the date of any change.
097
2001-12-11
alex
098
2001-12-11
alex
b) You must cause any work that you distribute or publish, that in
099
2001-12-11
alex
whole or in part contains or is derived from the Program or any
100
2001-12-11
alex
part thereof, to be licensed as a whole at no charge to all third
101
2001-12-11
alex
parties under the terms of this License.
102
2001-12-11
alex
103
2001-12-11
alex
c) If the modified program normally reads commands interactively
104
2001-12-11
alex
when run, you must cause it, when started running for such
105
2001-12-11
alex
interactive use in the most ordinary way, to print or display an
106
2001-12-11
alex
announcement including an appropriate copyright notice and a
107
2001-12-11
alex
notice that there is no warranty (or else, saying that you provide
108
2001-12-11
alex
a warranty) and that users may redistribute the program under
109
2001-12-11
alex
these conditions, and telling the user how to view a copy of this
110
2001-12-11
alex
License. (Exception: if the Program itself is interactive but
111
2001-12-11
alex
does not normally print such an announcement, your work based on
112
2001-12-11
alex
the Program is not required to print an announcement.)
113
2011-11-06
alex
114
2001-12-11
alex
These requirements apply to the modified work as a whole. If
115
2001-12-11
alex
identifiable sections of that work are not derived from the Program,
116
2001-12-11
alex
and can be reasonably considered independent and separate works in
117
2001-12-11
alex
themselves, then this License, and its terms, do not apply to those
118
2001-12-11
alex
sections when you distribute them as separate works. But when you
119
2001-12-11
alex
distribute the same sections as part of a whole which is a work based
120
2001-12-11
alex
on the Program, the distribution of the whole must be on the terms of
121
2001-12-11
alex
this License, whose permissions for other licensees extend to the
122
2001-12-11
alex
entire whole, and thus to each and every part regardless of who wrote it.
123
2001-12-11
alex
124
2001-12-11
alex
Thus, it is not the intent of this section to claim rights or contest
125
2001-12-11
alex
your rights to work written entirely by you; rather, the intent is to
126
2001-12-11
alex
exercise the right to control the distribution of derivative or
127
2001-12-11
alex
collective works based on the Program.
128
2001-12-11
alex
129
2001-12-11
alex
In addition, mere aggregation of another work not based on the Program
130
2001-12-11
alex
with the Program (or with a work based on the Program) on a volume of
131
2001-12-11
alex
a storage or distribution medium does not bring the other work under
132
2001-12-11
alex
the scope of this License.
133
2001-12-11
alex
134
2001-12-11
alex
3. You may copy and distribute the Program (or a work based on it,
135
2001-12-11
alex
under Section 2) in object code or executable form under the terms of
136
2001-12-11
alex
Sections 1 and 2 above provided that you also do one of the following:
137
2001-12-11
alex
138
2001-12-11
alex
a) Accompany it with the complete corresponding machine-readable
139
2001-12-11
alex
source code, which must be distributed under the terms of Sections
140
2001-12-11
alex
1 and 2 above on a medium customarily used for software interchange; or,
141
2001-12-11
alex
142
2001-12-11
alex
b) Accompany it with a written offer, valid for at least three
143
2001-12-11
alex
years, to give any third party, for a charge no more than your
144
2001-12-11
alex
cost of physically performing source distribution, a complete
145
2001-12-11
alex
machine-readable copy of the corresponding source code, to be
146
2001-12-11
alex
distributed under the terms of Sections 1 and 2 above on a medium
147
2001-12-11
alex
customarily used for software interchange; or,
148
2001-12-11
alex
149
2001-12-11
alex
c) Accompany it with the information you received as to the offer
150
2001-12-11
alex
to distribute corresponding source code. (This alternative is
151
2001-12-11
alex
allowed only for noncommercial distribution and only if you
152
2001-12-11
alex
received the program in object code or executable form with such
153
2001-12-11
alex
an offer, in accord with Subsection b above.)
154
2001-12-11
alex
155
2001-12-11
alex
The source code for a work means the preferred form of the work for
156
2001-12-11
alex
making modifications to it. For an executable work, complete source
157
2001-12-11
alex
code means all the source code for all modules it contains, plus any
158
2001-12-11
alex
associated interface definition files, plus the scripts used to
159
2001-12-11
alex
control compilation and installation of the executable. However, as a
160
2001-12-11
alex
special exception, the source code distributed need not include
161
2001-12-11
alex
anything that is normally distributed (in either source or binary
162
2001-12-11
alex
form) with the major components (compiler, kernel, and so on) of the
163
2001-12-11
alex
operating system on which the executable runs, unless that component
164
2001-12-11
alex
itself accompanies the executable.
165
2001-12-11
alex
166
2001-12-11
alex
If distribution of executable or object code is made by offering
167
2001-12-11
alex
access to copy from a designated place, then offering equivalent
168
2001-12-11
alex
access to copy the source code from the same place counts as
169
2001-12-11
alex
distribution of the source code, even though third parties are not
170
2001-12-11
alex
compelled to copy the source along with the object code.
171
2011-11-06
alex
172
2001-12-11
alex
4. You may not copy, modify, sublicense, or distribute the Program
173
2001-12-11
alex
except as expressly provided under this License. Any attempt
174
2001-12-11
alex
otherwise to copy, modify, sublicense or distribute the Program is
175
2001-12-11
alex
void, and will automatically terminate your rights under this License.
176
2001-12-11
alex
However, parties who have received copies, or rights, from you under
177
2001-12-11
alex
this License will not have their licenses terminated so long as such
178
2001-12-11
alex
parties remain in full compliance.
179
2001-12-11
alex
180
2001-12-11
alex
5. You are not required to accept this License, since you have not
181
2001-12-11
alex
signed it. However, nothing else grants you permission to modify or
182
2001-12-11
alex
distribute the Program or its derivative works. These actions are
183
2001-12-11
alex
prohibited by law if you do not accept this License. Therefore, by
184
2001-12-11
alex
modifying or distributing the Program (or any work based on the
185
2001-12-11
alex
Program), you indicate your acceptance of this License to do so, and
186
2001-12-11
alex
all its terms and conditions for copying, distributing or modifying
187
2001-12-11
alex
the Program or works based on it.
188
2001-12-11
alex
189
2001-12-11
alex
6. Each time you redistribute the Program (or any work based on the
190
2001-12-11
alex
Program), the recipient automatically receives a license from the
191
2001-12-11
alex
original licensor to copy, distribute or modify the Program subject to
192
2001-12-11
alex
these terms and conditions. You may not impose any further
193
2001-12-11
alex
restrictions on the recipients' exercise of the rights granted herein.
194
2001-12-11
alex
You are not responsible for enforcing compliance by third parties to
195
2001-12-11
alex
this License.
196
2001-12-11
alex
197
2001-12-11
alex
7. If, as a consequence of a court judgment or allegation of patent
198
2001-12-11
alex
infringement or for any other reason (not limited to patent issues),
199
2001-12-11
alex
conditions are imposed on you (whether by court order, agreement or
200
2001-12-11
alex
otherwise) that contradict the conditions of this License, they do not
201
2001-12-11
alex
excuse you from the conditions of this License. If you cannot
202
2001-12-11
alex
distribute so as to satisfy simultaneously your obligations under this
203
2001-12-11
alex
License and any other pertinent obligations, then as a consequence you
204
2001-12-11
alex
may not distribute the Program at all. For example, if a patent
205
2001-12-11
alex
license would not permit royalty-free redistribution of the Program by
206
2001-12-11
alex
all those who receive copies directly or indirectly through you, then
207
2001-12-11
alex
the only way you could satisfy both it and this License would be to
208
2001-12-11
alex
refrain entirely from distribution of the Program.
209
2001-12-11
alex
210
2001-12-11
alex
If any portion of this section is held invalid or unenforceable under
211
2001-12-11
alex
any particular circumstance, the balance of the section is intended to
212
2001-12-11
alex
apply and the section as a whole is intended to apply in other
213
2001-12-11
alex
circumstances.
214
2001-12-11
alex
215
2001-12-11
alex
It is not the purpose of this section to induce you to infringe any
216
2001-12-11
alex
patents or other property right claims or to contest validity of any
217
2001-12-11
alex
such claims; this section has the sole purpose of protecting the
218
2001-12-11
alex
integrity of the free software distribution system, which is
219
2001-12-11
alex
implemented by public license practices. Many people have made
220
2001-12-11
alex
generous contributions to the wide range of software distributed
221
2001-12-11
alex
through that system in reliance on consistent application of that
222
2001-12-11
alex
system; it is up to the author/donor to decide if he or she is willing
223
2001-12-11
alex
to distribute software through any other system and a licensee cannot
224
2001-12-11
alex
impose that choice.
225
2001-12-11
alex
226
2001-12-11
alex
This section is intended to make thoroughly clear what is believed to
227
2001-12-11
alex
be a consequence of the rest of this License.
228
2011-11-06
alex
229
2001-12-11
alex
8. If the distribution and/or use of the Program is restricted in
230
2001-12-11
alex
certain countries either by patents or by copyrighted interfaces, the
231
2001-12-11
alex
original copyright holder who places the Program under this License
232
2001-12-11
alex
may add an explicit geographical distribution limitation excluding
233
2001-12-11
alex
those countries, so that distribution is permitted only in or among
234
2001-12-11
alex
countries not thus excluded. In such case, this License incorporates
235
2001-12-11
alex
the limitation as if written in the body of this License.
236
2001-12-11
alex
237
2001-12-11
alex
9. The Free Software Foundation may publish revised and/or new versions
238
2001-12-11
alex
of the General Public License from time to time. Such new versions will
239
2001-12-11
alex
be similar in spirit to the present version, but may differ in detail to
240
2001-12-11
alex
address new problems or concerns.
241
2001-12-11
alex
242
2001-12-11
alex
Each version is given a distinguishing version number. If the Program
243
2001-12-11
alex
specifies a version number of this License which applies to it and "any
244
2001-12-11
alex
later version", you have the option of following the terms and conditions
245
2001-12-11
alex
either of that version or of any later version published by the Free
246
2001-12-11
alex
Software Foundation. If the Program does not specify a version number of
247
2001-12-11
alex
this License, you may choose any version ever published by the Free Software
248
2001-12-11
alex
Foundation.
249
2001-12-11
alex
250
2001-12-11
alex
10. If you wish to incorporate parts of the Program into other free
251
2001-12-11
alex
programs whose distribution conditions are different, write to the author
252
2001-12-11
alex
to ask for permission. For software which is copyrighted by the Free
253
2001-12-11
alex
Software Foundation, write to the Free Software Foundation; we sometimes
254
2001-12-11
alex
make exceptions for this. Our decision will be guided by the two goals
255
2001-12-11
alex
of preserving the free status of all derivatives of our free software and
256
2001-12-11
alex
of promoting the sharing and reuse of software generally.
257
2001-12-11
alex
258
2011-11-06
alex
NO WARRANTY
259
2001-12-11
alex
260
2001-12-11
alex
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
2001-12-11
alex
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
2001-12-11
alex
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
2001-12-11
alex
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
2001-12-11
alex
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
2001-12-11
alex
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
2001-12-11
alex
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
2001-12-11
alex
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
2001-12-11
alex
REPAIR OR CORRECTION.
269
2001-12-11
alex
270
2001-12-11
alex
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
2001-12-11
alex
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
2001-12-11
alex
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
2001-12-11
alex
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
2001-12-11
alex
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
2001-12-11
alex
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
2001-12-11
alex
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
2001-12-11
alex
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
2001-12-11
alex
POSSIBILITY OF SUCH DAMAGES.
279
2001-12-11
alex
280
2011-11-06
alex
END OF TERMS AND CONDITIONS
281
2001-12-11
alex
282
2011-11-06
alex
How to Apply These Terms to Your New Programs
283
2011-11-06
alex
284
2001-12-11
alex
If you develop a new program, and you want it to be of the greatest
285
2001-12-11
alex
possible use to the public, the best way to achieve this is to make it
286
2001-12-11
alex
free software which everyone can redistribute and change under these terms.
287
2001-12-11
alex
288
2001-12-11
alex
To do so, attach the following notices to the program. It is safest
289
2001-12-11
alex
to attach them to the start of each source file to most effectively
290
2001-12-11
alex
convey the exclusion of warranty; and each file should have at least
291
2001-12-11
alex
the "copyright" line and a pointer to where the full notice is found.
292
2001-12-11
alex
293
2001-12-11
alex
<one line to give the program's name and a brief idea of what it does.>
294
2001-12-11
alex
Copyright (C) <year> <name of author>
295
2001-12-11
alex
296
2001-12-11
alex
This program is free software; you can redistribute it and/or modify
297
2001-12-11
alex
it under the terms of the GNU General Public License as published by
298
2001-12-11
alex
the Free Software Foundation; either version 2 of the License, or
299
2001-12-11
alex
(at your option) any later version.
300
2001-12-11
alex
301
2001-12-11
alex
This program is distributed in the hope that it will be useful,
302
2001-12-11
alex
but WITHOUT ANY WARRANTY; without even the implied warranty of
303
2001-12-11
alex
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
2001-12-11
alex
GNU General Public License for more details.
305
2001-12-11
alex
306
2011-11-06
alex
You should have received a copy of the GNU General Public License along
307
2011-11-06
alex
with this program; if not, write to the Free Software Foundation, Inc.,
308
2011-11-06
alex
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
2001-12-11
alex
310
2001-12-11
alex
Also add information on how to contact you by electronic and paper mail.
311
2001-12-11
alex
312
2001-12-11
alex
If the program is interactive, make it output a short notice like this
313
2001-12-11
alex
when it starts in an interactive mode:
314
2001-12-11
alex
315
2001-12-11
alex
Gnomovision version 69, Copyright (C) year name of author
316
2001-12-11
alex
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
2001-12-11
alex
This is free software, and you are welcome to redistribute it
318
2001-12-11
alex
under certain conditions; type `show c' for details.
319
2001-12-11
alex
320
2001-12-11
alex
The hypothetical commands `show w' and `show c' should show the appropriate
321
2001-12-11
alex
parts of the General Public License. Of course, the commands you use may
322
2001-12-11
alex
be called something other than `show w' and `show c'; they could even be
323
2001-12-11
alex
mouse-clicks or menu items--whatever suits your program.
324
2001-12-11
alex
325
2001-12-11
alex
You should also get your employer (if you work as a programmer) or your
326
2001-12-11
alex
school, if any, to sign a "copyright disclaimer" for the program, if
327
2001-12-11
alex
necessary. Here is a sample; alter the names:
328
2001-12-11
alex
329
2001-12-11
alex
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
2001-12-11
alex
`Gnomovision' (which makes passes at compilers) written by James Hacker.
331
2001-12-11
alex
332
2001-12-11
alex
<signature of Ty Coon>, 1 April 1989
333
2001-12-11
alex
Ty Coon, President of Vice
334
2001-12-11
alex
335
2001-12-11
alex
This General Public License does not permit incorporating your program into
336
2001-12-11
alex
proprietary programs. If your program is a subroutine library, you may
337
2001-12-11
alex
consider it more useful to permit linking proprietary applications with the
338
2011-11-06
alex
library. If this is what you want to do, use the GNU Lesser General
339
2001-12-11
alex
Public License instead of this License.
IRCNow