Make all string conversion functions safer
Bug #1082884 reported by
Andrew Hutchings
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle Client & Protocol Library |
Fix Released
|
Medium
|
Andrew Hutchings |
Bug Description
All string functions need a max to length parameter. So:
drizzle_
drizzle_hex_string adds a parameter
drizzle_
Related branches
To post a comment you must log in.
actually only matters for escape_string, the others have fixed return lengths. That said the return type for drizzle_hex_string only needs to be bool