public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/96486] New: get_environment_variable fails for zero-length variables
@ 2020-08-05 16:03 jussilehtola at fedoraproject dot org
  2020-08-05 16:06 ` [Bug fortran/96486] get_environment_variable fails for zero-length values kargl at gcc dot gnu.org
                   ` (32 more replies)
  0 siblings, 33 replies; 34+ messages in thread
From: jussilehtola at fedoraproject dot org @ 2020-08-05 16:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96486

            Bug ID: 96486
           Summary: get_environment_variable fails for zero-length
                    variables
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jussilehtola at fedoraproject dot org
  Target Milestone: ---

get_environment_variable checks for zero-length value strings before it checks
the length of the result string.

In the case of zero-length result strings, a zero-length value string should be
perfectly acceptable.

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2020-08-24 14:05 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 16:03 [Bug fortran/96486] New: get_environment_variable fails for zero-length variables jussilehtola at fedoraproject dot org
2020-08-05 16:06 ` [Bug fortran/96486] get_environment_variable fails for zero-length values kargl at gcc dot gnu.org
2020-08-05 16:07 ` dominiq at lps dot ens.fr
2020-08-05 16:07 ` dominiq at lps dot ens.fr
2020-08-05 16:42 ` jussilehtola at fedoraproject dot org
2020-08-05 16:43 ` jussilehtola at fedoraproject dot org
2020-08-05 17:36 ` kargl at gcc dot gnu.org
2020-08-05 17:43 ` kargl at gcc dot gnu.org
2020-08-05 17:49 ` kargl at gcc dot gnu.org
2020-08-05 17:53 ` jussilehtola at fedoraproject dot org
2020-08-05 18:00 ` kargl at gcc dot gnu.org
2020-08-05 18:14 ` jussilehtola at fedoraproject dot org
2020-08-05 18:33 ` kargl at gcc dot gnu.org
2020-08-06  8:03 ` markeggleston at gcc dot gnu.org
2020-08-06  8:42 ` jussilehtola at fedoraproject dot org
2020-08-06 15:56 ` sgk at troutmask dot apl.washington.edu
2020-08-06 16:01 ` sgk at troutmask dot apl.washington.edu
2020-08-06 20:33 ` jussilehtola at fedoraproject dot org
2020-08-07  0:17 ` sgk at troutmask dot apl.washington.edu
2020-08-07  3:02 ` kargl at gcc dot gnu.org
2020-08-07 13:14 ` jussilehtola at fedoraproject dot org
2020-08-07 15:34 ` sgk at troutmask dot apl.washington.edu
2020-08-07 20:35 ` jussilehtola at fedoraproject dot org
2020-08-07 20:36 ` [Bug fortran/96486] get_environment_variable crashes for environment variables that are empty strings jussilehtola at fedoraproject dot org
2020-08-07 20:42 ` jussilehtola at fedoraproject dot org
2020-08-07 21:19 ` sgk at troutmask dot apl.washington.edu
2020-08-07 21:55 ` schwab@linux-m68k.org
2020-08-07 22:13 ` sgk at troutmask dot apl.washington.edu
2020-08-07 22:22 ` harald at gigawatt dot nl
2020-08-08 15:49 ` jussilehtola at fedoraproject dot org
2020-08-24 10:13 ` cvs-commit at gcc dot gnu.org
2020-08-24 11:36 ` cvs-commit at gcc dot gnu.org
2020-08-24 13:51 ` cvs-commit at gcc dot gnu.org
2020-08-24 14:05 ` markeggleston at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).