Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102718331
D45237.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
302 B
Referenced Files
None
Subscribers
None
D45237.diff
View Options
diff --git a/sys/dev/sound/pcm/sndstat.c b/sys/dev/sound/pcm/sndstat.c
--- a/sys/dev/sound/pcm/sndstat.c
+++ b/sys/dev/sound/pcm/sndstat.c
@@ -705,7 +705,7 @@
}
*nvl = nvlist_unpack(nvlbuf, nbytes, 0);
free(nvlbuf, M_DEVBUF);
- if (nvl == NULL) {
+ if (*nvl == NULL) {
return (EINVAL);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 7:34 AM (21 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14669933
Default Alt Text
D45237.diff (302 B)
Attached To
Mode
D45237: sound: Correctly check nvlist_unpack() error
Attached
Detach File
Event Timeline
Log In to Comment