strerror_r() should be used instead of strerror()

Bug #606478 reported by Hartmut Holzgraefe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Medium
Andrew Hutchings
7.0
Fix Released
Medium
Andrew Hutchings

Bug Description

Several plugins use strerror() to get textual error messages.
strerror() uses an internal buffer though and so isn't necessarily thread safe.

The thread safe strerror_r() variant should be used instead.

Related branches

Stewart Smith (stewart)
Changed in drizzle:
status: New → Confirmed
importance: Undecided → Medium
Stewart Smith (stewart)
Changed in drizzle:
assignee: nobody → Andrew Hutchings (thelinuxjedi)
Changed in drizzle:
status: Confirmed → In Progress
Changed in drizzle:
status: In Progress → Fix Committed
Changed in drizzle:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.