dissector: eth: Make port file parsing more robust
commitffc485dbcab01699fdbe8d9cf3da6a3f2bbed698
authorTobias Klauser <tklauser@distanz.ch>
Thu, 13 Jun 2013 13:52:01 +0000 (13 15:52 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Thu, 13 Jun 2013 13:52:01 +0000 (13 15:52 +0200)
tree820d5f6b16636375b76d79236b2e96d930b699f0
parentb6cb72afcf877e6b1ac062ca17e0be01c963cce7
dissector: eth: Make port file parsing more robust

Follow commit bdb9efef ("oui: Make parsing of oui.conf more robust") and
make parsing the upd.conf, tcp.conf and ether.conf files more robust
against format flaws. ALso here, in the worst case, we would end up
dereferencing a null pointer.

The null pointer dereference was found by the Coverity scanner.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
dissector_eth.c