Known issues found by the 0.6.0 code analysis that are not fixed yet:

o The SMIng parser does not accept mibs/irtf/IRTF-NMRG-SMING (outdated
  grammar). The SMIng parser is deprecated.

o Internal functions of lib/smi-data.c (addHandle, addModule, ...) are
  exported from the shared library and may clash with other libraries
  (Fedora bug 864324, Fedora hides 116 of them). The RPM build hides
  them with a linker version script (packaging/rpm/libsmi-internal.map);
  a proper fix is symbol visibility in lib/ (-fvisibility=hidden plus
  explicit exports) together with a soname review.

o Memory is not completely released at exit (leak checkers): token
  strings in the SMI and YANG scanners/parsers, and the pending node
  trees (deliberately kept, see loadModule() in lib/smi-data.c).

o smidump -f xsd: the display hint to pattern conversion
  (tools/fortopat.c) is heuristic, e.g. multi-block hints with length
  ranges are not exact.

o MIB modules importing IEEE 802.1 MIBs (e.g. TRILL-OAM-MIB) cannot be
  fully resolved since IEEE modules are not bundled (their copyright
  release does not permit modifications); see README.md.

o smiGetEvent() is declared in smi.h and documented in smi_event(3),
  but has never been implemented (SMIng only).

o The message passed to an SmiErrorHandler is never freed (a leak per
  reported error), since its lifetime is undocumented and external
  handlers may keep the pointer. A fix needs a documented API change.

o Fuzzing (fuzz/) found more than 40 crashing or hanging inputs, all
  fixed (fuzz/regression/); longer runs are likely to find more problems
  in the old parser code. The CI job test:fuzz runs only on request
  (manually or with RUN_FUZZ=1).

o test/smidump-sming.test is not run, its nominal files are outdated
  (SMIng is deprecated).

Older items:


o error detection: detect IMPORTs of SMIv1 specific and SMIv2 specific
  items in the same module, e.g. old OBJECT-TYPE macro and (new)
  NOTIFICATION-TYPE macro.

o error detection: does table node have exactly one row sub node
  with oid == 1? (2578.7.10)

o warning detection: non continuous sub oids in column node list?

o warning detection: not reversible DISPLAY-HINT definitions

o remove SMI_DECL_IMPL_SEQUENCEOF from smi.h: the smiv1/smiv2 parser 
  should keep internal data structures for sequence types so that it 
  can set the correct nodekinds and that it can check the SEQUENCE 
  contents (see previous item). these internal data structures can
  be released at the end of a MIB module.

o warning detection: enumerations SHOULD NOT contain signedNumber's.
  SHOULD start at 1. SHOULD be numbered contiguously.
  e.g. DISMAN-SCHEDULE-MIB.SnmpPduErrorStatus

o warning detection: subtyping not allowed for counter or timeticks

o warning detection: defvals not allowed for counter

o warning detection: missing display hints for OCTET STRING derived types

o parser-smi.y: handle forbidden WS at some places
  ( Module . label, ...)

o dump-sming.c: ensure an order without forward references in typedef's.

o dump-sming.c: support all(!) kinds of index clauses

o thread safety (global vars? static vars? strtok() and other funcs?)
  different views

o need a handle to distinguish different views.

o clearly separate language dependent information at the API: SMI_STATUS_*
  map STATUS to a non-language-dependent type

o OID/Name Lookup Service (continue work on smid?)

o how to convert SMIng types derived from other defined types correctly
  to SMIv2?

o various dump modules don't print identifiers fully qualified where
  appropriate

o Web online conversion to SMIng?

o special handling for well-known traps (reversibility?)

o smidump -f smiv1 now prints read AUGMENTS clauses as index lists correctly
  but these index objects might not be imported.

o smidump might print defvals for OIDs by label without importing it.

o line breaks in long bits defaults values (dump-*.c)

o Add smiGetFirstChildType(SmiType *smiType) and 
  smiGetNextChildType(SmiType *smiType) to the API.

o Make sure we always get the newest definition when looking up things
  that are not unique.

o The SMIv1/SMIv2/SMIng dump modules should build proper IMPORTS for
  OIDs that show up in DEFVAL or default clauses.

o The default value conversion functions (e.g. getValueString()) should
  return malloced memory to avoid potential memory overwrite problems.

o Suppress the following types: SNMPv2-SMI::ExtUTCTime,
  SNMPv2-SMI::ObjectName, SNMPv2-SMI::NotificationName.

o Check format specifier text in SMIng spec and add a `u' format specifier
  for unsigned numbers.

o smidump -f tree -u IF-MIB SNA-SDLC-MIB vs.
  smidump -f tree -u SNA-SDLC-MIB IF-MIB : e.g. ifEntry differences.

o rename test modules: TUBS-IBR prefix.

o make libsmi aware of annotations (when SMIng supports annotations).

o sming: in rule `refinedBaseType -> EnumerationKeyword optsep namedNumberSpec'
  the `optsep' has to be inserted.

o sming: in rule `refinedBaseType -> BitsKeyword optsep namedNumberSpec'
  the `optsep' has to be inserted.

o sming: ensure enum namedNumbers can be signed and bits namedNumbers cannot.

o split the library into wo layers: (a) a lower layer that is very
  restrictive on allowed input, does not care about memory management, etc.
  and (b) a higher layer of utility functions, like display-hint based value
  formatting, oid-to-instance-element parsing, constant-to-string mappings,
  etc.

o extend smicache so that MIB authors can use it to submit URLs for their
  MIBs to a central MIB http/ftp service? Ask Aiko, whether the SimpleWeb
  should offer such a MIB service?

o Allow the MIB server to support lookup by OID.

o Is there any value in MIB-by-OID lookup through DNS? ;-)

o X.208, section 28 allows different forms of OID values. Some of them are
  not accepted by the parser. Note also that the SMIv1 ENTERPRISE construct
  contains an OID value, although it's common practice to specify its value
  in a plain identifier name form, which is not matched by the ASN.1 OID
  syntax.

o dump-xml/dump-xsd: the output of all bundled modules is well-formed XML
  (checked by test/xml-wellformed.test and in 0.6.0 for all modules);
  validity against doc/smi.xsd and XML Schema is not checked.

o smidiff does not yet support the -i option, like smilint does.

o error detection: different types in SEQUENCE and OBJECT-TYPE macros
  (recognized for a MIB where the SEQUENCE contains "INTEGER" for a column
  for which the OBJECT-TYPE's type is SNMPv2-TC::TruthValue. Notify Bert
  when fixed.

o error detection: integer DEFVAL for an enumeration typed OBJECT-TYPE.
  Notify Bert when fixed.

o API: several applications need a mechanism to iterate through the 
  index components of a row definition, e.g. many of the dump-* drivers.
  For example, see dump-scli.oc: foreachIndexDo(). Maybe something like
  smiGetFirstIndex()/smiGetNextIndex() would be a good idea.

o API/Utility Functions: getMinSize()/getMaxSize() is needed by multiple
  smidump drivers. See dump-scli.c for a good implementation.

o RFC 2578: If any columnar object in a conceptual row has
  "read-create" as its maximal level of access, then no other columnar
  object of the same conceptual row may have a maximal access of
  "read-write". We should check this constraint.

o Generate a warning if a module is listed multiple times in the
  imports and if a symbol is imported twice (Dave Perkins)

o error detection: read-write in a read-create row

o reorganize the source code modules to more cleanly separate smi
  related sources files from yang related source files and common
  source files (deliberately not done for 0.6.0)

o cleanup the C namespace pollution; all SMI API functions should
  start with smi, all YANG API functions with yang, all SMI internal
  functions should start with _smi, all YANG internal functions should
  start with _yang
