[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-users
Subject:    RE: found a crash in 5.7.2 when sending informs
From:       Joan Landry <Joan.Landry () overturenetworks ! com>
Date:       2014-02-11 15:41:49
Message-ID: B6B5ACC096D8924AA1D765231278AAF76E683D91 () mbx024-e1-nj-2 ! exch024 ! domain ! local
[Download RAW message or body]

No - but I actually did find a bug post on this on the Net-snmp

The fix is simple - just test for a null pointer.

It does not always occur on my setup either.

http://sourceforge.net/p/net-snmp/bugs/2507/



From: Bill Fenner [mailto:fenner@gmail.com]
Sent: Tuesday, February 11, 2014 10:26 AM
To: Joan Landry
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: found a crash in 5.7.2 when sending informs

On Thu, Feb 6, 2014 at 3:49 PM, Joan Landry \
<Joan.Landry@overturenetworks.com<mailto:Joan.Landry@overturenetworks.com>> wrote:

I am seeing a crash occur in the function _sess_process_packet when sending an inform \
trap at line


                 ((struct synch_state*)magic)->waiting = 0;

Because magic is NULL.

Is anyone aware of this issue or if there is an existing patch.

When I test for null  - the crash is avoided - however I would like to know if there \
is a more valid patch for this issue.

Do you have more details about how to make this happen?  We use informs with 5.7.2 \
and haven't seen this issue.

Thanks,
  Bill


This email and attachments may contain privileged or confidential information \
intended only for the addressee(s) indicated. The sender does not waive any of its \
rights, privileges or protections respecting this information. If you are not the \
named addressee, an employee, or agent responsible for sending this message to the \
named addressee (or this message was received by mistake), you are not authorized to \
read, print, retain, copy or disseminate this message or any part of it. If received \
in error, please notify us immediately by e-mail, discard any paper copies and delete \
all electronic files of the email.

Computer viruses can be transmitted via email. The recipient should check this email \
and any attachments for viruses. Email transmission cannot be guaranteed to be \
secured or error-free as information could be intercepted, corrupted, lost, \
destroyed, arrive late or incomplete, or contain viruses. The sender accepts no \
liability for any damage caused by any transmitted viruses or errors or omissions in \
the contents of this message.

Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 \
www.overturenetworks.com<http://www.overturenetworks.com>

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net<mailto:Net-snmp-users@lists.sourceforge.net>
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



This email and attachments may contain privileged or confidential information \
intended only for the addressee(s) indicated. The sender does not waive any of its \
rights, privileges or protections respecting this information. If you are not the \
named addressee, an employee, or agent responsible for sending this message to the \
named addressee (or this message was received by mistake), you are not authorized to \
read, print, retain, copy or disseminate this message or any part of it. If received \
in error, please notify us immediately by e-mail, discard any paper copies and delete \
all electronic files of the email.

Computer viruses can be transmitted via email. The recipient should check this email \
and any attachments for viruses. Email transmission cannot be guaranteed to be \
secured or error-free as information could be intercepted, corrupted, lost, \
destroyed, arrive late or incomplete, or contain viruses. The sender accepts no \
liability for any damage caused by any transmitted viruses or errors or omissions in \
the contents of this message.

Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 \
www.overturenetworks.com


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">No \
&#8211; but I actually did find a bug post on this on the Net-snmp \
<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">The \
fix is simple &#8211; just test for a null pointer.<o:p></o:p></span></p> <p \
class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">It \
does not always occur on my setup either.<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p> <p \
class="MsoNormal"><span style="color:#1F497D"><a \
href="http://sourceforge.net/p/net-snmp/bugs/2507/">http://sourceforge.net/p/net-snmp/bugs/2507/</a><o:p></o:p></span></p>
 <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <p class="MsoNormal"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
 <div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Bill \
Fenner [mailto:fenner@gmail.com] <br>
<b>Sent:</b> Tuesday, February 11, 2014 10:26 AM<br>
<b>To:</b> Joan Landry<br>
<b>Cc:</b> net-snmp-users@lists.sourceforge.net<br>
<b>Subject:</b> Re: found a crash in 5.7.2 when sending informs<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">On Thu, Feb 6, 2014 at 3:49 PM, Joan Landry &lt;<a \
href="mailto:Joan.Landry@overturenetworks.com" \
target="_blank">Joan.Landry@overturenetworks.com</a>&gt; wrote:<o:p></o:p></p> <div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
 <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I \
am seeing a crash occur in the function _sess_process_packet when sending an inform \
trap at line</span><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
 <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:# \
1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:# \
1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
((struct synch_state*)magic)-&gt;waiting = 0;</span><o:p></o:p></p> <p \
class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:# \
1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Because \
magic is NULL.</span><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
 <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Is \
anyone aware of this issue or if there is an existing patch.</span><o:p></o:p></p> <p \
class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
 <p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">When \
I test for null&nbsp; - the crash is avoided &#8211; however I would like to know if \
there is a more valid  patch for this issue.</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Do you have more details about how to make this happen? &nbsp;We \
use informs with 5.7.2 and haven't seen this issue.<o:p></o:p></p> </div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">&nbsp; Bill<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in \
6.0pt;margin-left:4.8pt;margin-right:0in"> <div>
<div>
<p class="MsoNormal" \
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><o:p>&nbsp;</o:p></p> \
</div> <p class="MsoNormal"><span style="font-size:7.5pt">This email and attachments \
may contain privileged or confidential information intended only for the addressee(s) \
indicated. The sender does not waive any of its rights, privileges or protections \
respecting  this information. If you are not the named addressee, an employee, or \
agent responsible for sending this message to the named addressee (or this message \
was received by mistake), you are not authorized to read, print, retain, copy or \
disseminate this message  or any part of it. If received in error, please notify us \
immediately by e-mail, discard any paper copies and delete all electronic files of \
the email.<br> <br>
Computer viruses can be transmitted via email. The recipient should check this email \
and any attachments for viruses. Email transmission cannot be guaranteed to be \
secured or error-free as information could be intercepted, corrupted, lost, \
destroyed, arrive  late or incomplete, or contain viruses. The sender accepts no \
liability for any damage caused by any transmitted viruses or errors or omissions in \
the contents of this message.<br> <br>
Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 <a \
href="http://www.overturenetworks.com" target="_blank"> \
www.overturenetworks.com</a></span> <o:p></o:p></p> </div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
------------------------------------------------------------------------------<br>
Managing the Performance of Cloud-Based Applications<br>
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.<br>
Read the Whitepaper.<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=121051231&amp;iu=/4140/ostg.clktrk" \
target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=121051231&amp;iu=/4140/ostg.clktrk</a><br>
 _______________________________________________<br>
Net-snmp-users mailing list<br>
<a href="mailto:Net-snmp-users@lists.sourceforge.net">Net-snmp-users@lists.sourceforge.net</a><br>
 Please see the following page to unsubscribe or change other options:<br>
<a href="https://lists.sourceforge.net/lists/listinfo/net-snmp-users" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/net-snmp-users</a><o:p></o:p></p>
 </blockquote>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
<br>
<br>
<font size="1">This email and attachments may contain privileged or confidential \
information intended only for the addressee(s) indicated. The sender does not waive \
any of its rights, privileges or protections respecting this information. If you are \
not the  named addressee, an employee, or agent responsible for sending this message \
to the named addressee (or this message was received by mistake), you are not \
authorized to read, print, retain, copy or disseminate this message or any part of \
it. If received in  error, please notify us immediately by e-mail, discard any paper \
copies and delete all electronic files of the email.<br> <br>
Computer viruses can be transmitted via email. The recipient should check this email \
and any attachments for viruses. Email transmission cannot be guaranteed to be \
secured or error-free as information could be intercepted, corrupted, lost, \
destroyed, arrive  late or incomplete, or contain viruses. The sender accepts no \
liability for any damage caused by any transmitted viruses or errors or omissions in \
the contents of this message.<br> <br>
Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 \
www.overturenetworks.com</font> </body>
</html>


[Attachment #4 (--===============6578356739118237038==)]
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic