Gerald Combs
d55ec3bd66
Fix compilation on systems with Net-SNMP.
...
svn path=/trunk/; revision=18695
2006-07-10 01:05:24 +00:00
Gerald Combs
8b315480f1
In new_format_oid(), handle a zero-length OID.
...
Fix a bug introduced recently in packet-rpc.c.
Replace DISSECTOR_ASSERT() with THROW(ReportedBoundsError) in my recent
checkins, since fuzz-test.sh sets WIRESHARK_ABORT_ON_DISSECTOR_BUG.
svn path=/trunk/; revision=18693
2006-07-09 22:12:02 +00:00
Gerald Combs
de826c3425
Don't pass an empty OID to sprint_realloc_variable(). This should fix a
...
recent fuzz error.
Fix up whitespace.
svn path=/trunk/; revision=18667
2006-07-05 21:30:25 +00:00
Ronnie Sahlberg
b9ee7a9b4f
replace the two remaining g_malloc with ep_alloc
...
this indirectly fixes a tiny memory leak with one of the g_mallocs
svn path=/trunk/; revision=18649
2006-07-04 03:27:14 +00:00
Ronnie Sahlberg
45cb7d3fab
check_var_length can also return ewp allocated memory now
...
svn path=/trunk/; revision=18648
2006-07-04 03:15:58 +00:00
Ronnie Sahlberg
889fe1c6fe
make new_format_oid return ep allocated data.
...
this also removes several small memory leaks through get_oid_name and get_oid_str_name where the callers nevber freed the data
svn path=/trunk/; revision=18647
2006-07-04 02:36:18 +00:00
Ronnie Sahlberg
c27681ad4d
make format_oid use ep allocated memory internally instead of malloced memory
...
svn path=/trunk/; revision=18645
2006-07-04 02:15:55 +00:00
Ronnie Sahlberg
69ccdaa778
make format_var return ep allocated memory
...
svn path=/trunk/; revision=18644
2006-07-04 01:56:52 +00:00
Jörg Mayer
392e584e1e
Include <ctype.h> to fix some warnings. Regenerate the
...
dissector.
svn path=/trunk/; revision=18461
2006-06-14 08:08:51 +00:00
Tomas Kukosa
a063a87af5
- "next tvb" list moved from h225 to new file next_tvb.[ch]
...
- h225 updated and regenerated
- restore calling subdissectors for SNMP variables which was broken with new SNMP
svn path=/trunk/; revision=18451
2006-06-13 13:21:12 +00:00
Anders Broman
d17dad9ead
Atempt to fix bug 967 crash on fuzzed SNMP capture. I can't reproduce the Bug.
...
svn path=/trunk/; revision=18216
2006-05-23 20:36:49 +00:00
Tomas Kukosa
55600fb60a
Ethereal -> Wireshark
...
asn2eth -> asn2wrs
svn path=/trunk/; revision=18214
2006-05-23 15:17:14 +00:00
Ronnie Sahlberg
f0b33a4789
ethereal->wireshark updates
...
svn path=/trunk/; revision=18206
2006-05-22 08:14:01 +00:00
Ronnie Sahlberg
89f022b12b
name change
...
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Guy Harris
aa4b59de6f
Don't throw an exception in oid_to_subid_buf() if the generated OID is
...
zero-length - oid_to_subid_buf() can be called when we're not in the
middle of a dissection, and throwing a "dissector bug" assertion in that
case is itself a bug.
svn path=/trunk/; revision=18164
2006-05-15 17:58:39 +00:00
Anders Broman
396a33dbee
snmp: Hopfully fix bug Bug 925.
...
Add packet-ulp.c missing from last commit.
svn path=/trunk/; revision=18144
2006-05-13 22:18:08 +00:00
Anders Broman
9740278a1d
Fix bug 926 OID wrongly decoded.
...
svn path=/trunk/; revision=18106
2006-05-08 17:30:24 +00:00
Anders Broman
b4d7dd6060
Some more variable bindings and add some mising PDU types.
...
svn path=/trunk/; revision=17637
2006-03-15 18:57:47 +00:00
Anders Broman
beeb757f61
Start implementing the variable binding part.
...
svn path=/trunk/; revision=17631
2006-03-15 06:20:23 +00:00
Gerald Combs
f816511ea9
In packet-cops.c use proto_item_append_text() instead of creating a
...
separate buffer. Fixes the current Buildbot failure.
Don't let the sprint_realloc_* functions reallocate ep_allocated memory.
Add comments warning against this in the future.
In emem.c, make sure we don't use an extra 100k every stinkin' time
someone wants to allocate memory when debugging is enabled.
Fixup whitespace.
svn path=/trunk/; revision=17051
2006-01-18 20:02:19 +00:00
Anders Broman
223506c537
Work in progress an asn2eth generated snmp dissector.
...
svn path=/trunk/; revision=16674
2005-12-04 21:45:38 +00:00