Opened 18 years ago

Closed 7 years ago

#15 closed task (fixed)

IZ154: suppress READ_DANGLING (insure) in combination with getenv()

Reported by: ernst Owned by: Dave Love <d.love@…>
Priority: normal Milestone:
Component: sge Version: 5.3beta2
Severity: Keywords: cleanup
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=154]

        Issue #:      154              Platform:     All        Reporter: ernst (ernst)
       Component:     gridengine          OS:        All
     Subcomponent:    cleanup          Version:      5.3beta2      CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    TASK
                                   Target milestone: ---
      Assigned to:    ernst (ernst)
      QA Contact:     ernst
          URL:
       * Summary:     suppress READ_DANGLING (insure) in combination with getenv()
   Status whiteboard:
      Attachments:

     Issue 154 blocks:
   Votes for issue 154:


   Opened: Wed Feb 20 03:39:00 -0700 2002 
------------------------


sge_get_root_dir() and other function raise a READ_DANGLING error.

This should be handled properly, e.g. by strdupping the value returned by getenv()

Change History (1)

comment:1 Changed 7 years ago by Dave Love <d.love@…>

  • Owner set to Dave Love <d.love@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 4445/sge:

Fix #15: copy environment values
I can't see any other cases

Note: See TracTickets for help on using tickets.