]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
wng: fix two critical bugs
authorAndre <maan@p133.(none)>
Mon, 29 May 2006 22:56:35 +0000 (00:56 +0200)
committerAndre <maan@p133.(none)>
Mon, 29 May 2006 22:56:35 +0000 (00:56 +0200)
the open functions of the writers in a writer node group
might be interested to know which group they belong to.
Unfortunately, the old code called open before initializing
the "wng" pointer of the writer node.

The second bug triggers for example if invalid receiver options are
given. In this case wng_close() is called with a NULL-argument as
the wng has not been opened yet. The solution is to check for NULL
pointers and return immediately in this case.


No differences found