Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1146 closed defect (fixed)

/trunk/doc/html/image_src/generator.c crashes when provided with less-than-three character filenames

Reported by: bronaugh Owned by: strk
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: 1.5.X
Keywords: Cc:

Description (last modified by strk)

See summary. Patch attached that throws out filenames shorter than 3 characters and cleans up handling of strings.

I don't think it's worth backporting this, being only a tool used for documentation.

Attachments (1)

generator.c.diff (845 bytes ) - added by bronaugh 13 years ago.

Download all attachments as: .zip

Change History (4)

by bronaugh, 13 years ago

Attachment: generator.c.diff added

comment:1 by strk, 13 years ago

Owner: changed from pramsey to strk
Status: newassigned

comment:2 by strk, 13 years ago

Description: modified (diff)
Resolution: fixed
Status: assignedclosed

Committed slightly modified patch in r8470 (the calloc call was invalid)

comment:3 by strk, 13 years ago

I have some serious problem with referencing commits... This one was r8471. Now also backported as r8764.

Note: See TracTickets for help on using tickets.