Notice: We have migrated to GitLab launching 2024-05-01 see here:

#709 closed defect (fixed)

putenv with environ==NULL causes access fault

Reported by: Eric Norum Owned by: Joel Sherrill
Priority: normal Milestone: 4.9
Component: unspecified Version: unknown
Severity: major Keywords:
Cc: bugs@…, norume@… Blocked By:


Calling putenv causes access fault (reference to location 0).
newlib putenv doesn't appear to work when environ==NULL.

CVS trunk, newlib-1.11.0, rtems newlib patch 20030614

Likely all host/target combinations

Change History (3)

comment:1 Changed on 10/26/04 at 13:21:14 by Eric Norum

Status: assignedwaiting

comment:2 Changed on 08/05/08 at 15:55:30 by Joel Sherrill

Milestone: 4.9
rep_platform: All
Resolution: fixed
Status: assignedclosed

Last comment says patch committed. Closing.

comment:3 Changed on 10/10/17 at 06:35:44 by Sebastian Huber

Component: miscunspecified
Note: See TracTickets for help on using tickets.