Winbindd errors : string overflow by 1 (256 - 255) in safe_strcpy
Issue
We use Samba/Winbindd to authenticate linux users against Windows AD. We get a lot of "string overflow" errors in the default winbind logs:
Jun 25 11:14:42 hostname winbindd[1771]: [2013/06/25 11:14:42.901488, 0] lib/util_str.c:532(safe_strcpy_fn)
Jun 25 11:14:42 hostname winbindd[1771]: ERROR: string overflow by 1 (256 - 255) in safe_strcpy [VI-EDF-CFG-201;VI-EDF-RTG-201;VI-EDF-RTG-301;VI-ED]
Jun 25 11:14:42 hostname winbindd[1771]: [2013/06/25 11:14:42.907832, 0] lib/util_str.c:532(safe_strcpy_fn)
Jun 25 11:14:42 hostname winbindd[1771]: ERROR: string overflow by 1 (256 - 255) in safe_strcpy [VI-EDF-CFG-201;VI-EDF-RTG-201;VI-EDF-RTG-301;VI-ED]
Jun 25 11:14:42 hostname winbindd[1771]: [2013/06/25 11:14:42.908326, 0] lib/util_str.c:532(safe_strcpy_fn)
Environment
- Red Hat Enterprise Linux 6.2
- samba 3.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.