mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
Merge the 'safe' parts of my StrnCpy patch - many of the users really wanted
a pstrcpy/fstrcpy or at most a safe_strcpy(). These have the advantage of being compiler-verifiable. Get these out of the way, along with a rewrite of 'get_short_archi' in the spoolss client and server. (This pushes around const string pointers, rather than copied strings). Andrew Bartlett
This commit is contained in:
@ -5438,8 +5438,9 @@ BOOL make_spoolss_driver_info_3(TALLOC_CTX *mem_ctx,
|
||||
done = True;
|
||||
else
|
||||
null_char = True;
|
||||
|
||||
break;
|
||||
|
||||
|
||||
default:
|
||||
null_char = False;
|
||||
;;
|
||||
|
Reference in New Issue
Block a user