[SCM] Samba Shared Repository - branch master updated

Brown, James William jim.brown at miami.edu
Thu Apr 27 14:33:51 UTC 2023


'Fogus' and 'bogus' instead of 'Bogus' in these two changes.

On 4/27/2023 5:26 AM, Andreas Schneider wrote:
> diff --git a/source3/lib/adouble.c b/source3/lib/adouble.c
> index 062c73ec758..81229310c13 100644
> --- a/source3/lib/adouble.c
> +++ b/source3/lib/adouble.c
> @@ -967,14 +967,14 @@ static bool ad_unpack(struct adouble *ad, const size_t nentries,
>   	 */
>   
> @@ -1005,16 +1004,22 @@ static bool ad_unpack(struct adouble *ad, const size_t nentries,
>   		 * ensure the specified offset is within that bound
>   		 */
>   		if ((off > bufsize) && (eid != ADEID_RFORK)) {
> -			DEBUG(1, ("bogus eid %d: off: %" PRIu32 ", len: %" PRIu32 "\n",
> -				  eid, off, len));
> +			DBG_NOTICE("Fogus eid %d: off: %" PRIu32
> +				   ", len: %" PRIu32 "\n",
> +				   eid,
> +				   off,
> +				   len);
>   			return false;
>   		}
>   
>   		ok = ad_entry_check_size(eid, bufsize, off, len);
>   		if (!ok) {
> -			DBG_ERR("bogus eid [%"PRIu32"] bufsize [%zu] "
> -				"off [%"PRIu32"] len [%"PRIu32"]\n",
> -				eid, bufsize, off, len);
> +			DBG_NOTICE("bogus eid [%" PRIu32 "] bufsize [%zu] "
> +				   "off [%" PRIu32 "] len [%" PRIu32 "]\n",
> +				   eid,
> +				   bufsize,
> +				   off,
> +				   len);
>   			return false;
>   		}


More information about the samba-technical mailing list