CVS update: samba/source/nsswitch

Luke Kenneth Casson Leighton lkcl at samba.org
Mon Aug 14 15:00:02 EST 2000


this really, really needs to be corrected throughout all of samba code:
safe_strcpy, safe_strcat and slprintf must all take sizeof(buf) not
sizeof(buf)-1

 On Thu, 3 Aug 2000, Tim Potter wrote:

> 
> Date:	Thursday August 3, 2000 @ 11:06
> Author:	tpot
> 
> Update of /data/cvs/samba/source/nsswitch
> In directory samba:/tmp/cvs-serv15080
> 
> Modified Files:
>       Tag: SAMBA_TNG
> 	winbindd.c winbindd_cache.c winbindd_group.c winbindd_misc.c 
> 	winbindd_sid.c winbindd_user.c 
> Log Message:
> Fixed buffer overrun bugs in calls to slprintf().
> 
> The rule is use slprintf() and sizeof(buf) - 1 or snprintf and sizeof(buf).
> 
> 

<a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton    </a>
<a href=" http://cb1.com/~lkcl"  > Samba and Network Development   </a>
<a href=" http://samba.org"      > Samba Web site                  </a>
 
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals





More information about the samba-cvs mailing list