I just ran the static analysis checker cppcheck over the source code of samba-3.6.6 It said [samba-3.6.6/source3/registry/regfio.c:1470]: (warning) Using sizeof with a numeric constant as function argument might not be what you intended. The source code is memcpy( hbin->header, "hbin", sizeof(HBIN_HDR_SIZE) ); I think you might be better off with memcpy( hbin->header, "hbin", HBIN_HDR_SIZE);
Created attachment 7719 [details] git-am fix for 3.6.next. Obvious goodness...
Comment on attachment 7719 [details] git-am fix for 3.6.next. Ping. Can I get someone to +1 this please. It's a pretty obvious fix that's already in master.
Comment on attachment 7719 [details] git-am fix for 3.6.next. Go for it.. This is clearly right.
Re-assigning to Karolin for inclusion in 3.6.next. Thanks Ira ! Jeremy.
Pushed to v3-6-test. Will be included in the next bugfix release. Closing out bug report. Thanks a lot!