bugThe GNU Hurd - Bugs: bug #17129, Uninitialized variable in...

 
 

bug #17129: Uninitialized variable in [hurd]/init/init.c

Submitter:  Thomas Schwinge <tschwinge>
Submitted:  Mon 17 Jul 2006 09:33:03 AM UTC
   
 
Category:  Hurd Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Reproducibility:  None
Size (loc):  None Planned Release:  None
Effort:  0.00
Wiki-like text discussion box: 


* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 24 Jul 2006 07:00:52 PM UTC, comment #1: 


The other callers of proc_getprocinfo() are:
  utils/login.c:checkowned()
  libps/procstat.c:fetch_procinfo()
  exec/elfcore.c:dump_core()

All of these callers have `flags' instantiated.  I don't know what it should be instantiated to.  maybe PI_FETCH_TASKINFO.

regards,

Ben

Ben Asselstine <benasselstine>
Mon 17 Jul 2006 09:33:03 AM UTC, original submission:  

[hurd]/init/init.c

#v+
              int flags;
              err = proc_getprocinfo (procserver, pp[ind], &flags,
                                      (int **)&pi, &pisize,
                                      &noise, &noise_len);
#v-

`flags' should probably be initialized; see hurd/process.defs and
proc/info.c.  Check with other users of `proc_getprocinfo'.

Thomas Schwinge <tschwinge>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.14-8eb0.
Corresponding source code