Ethereal-dev: Re: [Ethereal-dev] Buildbot crash output
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: ronnie sahlberg <ronniesahlberg@xxxxxxxxx>
Date: Thu, 13 Oct 2005 11:37:51 +1000
please find attached a patch for this bug.
i have dns issues on my end so i can not check it in myself
i have dns issues on my end so i can not check it in myself
On 10/13/05, Buildbot <buildbot-do-not-reply@xxxxxxxxxxxx> wrote:
Problems have been found with the following capture file(s):
http://www.ethereal.com/distribution/buildbot-builds/randpkt/editcap.434d6f3a.pcap
Error information:
(no core file found)
(no stderr output)
Bug 529 posted.
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev
Index: asn1/acse/packet-acse-template.c
===================================================================
--- asn1/acse/packet-acse-template.c (revision 16206)
+++ asn1/acse/packet-acse-template.c (working copy)
@@ -218,9 +218,10 @@
/* we can't make any additional checking here */
/* postpone it before dissector will have more information */
while (tvb_reported_length_remaining(tvb, offset) > 0){
+ int old_offset=offset;
offset = dissect_acse_ACSE_apdu(FALSE, tvb, offset, pinfo, tree, -1);
- if(offset == FALSE ){
- proto_tree_add_text(tree, tvb, offset, -1,"Internal error");
+ if(offset == old_offset ){
+ proto_tree_add_text(tree, tvb, offset, -1,"Malformed packet");
offset = tvb_length(tvb);
break;
}
Index: epan/dissectors/packet-acse.c
===================================================================
--- epan/dissectors/packet-acse.c (revision 16206)
+++ epan/dissectors/packet-acse.c (working copy)
@@ -1,6 +1,6 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
-/* .\packet-acse.c */
+/* ./packet-acse.c */
/* ../../tools/asn2eth.py -X -b -e -p acse -c acse.cnf -s packet-acse-template acse.asn */
/* Input file: packet-acse-template.c */
@@ -1917,9 +1917,10 @@
/* we can't make any additional checking here */
/* postpone it before dissector will have more information */
while (tvb_reported_length_remaining(tvb, offset) > 0){
+ int old_offset=offset;
offset = dissect_acse_ACSE_apdu(FALSE, tvb, offset, pinfo, tree, -1);
- if(offset == FALSE ){
- proto_tree_add_text(tree, tvb, offset, -1,"Internal error");
+ if(offset == old_offset ){
+ proto_tree_add_text(tree, tvb, offset, -1,"Malformed packet");
offset = tvb_length(tvb);
break;
}
Index: epan/dissectors/packet-acse.h
===================================================================
--- epan/dissectors/packet-acse.h (revision 16206)
+++ epan/dissectors/packet-acse.h (working copy)
@@ -1,6 +1,6 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
-/* .\packet-acse.h */
+/* ./packet-acse.h */
/* ../../tools/asn2eth.py -X -b -e -p acse -c acse.cnf -s packet-acse-template acse.asn */
/* Input file: packet-acse-template.h */
- References:
- [Ethereal-dev] Buildbot crash output
- From: Buildbot
- [Ethereal-dev] Buildbot crash output
- Prev by Date: Re: [Ethereal-dev] Re: [Ethereal-cvs] rev 16131:
- Next by Date: Re: [Ethereal-dev] Buildbot crash output
- Previous by thread: [Ethereal-dev] Buildbot crash output
- Next by thread: Re: [Ethereal-dev] Buildbot crash output
- Index(es):





