Searched hist:124200 (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.3-release/usr.sbin/fdformat/
H A Dfdformat.cdiff 124200 Wed Jan 07 05:28:57 MST 2004 anholt From PR:
In fdformat.c a closing parenthesis is at the wrong place. Instead of
adding sizeof _PATH_DEV + 1 to the length of argv[optind], the length of the
string starting (sizeof _PATH_DEV + 1) characters after argv[optind]'s
beginning (accessing junk memory if we jump over the terminating null
character) is passed to malloc().

PR: bin/60026
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
/freebsd-10.3-release/sys/kern/
H A Dsubr_sleepqueue.cdiff 182875 Mon Sep 08 19:45:09 MDT 2008 jhb Close a race in sleepq_broadcast() where the sleepq could be reused after
it had been assigned to the last sleeping thread. That thread might have
started running on another CPU and have reused that sleep queue. Fix it
by just walking the thread queue using TAILQ_FOREACH_SAFE() rather than
a while loop.

PR: amd64/124200
Discovered by: tegge
Tested by: benjsc
MFC after: 1 week

Completed in 149 milliseconds