Age | Commit message (Collapse) | Author |
|
|
|
at least for now, as it would result in a partially writable GOT. Our
ld.so(1) has the smarts to properly write-protect the single .got, so we
don't need this.
ok guenther@
|
|
|
|
ok doug millert
|
|
descriptor during SIOCSIFFLAGS.
This prevent a use after free, triggered by the pool/malloc damage
finder being currently cooked by dlg@ and deraadt@.
ok deraadt@
|
|
|
|
Tested by/ok sthen@, ok mikeb@
|
|
so long as it is explicit), and set stderr to NBF not LBF. Pointed out
by espie@.
|
|
OK schwarze@ ian@
|
|
had a proper stdint.h. No ports fallout. OK guenther@ miod@
|
|
Linux commit 345be204dcbb. ok jsg@ mikeb@
|
|
of fdrop() (or 0 if the ref count is non-zero). From Kanonenvogel
|
|
at least two and while here allow the upper bound to be
MAXPATHLEN by changing a >= to > as suggested by krw@ in a thread
on tech where Maxime Villard proposed additional PT_INTERP checks.
tested by and ok guenther@
|
|
Since HID buffers always start by a reportID we can access the corresponding
report descriptor in O(1). Having a list of sensors attached to each report
descriptor makes it easier to update all of them with only on I/O request.
Note that sensors are attached in depency order on every report list.
From David Higgs.
|
|
children of a sensor in a separate structure.
Children sensors should only be probbed if their parent is active.
This make the dependency tree explicit and will reduce the number
of I/O.
From David Higgs.
|
|
|
|
followed by a mode check. This will simplify the ref/unref dance as
soon as fd_getfile() will increment fp's reference counter.
Idea from and ok guenther@, ok millert@
|
|
remove his suicide entry since it's already listed, more completely,
in calendar.history;
from craig skinner
|
|
|
|
ok dlg@
|
|
ok deraadt@ millert@ miod@
|
|
scope of the end macro. Instead, only keep the tail scope open if
the end macro macro calls an explicit macro and actually breaks
that. This corrects syntax tree structure and fixes an assertion
found by jsg@ with afl (test case 098/Apr27).
|
|
implementation. As a side effect, minus ten lines of code.
As another side effect, this also fixes the assertion failure that
used to be triggered by "\z\o'ab'c" at the beginning of an output
line, found by jsg@ with afl (test case 022/Apr27).
|
|
add a condition to save a useless call to m_adj() and have a paranoid
length check in the other cases.
OK henning@
|
|
|
|
|
|
|
|
correct italics support.
ok naddy (on a slightly older version)
|
|
has destroyed or damaged the interface clone.
with mpi
|
|
historical (incorrect) behaviour for SGR 3 and send smso
(standout). Previously, we would send sitm (italics) if the terminal
outside had it and smso otherwise. This was acceptably until recently
because xterm's terminfo entry lacked sitm, so most users got smso.
People who want italics should set default-terminal to the forthcoming
"tmux" entry (and be prepared to deal with it being missing on older
hosts).
As a side-effect this changes default-terminal to be a server rather
than a session option.
suggested by and ok naddy
|
|
a mismatching explicit end macro without actually being broken.
Avoids a subsequent upward search for the non-existent breaker
ending up in a NULL pointer access; afl test case 005/Apr27 from jsg@.
|
|
Do not just free the struct tbl_row but also make sure that no pointer
to it remains. Fixing a use after free found by jsg@ with afl.
|
|
reported by jasper@
While here: _rc_is_supported() -> _rc_not_supported()
- saves a fork
- reduces triple negation to double negation in _rc_not_supported()
- simplifie condition for rc_restart=NO
from schwarze@
ok jasper@ schwarze@
|
|
Suggested by Lorenzo Beretta <lory dot fulgi at infinito dot it>.
|
|
template gives mountpoints, min-max size ranges and percentage of disk
foremost intended for autoinstalls, installer bits to follow soon.
with input from many, ok theo
|
|
to pass also if relayd is compiled with DEBUG.
|
|
parsig the HTTP header, the session was never destroyed. This
resulted in a file descriptor leak.
Add a check wether the protocol knows how much data to expect. If
relayd is reading unlimited data or is expecting nothing to read,
ignore the end-of-file. Otherwise it is a protocol violation, so
close the session immediately.
While there, make relayd compile with DEBUG defined.
Based on a diff from claudio@; tested by claudio@; OK claudio@ benno@
|
|
|
|
prodded by deraadt@ and miod@
|
|
pthread and instead use the values from the embedded struct pthread_attr.
For bonus points, pay attention to the sched_inherit attribute and possibly
set the values from the parent thread.
Problem noted by natano of bitrig.
|
|
|
|
if callers of save_vec() weren't expected to pass a non NULL pointer
as an argument.
ok kettenis@
|
|
ok guenther@ deraadt@
|
|
This loses a "new size is 0" failure case. Probably not relevant;
and since we develop this in OpenBSD, we'll catch that before someone
else imports this...
ok millert
|
|
ok djm@, jmc@ (for the man page bit).
|
|
ok jsing@
|
|
ok jsing@
|
|
All of cbb_buffer_add_u's callers first call CBB_flush and send cbb->base.
cbb_add_u() now has that common code in one place.
ok jsing@
|
|
ok jsing@
|
|
ok jsing@
|