Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153718815
D50224.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
355 B
Referenced Files
None
Subscribers
None
D50224.id.diff
View Options
diff --git a/lib/libc/gen/tls.c b/lib/libc/gen/tls.c
--- a/lib/libc/gen/tls.c
+++ b/lib/libc/gen/tls.c
@@ -85,8 +85,8 @@
dtv = _tcb_get()->tcb_dtv;
ti = vti;
- return ((char *)(dtv[ti->ti_module + 1] + ti->ti_offset) +
- TLS_DTV_OFFSET);
+ return ((char *)dtv[ti->ti_module + 1] + (ti->ti_offset +
+ TLS_DTV_OFFSET));
}
#ifdef __i386__
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 24, 4:47 AM (8 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32060758
Default Alt Text
D50224.id.diff (355 B)
Attached To
Mode
D50224: libc: Reassociate pointer arithmetic in __libc_tls_get_addr
Attached
Detach File
Event Timeline
Log In to Comment