Skip to content
Snippets Groups Projects
  1. Aug 01, 2017
    • bohu's avatar
      gptfdisk: fix stack overflow in parsing cmdline · a76de3a0
      bohu authored
      The getopt_long will return -1 when all command-line
      options have been parsed, and the index value will not
      be changed in that case.
      
      The caller should check both and handle it properly.
      
      BUG: 64235252
      
      Change-Id: I203dd5bc42bb7ce83e558f25074c7e1a92f250e9
      
      (cherry picked from commit 69e46b9a)
      a76de3a0
    • bohu's avatar
      gptfdisk: fix stack overflow in parsing cmdline · 69e46b9a
      bohu authored
      The getopt_long will return -1 when all command-line
      options have been parsed, and the index value will not
      be changed in that case.
      
      The caller should check both and handle it properly.
      
      Change-Id: I203dd5bc42bb7ce83e558f25074c7e1a92f250e9
      69e46b9a
  2. Feb 25, 2015
  3. Feb 21, 2015
    • Jeff Sharkey's avatar
      Compile gptfdisk for Android. · 873988ad
      Jeff Sharkey authored
      Build sgdisk command line tool for use on Android devices.  The
      command line parsing is currently written using popt, which has been
      deprecated for some time, and is replaced by GNOME's glib option
      parser.
      
      Instead of pulling in either of those dependencies, this change
      adds a stub that implements just enough of popt to get things
      working.
      
      Change-Id: I619f8da2e413893b4ea015a5d9e48d42637e25c8
      873988ad
Loading