Your message dated Tue, 14 Sep 2010 11:07:24 +0900
with message-id <20100914020724.gb11...@verge.net.au>
and subject line Perdition Fails to parse nis map correctly and therefore 
breaks nis support
has caused the Debian Bug report #596102,
regarding Perdition Fails to parse nis map correctly and therefore breaks nis 
support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
596102: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596102
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: perdition
Version: 1.19~rc3-2
Severity: serious

Perdition is unable to parse nis map which breaks nis support. The bug is in perditiondb_nis.c.

The syscall ypmatch is not used with the right value for the inkeylen argument : the value used is strlen(key)+1 and should be strlen(key)

Here is a proposal to patch this issue


jazz



Signed-off-by: jazz <j...@vaala.mine.nu>
---
 perdition/db/nis/perditiondb_nis.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: perdition-1.19~rc3/perdition/db/nis/perditiondb_nis.c
===================================================================
--- perdition-1.19~rc3.orig/perdition/db/nis/perditiondb_nis.c
+++ perdition-1.19~rc3/perdition/db/nis/perditiondb_nis.c
@@ -87,7 +87,7 @@ int dbserver_get(
   res = yp_match(domain, 
 	map,
 	key_str,
-	strlen(key_str) + 1,
+	strlen(key_str),
 	str_return,
 	len_return);
 

<<attachment: christophe_segui.vcf>>


--- End Message ---
--- Begin Message ---
Version: 1.19~rc4-1

A fix for this was included in upstream 1.19-rc4
and this the 1.19~rc4-1 upload.




--- End Message ---

Reply via email to