Opened 10 years ago

Closed 10 years ago

#2846 closed defect (fixed)

parse_address not null safe

Reported by: robe Owned by: woobri
Priority: blocker Milestone: PostGIS 2.2.0
Component: pagc_address_parser Version: master
Keywords: Cc:

Description

SELECT parse_address(NULL);

crashes my server.

We should probably make this strict and same with address_standardizer that inputs should be strict. Can't think of a reason why we would want null in any of the args of either except possibly the micro,macro variant of standardizer.

Change History (2)

comment:1 by robe, 10 years ago

Priority: mediumblocker

comment:2 by robe, 10 years ago

Resolution: fixed
Status: newclosed

made immutable strict to prevent crashing. at r12803

the other functions were already set that way.

Note: See TracTickets for help on using tickets.