Bug 1088 - hesiod fixes
Summary: hesiod fixes
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.3.5
: P2 normal
Target Milestone: ---
Assignee: Roland McGrath
URL:
Keywords:
Depends on:
Blocks: libc236
  Show dependency treegraph
 
Reported: 2005-07-18 02:00 UTC by Roland McGrath
Modified: 2005-07-19 03:30 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland McGrath 2005-07-18 02:00:07 UTC
This trunk patch should go into the 2.3 branch:

2005-06-15  Jakub Jelinek  <jakub@redhat.com>

	* hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0
	or both classes equal here.
	(parse_config_file): If both classes are equal, clear the second one.

2005-06-08  Karl Kelley  <kekelley@iastate.edu>

	* hesiod/hesiod_p.h (struct hesiod_p): Add classes array.
	* hesiod/hesiod.c (hesiod_init): Initialize classes.  Fail if no
	valid classes were given or if both are equal.
	(hesiod_resolve): Use ctx->classes instead of hardcoded C_IN
	and C_HS order.
	(parse_config_file): Handle classes keyword.
	* hesiod/README.hesiod: Mention addition of the classes keyword.
Comment 1 Sourceware Commits 2005-07-18 02:01:19 UTC
Subject: Bug 1088

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-07-18 02:01:06

Modified files:
	hesiod         : hesiod_p.h README.hesiod 

Log message:
	2005-06-08  Karl Kelley  <kekelley@iastate.edu>
	
	[BZ #1088]
	* hesiod/hesiod_p.h (struct hesiod_p): Add classes array.
	* hesiod/hesiod.c (hesiod_init): Initialize classes.  Fail if no
	valid classes were given or if both are equal.
	(hesiod_resolve): Use ctx->classes instead of hardcoded C_IN
	and C_HS order.
	(parse_config_file): Handle classes keyword.
	* hesiod/README.hesiod: Mention addition of the classes keyword.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/hesiod/hesiod_p.h.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.2&r2=1.2.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/hesiod/README.hesiod.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.3&r2=1.3.6.1

Comment 2 Sourceware Commits 2005-07-18 02:01:23 UTC
Subject: Bug 1088

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-07-18 02:01:02

Modified files:
	hesiod         : hesiod.c 

Log message:
	2005-06-15  Jakub Jelinek  <jakub@redhat.com>
	
	[BZ #1088]
	* hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0
	or both classes equal here.
	(parse_config_file): If both classes are equal, clear the second one.
	2005-06-08  Karl Kelley  <kekelley@iastate.edu>
	
	[BZ #1088]
	* hesiod/hesiod_p.h (struct hesiod_p): Add classes array.
	* hesiod/hesiod.c (hesiod_init): Initialize classes.  Fail if no
	valid classes were given or if both are equal.
	(hesiod_resolve): Use ctx->classes instead of hardcoded C_IN
	and C_HS order.
	(parse_config_file): Handle classes keyword.
	* hesiod/README.hesiod: Mention addition of the classes keyword.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/hesiod/hesiod.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.10&r2=1.10.4.1

Comment 3 Roland McGrath 2005-07-19 03:30:23 UTC
This fix is now in the 2.3 branch as well as the trunk, and the problem should
be resolved as of the 2.3.6 release.