diff options
| author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-11-11 05:48:48 +0100 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-11-11 05:48:48 +0100 |
| commit | b2a869489ca3662ac7dde740a7c85a58eb53f288 (patch) | |
| tree | b917885affd498cc992b037baf7f08aa6298fd07 | |
| parent | db605e7bc8df3a88f65c8e0510d3f80bdfa6ea10 (diff) | |
| download | plan9front-b2a869489ca3662ac7dde740a7c85a58eb53f288.tar.xz | |
audiohda: fix null pointer dereference
| -rw-r--r-- | sys/src/9/pc/audiohda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/audiohda.c b/sys/src/9/pc/audiohda.c index ca108d7e9..09184730a 100644 --- a/sys/src/9/pc/audiohda.c +++ b/sys/src/9/pc/audiohda.c @@ -572,7 +572,7 @@ findpath(Widget *src) break; for(i=0; i<w->nlist; i++){ v = w->list[i]; - if(v->from) + if(v == nil || v->from) continue; v->from = w; q[r++] = v; |
