[Poppler-bugs] [Bug 23080] New: strtok() is not thread-safe

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 1 06:49:34 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=23080

           Summary: strtok() is not thread-safe
           Product: poppler
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: ubanus at users.sf.net


Created an attachment (id=28251)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=28251)
Replace strtok() with strtok_r()

(Tested with poppler 0.10.6.)

poppler uses the strtok() function, while it's not safe to do so in 
a multi-threaded application (or in a library aimed to be used in a 
multi-threaded applications).


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list