aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorMikolaj Golub <trociny@FreeBSD.org>2011-03-27 19:56:55 +0000
committerMikolaj Golub <trociny@FreeBSD.org>2011-03-27 19:56:55 +0000
commitbaf63f65ae0eee46ba64a57af6e993720bfbf33f (patch)
tree74c038c0d8f0c581e8fad9b845988794253ba445 /release/Makefile
parent6e545fce9af09ec9345997ea96d8bf24d9929cf8 (diff)
downloadsrc-baf63f65ae0eee46ba64a57af6e993720bfbf33f.tar.gz
src-baf63f65ae0eee46ba64a57af6e993720bfbf33f.zip
In g_gate_create() there is a window between when g_gate_softc is
registered in g_gate_units array and when its sc_provider field is filled. If during this period g_gate_units is accessed by another thread that is checking for provider name collision the crash is possible. Fix this by adding sc_name field to struct g_gate_softc. In g_gate_create() when g_gate_softc is created but sc_provider is still not sc_name points to provider name stored in the local array. Approved by: pjd (mentor) Reported by: Freddie Cash <fjwcash@gmail.com> MFC after: 1 week
Notes
Notes: svn path=/head/; revision=220062
Diffstat (limited to 'release/Makefile')
0 files changed, 0 insertions, 0 deletions