search for: sid_buf

Displaying 1 result from an estimated 1 matches for "sid_buf".

Did you mean: add_buf
2009 Aug 02
2
win32-security, 1.9.x, encoding issue?
...in32-security/lib/win32/security/sid.rb:111:in `strip'' c:/Users/djberge/workspace/win32-security/lib/win32/security/sid.rb:111:in `string_to_sid'' test/test_sid.rb:62:in `test_string_to_sid'' Where line 111 is the last line of this: def self.string_to_sid(string) sid_buf = 0.chr * 80 string_addr = [string].pack(''p*'').unpack(''L'')[0] unless ConvertStringSidToSid(string_addr, sid_buf) raise Error, get_last_error end sid_buf.strip end I searched on the web but I wasn''t really sure what the best or correc...