Improve string functions

Bug #1094441 reported by Andrew Hutchings
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle Client & Protocol Library
Fix Released
Wishlist
Brian Aker

Bug Description

drizzle_escape_string(), drizzle_hex_string(), etc... could use a char** output parameter so the function could allocate a string of the correct length.

It would then be up to the application to free the resulting char array.

Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

also drizzle_hex_string needs to become a private function, can't see a reason for an application to need that but it is needed for the password functions.

Changed in libdrizzle:
assignee: nobody → Brian Aker (brianaker)
milestone: none → 5.1.3
status: New → 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.