Re: [NASL2] Metaphysical question on null values
Michel Arboi <[email protected]>
| Newsgroups | gmane.comp.security.nessus.devel |
|---|---|
| Organization | Compilo ergo sum |
| Message-ID | <[email protected]> |
"Pavel Kankovsky" <[email protected]> writes: > IMHO, any use of an undefined value (unless explicitly allowed) is a > very good reason (at least) to print a warning--no sane program should > ever do such a thing. This happens with -DNASL_DEBUG=1 Unfortunately, function arguments are implemented as local variables, and when a function tries to read an optional argument, you get a warning. > 1. the program is terminated Easy to implement (once we fix the argument problem), but rather dirty IMHO.