On Sat, Aug 07, 2004 at 12:32:54AM +0200, Magnus Fromreide wrote:
> On Mon, Aug 02, 2004 at 10:21:52PM -0700, Wes Hardaker wrote:
> > >>>>> On Mon, 2 Aug 2004 19:52:25 +0200, Magnus Fromreide <[EMAIL PROTECTED]> said:
> > 
> > Magnus> Recently the (CVS) agent have started to default associate the
> > Magnus> empty context when no context is specified. How should I do to
> > Magnus> restore the old behaviour so that no context is transmitted?
> > 
> > Magnus> Note that the empty context ain't equal to the default
> > Magnus> context, just as "" != NULL.
> > 
> > I'll look into that.  Thanks for pointing it out.
> 

Now I have looked further into this and have found that it is a bit hard
since *_getSecName (which is used as input here) uses NULL to indicate
that there was no valid context as the return value is used to indicate
if there are no com2sec entries as opposed to no matchin entries (I can't
se why since the one caller throws away that information right away).

As a fun side note the AgentX spec seems to allow contexts with embedded
NUL chars but that is something that I think could be ignored for a while
longer.


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to