Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147707175
D50224.1784136973.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
355 B
Referenced Files
None
Subscribers
None
D50224.1784136973.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
Wed, Jul 15, 5:36 PM (20 m, 49 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29145738
Default Alt Text
D50224.1784136973.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