Modify

Opened 8 years ago

Closed 8 years ago

#569 closed defect (fixed)

Multiple Seg Fault possible

Reported by: bcornec Owned by: bas
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 8 years ago by bas

  • Status changed from new to assigned

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 8 years ago by bas

fixed in version 0.8.0

comment:3 Changed 8 years ago by bas

  • Resolution set to fixed
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from bas. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.