#
24f68354 |
| 12-Jul-2023 |
tb <tb@openbsd.org> |
Use ssize_t instead of short for line lengths
sthen hit a binary patch containing a 'line' of length > 32kB. This made the short used for storing the line length wrap and resulted in a buffer underf
Use ssize_t instead of short for line lengths
sthen hit a binary patch containing a 'line' of length > 32kB. This made the short used for storing the line length wrap and resulted in a buffer underflow and segfault. This uses a larger type, which doesn't actually fix the problem, but makes it much less likely to be hit.
ok florian otto sthen
show more ...
|
#
dcdf3c02 |
| 11-Dec-2019 |
jca <jca@openbsd.org> |
Merge existing decls and decls introduced in rev 1.10
Also: - sort declarations in the same order as definitions in pch.c - delete an extra pfetch() declaration
ok tobias@
|
#
e25a9858 |
| 09-Dec-2019 |
jca <jca@openbsd.org> |
Move RCS Id to the top of the file
|
#
5fbd5e42 |
| 02-Dec-2019 |
jca <jca@openbsd.org> |
Use getline(3) to handle lines longer than 8192 bytes in patch files
Spotted by jsg@ when working on mesa. Diff tested by sthen@ in a partial i386 bulk. Input from and ok jsg@ millert@
|
#
6d4b3e9e |
| 16-Oct-2015 |
tobias <tobias@openbsd.org> |
Add native support for ed-style diffs. No need to pledge "proc exec" anymore.
ok deraadt
|
#
53900eee |
| 31-Oct-2003 |
millert <millert@openbsd.org> |
o fairly major man page reorganization o add --posix option for strict POSIX conformance o change filename determination to match GNU patch Tested by various people, including a full ports build by n
o fairly major man page reorganization o add --posix option for strict POSIX conformance o change filename determination to match GNU patch Tested by various people, including a full ports build by naddy@
show more ...
|
#
ddf7b806 |
| 15-Aug-2003 |
otto <otto@openbsd.org> |
Add license from patch.c to original source files missing a license.
ok deraadt@
|
#
03269102 |
| 28-Jul-2003 |
otto <otto@openbsd.org> |
More cleanup: sprinkled some const, removed ugly EXTERN/INTERN.h, some rewriting of code to make it more readable and more KNF.
ok millert@ tedu@ deraadt@
|
#
fb8601a0 |
| 22-Jul-2003 |
otto <otto@openbsd.org> |
More cleanup. ok millert@ tedu@
|
#
72e24984 |
| 21-Jul-2003 |
deraadt <deraadt@openbsd.org> |
fix header
|
#
be55ebd7 |
| 21-Jul-2003 |
deraadt <deraadt@openbsd.org> |
knf and other cleanup; ok otto
|
#
5dc74f7d |
| 18-Jul-2003 |
deraadt <deraadt@openbsd.org> |
remove junk; ok otto tedu
|
#
d438cbb6 |
| 10-Jun-1996 |
niklas <niklas@openbsd.org> |
Support the long options that FSF's patch version has. $OpenBSD$ added
|
#
df930be7 |
| 18-Oct-1995 |
deraadt <deraadt@openbsd.org> |
initial import of NetBSD tree
|