#
b2c335bb |
| 19-Apr-2008 |
ray <ray@openbsd.org> |
Decrement len variable after removing newline, prevents copying the NUL at the end of a string into the mail. Discovered by dasn.
Move newline printing into outer loop, prevents multiple newlines f
Decrement len variable after removing newline, prevents copying the NUL at the end of a string into the mail. Discovered by dasn.
Move newline printing into outer loop, prevents multiple newlines from appearing if there are multiple comments in a line. Discovered by okan.
OK okan.
show more ...
|
#
54cc23ae |
| 04-Jan-2008 |
ray <ray@openbsd.org> |
Eliminate false positives from <> comments, avoiding mangling #include <bleh.h> in diffs: - Only match <> comments from the template. No other text surrounded by angle brackets is deleted. - Simplif
Eliminate false positives from <> comments, avoiding mangling #include <bleh.h> in diffs: - Only match <> comments from the template. No other text surrounded by angle brackets is deleted. - Simplify code by using C strings. We no longer handle binary data, but I don't think binary data belongs in a bug report anyway. - Remove dmesg and header comment checks.
"That's a nice approach." deraadt, "seems ok for me" chl.
show more ...
|
#
c952560c |
| 03-Jan-2008 |
ray <ray@openbsd.org> |
In preparation of eliminating <> comment false positives: - Move <> comments in template to an array, for easier reference later. - Rename "comment" variable to avoid shadowing. - Change some <> comm
In preparation of eliminating <> comment false positives: - Move <> comments in template to an array, for easier reference later. - Rename "comment" variable to avoid shadowing. - Change some <> comments to SENDBUG comments.
OK chl@
show more ...
|
#
43316b18 |
| 17-Oct-2007 |
deraadt <deraadt@openbsd.org> |
- Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) by temporarily restoring default behaviour. This is not 100% ideal. But this fixes editor handling in mail... bah, it is really
- Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) by temporarily restoring default behaviour. This is not 100% ideal. But this fixes editor handling in mail... bah, it is really unfortunate that got broken - refactor the restoration code as well, to make it simpler ok ray
show more ...
|
#
51cd2972 |
| 18-Sep-2007 |
ray <ray@openbsd.org> |
Don't treat lines in angle brackets <...> as comments in dmesg.
Discovered and tested by deanna.
|
#
fb1dde64 |
| 31-Jul-2007 |
ray <ray@openbsd.org> |
Remove some unused headers, from Igor Zinovik.
|
#
ae6b53b5 |
| 11-May-2007 |
ray <ray@openbsd.org> |
If fork fails with EAGAIN, ignore errno and fail. Looping just worsens the problem.
cloder@ and deraadt@ agree.
|
#
3bdb63c6 |
| 11-May-2007 |
ray <ray@openbsd.org> |
Instead of returning -1 and setting errno to ECHILD if the editor has a non-zero exit status, just return the exit status on success. Hard errors still return -1. If the editor is killed, return -1
Instead of returning -1 and setting errno to ECHILD if the editor has a non-zero exit status, just return the exit status on success. Hard errors still return -1. If the editor is killed, return -1 and set EINTR.
show more ...
|
#
aad8b29b |
| 09-May-2007 |
ray <ray@openbsd.org> |
Be more consistent about when dmesg is attached to template. Specifically, -V.
|
#
3cf7ad38 |
| 07-May-2007 |
ray <ray@openbsd.org> |
Simplify some loops.
OK jaredy@ and moritz@.
|
#
5282e495 |
| 06-May-2007 |
ray <ray@openbsd.org> |
Restore signals before returning.
|
#
b2d874e6 |
| 06-May-2007 |
ray <ray@openbsd.org> |
Save and restore signals once instead of each time fork fails with EAGAIN.
|
#
e28144d6 |
| 25-Apr-2007 |
ray <ray@openbsd.org> |
Remove extra code that only applies to setuid/setgid programs.
``Slacker! We'll burn your hands if you don't get going!'' deraadt@
|
#
4c385748 |
| 07-Apr-2007 |
ray <ray@openbsd.org> |
Sprinkle const poison, remove unneeded variable.
|
#
946adace |
| 07-Apr-2007 |
ray <ray@openbsd.org> |
Use __progname and warn instead of fprintf where appropriate.
|
#
e9d79a51 |
| 07-Apr-2007 |
ray <ray@openbsd.org> |
De-lint.
|
#
fad7ccdb |
| 06-Apr-2007 |
ray <ray@openbsd.org> |
Warn if one of the required fields is not filled out. Requested by millert@.
|
#
292bd7ed |
| 06-Apr-2007 |
ray <ray@openbsd.org> |
Don't shadow variables. Enable -Wshadow.
|
#
f76e53ad |
| 06-Apr-2007 |
ray <ray@openbsd.org> |
argc does not include __progname after subtracting optind.
|
#
6c4efebf |
| 06-Apr-2007 |
ray <ray@openbsd.org> |
Only include newest dmesg.
``Come on, take some risks'' deraadt@.
|
#
7d2774c0 |
| 06-Apr-2007 |
ray <ray@openbsd.org> |
Attach dmesg to sendbug reports by default. Use -D flag to disable.
OK deraadt@ and millert@.
|
#
d23b3302 |
| 28-Mar-2007 |
ray <ray@openbsd.org> |
CC: a copy of the bug report to sender. Requested by Travers Buda.
OK millert@.
|
#
b088fbb0 |
| 27-Mar-2007 |
ray <ray@openbsd.org> |
Replace some scary pointer code. The new code is O(n^2) for strings of '&', but gecos fields are usually short and most do not have '&' so the impact should be minimal. In return we get clearer and
Replace some scary pointer code. The new code is O(n^2) for strings of '&', but gecos fields are usually short and most do not have '&' so the impact should be minimal. In return we get clearer and safer code.
OK moritz@.
show more ...
|
#
0690c094 |
| 27-Mar-2007 |
ray <ray@openbsd.org> |
Remove variable name from prototype.
|
#
9a66796c |
| 26-Mar-2007 |
moritz <moritz@openbsd.org> |
Simplify gecos parsing code and prevent buffer overflow when gecos field contains multiple '&' characters with other characters inbetween.
With and OK ray@
|