Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115415594
D29540.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
446 B
Referenced Files
None
Subscribers
None
D29540.diff
View Options
diff --git a/sys/kern/kern_sendfile.c b/sys/kern/kern_sendfile.c
--- a/sys/kern/kern_sendfile.c
+++ b/sys/kern/kern_sendfile.c
@@ -571,6 +571,7 @@
struct shmfd *shmfd;
int error;
+ error = 0;
vp = *vp_res = NULL;
obj = NULL;
shmfd = *shmfd_res = NULL;
@@ -610,7 +611,6 @@
VM_OBJECT_RLOCK(obj);
}
} else if (fp->f_type == DTYPE_SHM) {
- error = 0;
shmfd = fp->f_data;
obj = shmfd->shm_object;
VM_OBJECT_RLOCK(obj);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 24, 2:06 PM (16 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17760216
Default Alt Text
D29540.diff (446 B)
Attached To
Mode
D29540: sendfile: Fix error initialization in sendfile_getobj()
Attached
Detach File
Event Timeline
Log In to Comment