August 28, 2016 [Issue 16443] New: std.getopt: segmentation fault with empty string option | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16443 Issue ID: 16443 Summary: std.getopt: segmentation fault with empty string option Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody@puremagic.com Reporter: deschenes.j.m@gmail.com When using the following: ------------------------- import std.getopt; void main(string[] args) { bool error_here; auto information = getopt( args, "", &error_here, ); } ----------------------- Will result in a segmentation fault during execution. -- |
Copyright © 1999-2021 by the D Language Foundation