diff --git a/ChangeLog b/ChangeLog index e16267d3e..a3c903da1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,7 +14,8 @@ as active maintainer because his primary email address bounces, and he doesn't respond to mails to other addresses. Marked email addresses and website as dead. Fixed AT3 misdectection that was - on the TODO list for some time. + on the TODO list for some time. Initialize global variables in + sane_init. 2003-03-31 Henning Meier-Geinitz diff --git a/backend/artec.c b/backend/artec.c index ddd223a7a..253a817a5 100644 --- a/backend/artec.c +++ b/backend/artec.c @@ -2580,6 +2580,7 @@ sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize) DBG (7, "sane_init()\n" ); + devlist = 0; /* make sure these 2 are empty */ strcpy (artec_vendor, ""); strcpy (artec_model, "");