diff options
author | Julien Cristau <jcristau@debian.org> | 2013-07-01 18:57:12 +0200 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2013-07-02 18:48:56 +0200 |
commit | 5b6d3797eae3bac824cf72c0c8f64f51e3d4eaef (patch) | |
tree | 63ed56b5f3da376d65b430a06db642f77c87d208 /pr.c | |
parent | 107c2fcf5c7576ee66ee23926f0431b6db27a07a (diff) |
Don't crash if an option's argument is missing
Avoid dereferencing argv[argc].
See http://www.forallsecure.com/bug-reports/011f1a55f79a5501b36008d6ee0d40e8b6644569/
Reported-by: Alexandre Rebert <alexandre@cmu.edu>
Signed-off-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'pr.c')
0 files changed, 0 insertions, 0 deletions