Modify

Opened 11 years ago

Closed 10 years ago

#569 closed defect (fixed)

Multiple Seg Fault possible

Reported by: Bruno Cornec Owned by: Bas van der Vlies
Priority: normal Component: EmailtoTracScript
Severity: major Keywords:
Cc: Trac Release: 0.9

Description

trac_script would be defined simplier by doing: asprintf(&trac_script, "%s/%s", TRAC_SCRIPT_PATH, TRAC_SCRIPT_NAME);

then values of MTA and TRAC from getpwnam should be tested in order to avoid Seg. Fault.

Attachments (0)

Change History (3)

comment:1 Changed 10 years ago by Bas van der Vlies

Status: newassigned

Thanks added a length chack for usernames and add a check if the MTA user is a valid user else we got an seg. fault ;-(

Fixed in trunk

comment:2 Changed 10 years ago by Bas van der Vlies

fixed in version 0.8.0

comment:3 Changed 10 years ago by Bas van der Vlies

Resolution: fixed
Status: assignedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Bas van der Vlies.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.