Changeset 144020 in webkit
- Timestamp:
- Feb 26, 2013, 12:49:28 AM (14 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
wtf/Threading.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r144001 r144020 1 2013-02-26 Oliver Hunt <oliver@apple.com> 2 3 Appease static analyzer warning about null string passed to strlen 4 https://bugs.webkit.org/show_bug.cgi?id=110658 5 6 Reviewed by Benjamin Poulain. 7 8 Add a null check before calling strlen 9 10 * wtf/Threading.cpp: 11 (WTF::createThread): 12 1 13 2013-02-25 Ryosuke Niwa <rniwa@webkit.org> 2 14 -
trunk/Source/WTF/wtf/Threading.cpp
r111778 r144020 75 75 // be truncated silently, but we'd like callers to know about the limit. 76 76 #if !LOG_DISABLED 77 if ( strlen(name) > 31)77 if (name && strlen(name) > 31) 78 78 LOG_ERROR("Thread name \"%s\" is longer than 31 characters and will be truncated by Visual Studio", name); 79 79 #endif
Note:
See TracChangeset
for help on using the changeset viewer.