summaryrefslogtreecommitdiff
path: root/source/client
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-05-30 20:40:48 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-05-30 20:40:48 +0000
commitf08222bd8b86a061c52d22015f946a4737eb47fd (patch)
tree42cce5b0ac7860c78966c829c2c45958fe2f7149 /source/client
parent4311ee0b2da2dabe3ce6e26c873c4df33c7a0680 (diff)
downloadsamba-f08222bd8b86a061c52d22015f946a4737eb47fd.tar.gz
charcnv.c: Fixed silly bugs detected on IRIX.
client.c: Fixed silly bugs detected on IRIX. namedbname.c: Stopped 1d names from being registered in WINS db. namedbsubnet.c: Only register 1e names on broadcast subnet. nameelect.c: Changed add_my_name entries. Forced host announces if we have less than 10 servers listed. Fixed registering 1b domain name issues. namepacket.c: Added error message when dgram discarded. nameserv.c: Added notion of 'direct' names that are not registered on the network. Needed to get around bugs in earlier nmbd handling of DOMAIN(1b) names. nameservreply.c:Tidied up debug message. nameservresp.c: Added response_name_query_domain() code. Deals with re-registering DOMAIN(1b) name. nmbd.c: Fixed silly bugs detected on IRIX. nmblib.c: Added paranoia debugs. proto.h: Updated remove_name_entry(), add_my_name_entry(). server.c: Fixed silly bugs detected on IRIX. trans2.c: Fixed silly bugs detected on IRIX. uid.c: Fixed silly bugs detected on IRIX. version.h: Updated to alpha3. Jeremy (jallison@whistle.com).
Diffstat (limited to 'source/client')
-rw-r--r--source/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/client.c b/source/client/client.c
index e023530cb5a..32bbbae8cd2 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -843,7 +843,7 @@ else
{
unsigned int offset = datap - converter;
- if( offset < 0 || offset >= rdrcnt )
+ if( offset >= rdrcnt )
{
DEBUG(1,("bad char ptr: datap=%u, converter=%u, rdata=%u, rdrcnt=%d>", datap, converter, (unsigned)rdata, rdrcnt));
return "<ERROR>";