Opened 19 months ago
Last modified 17 months ago
#5535 closed defect
String handling in debug_standardize_address — at Version 1
Reported by: | pramsey | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.4.1 |
Component: | pagc_address_parser | Version: | 3.4.x |
Keywords: | Cc: |
Description (last modified by ) ¶
The memory handling in debug_standardize_address is not super clean in the string building, it could stand to be cleaned up. In particular, don't do a bunch of length counting and addition and then palloc, just use StringInfo. Also don't use a bare sprintf, and rework that area also into using StringInfo.
Note:
See TracTickets
for help on using tickets.