Re: Re: Bug #14679 Updated: Crash with RH ucd-snmp libs -- BUGFIX
On Mon, 2001-12-24 at 16:24, Markus Fischer wrote:
> On Mon, Dec 24, 2001 at 12:27:48PM +0100, Henning Schmiedehausen wrote :
> > Great, if you would tell me how to add a comment to an existing bug
> > report if I'm neither owner nor developer.
>
> Don't forget to set a password.
>
> > And if you would point people somewhere to snaps.php.net, building of
> > the existing snapshots would be much easier. :-)
>
> Occasionally, we do. I fault of mine was also to advice you
> to patch against current CVS HEAD branch, not 4.1.0 .Well,
> those days aren't really the most productive ones :)
>
> --
> Please always Cc to me when replying to me on the lists.
Hi,
attached is an even more complete patch that doesn't just enable the
usage of the sbuf stuff in snmp but checks for the vendor modified
libraries. It works with RH 6.x (vendor modified) and should work with
the original stuff from UCD.
(It would be possible to do this at runtime by checking for the binit()
symbol in the libsnmp, but this would be (IMHO) overkill.. =:-)
Regards
Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH hps@intermeta.de
Am Schwabachgrund 22 Fon.: 09131 / 50654-0 info@intermeta.de
D-91054 Buckenhof Fax.: 09131 / 50654-20
Attachment: [text/x-patch] php-4.1.0-snmp.patch
Thread (8 messages)