10831 loader emulator ls command fails to detect file types

Review Request #1774 — Created April 19, 2019 and submitted

tsoome
illumos-gate
10831
1789
af1a324...
general
10831 loader emulator ls command fails to detect file types


  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
igork
  1. Ship It!
  2. 
      
yyang
  1. 
      
  2. usr/src/common/ficl/emu/loader_emu.c (Diff revision 1)
     
     

    asprintf() will allocate space, so is this malloc() needed?

    1. hm, I am pretty sure I did nuke it, but here it is..:)thanks.

  3. 
      
tsoome
yyang
  1. 
      
  2. usr/src/common/ficl/emu/loader_emu.c (Diff revision 2)
     
     

    Ideally the code should also deal with the case of buf == NULL, but I think it's out of scope of this fix.

  3. 
      
yyang
  1. Ship It!
  2. 
      
citrus
  1. Ship It!
  2. 
      
igork
  1. Ship It!
  2. 
      
tsoome
tsoome
Review request changed

Status: Closed (submitted)

Loading...