From 2888744f98c72347a8f584f4b56dad77905d1a2b Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 29 Jan 2001 09:38:22 +0000 Subject: [PATCH] Fixed bug that made the frontend server crash when no attribute set was specified for scan. --- CHANGELOG | 3 +++ server/seshigh.c | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index f75906c..fe441f8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ Possible compatibility problems with earlier versions marked with '*'. +Fixed bug that made the frontend server crash when no attribute +set was specified for scan. + Front-end server automatically switches to original working directory when installed as an NT service. Previously -w had to be specified to make it work. diff --git a/server/seshigh.c b/server/seshigh.c index 18f604b..6484f48 100644 --- a/server/seshigh.c +++ b/server/seshigh.c @@ -3,7 +3,11 @@ * See the file LICENSE for details. * * $Log: seshigh.c,v $ - * Revision 1.111 2000-11-23 10:58:32 adam + * Revision 1.112 2001-01-29 09:38:22 adam + * Fixed bug that made the frontend server crash when no attribute set + * was specified for scan. + * + * Revision 1.111 2000/11/23 10:58:32 adam * SSL comstack support. Separate POSIX thread support library. * * Revision 1.110 2000/10/02 13:05:32 adam @@ -1705,7 +1709,7 @@ static Z_APDU *process_scanRequest(association *assoc, request *reqb, int *fd) bsrr->attributeset = VAL_NONE; else bsrr->attributeset = attset->value; - log_scan_term (req->termListAndStartPoint, attset->value); + log_scan_term (req->termListAndStartPoint, bsrr->attributeset); bsrr->term_position = req->preferredPositionInResponse ? *req->preferredPositionInResponse : 1; ((int (*)(void *, bend_scan_rr *)) -- 1.7.10.4