Opened 10 years ago

Closed 10 years ago

Last modified 10 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 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by bronaugh

Attachment: generator.c.diff added

comment:1 Changed 10 years ago by strk

Owner: changed from pramsey to strk
Status: newassigned

comment:2 Changed 10 years ago by strk

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

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

comment:3 Changed 10 years ago by strk

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.