Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it support x64? My test program crashed in x64. #29

Closed
fzusad opened this issue Nov 3, 2016 · 4 comments
Closed

Does it support x64? My test program crashed in x64. #29

fzusad opened this issue Nov 3, 2016 · 4 comments
Assignees
Labels

Comments

@fzusad
Copy link

fzusad commented Nov 3, 2016

Hello Joachim,
I used it in Visual Studio 2008,my test program parsed PST file successfully in x86. However,it crashed in x64.
It seems to occured at internal_record_entry = (libpff_internal_record_entry_t *) record_entry; in libpff_record_entry_get_value_utf8_string_size().

Looking forward to your replay.

@joachimmetz
Copy link
Member

It should work on both x86 an x64 ? Can you provide me with more details such as

  • a stacktrace of the crash
  • description of the crash, error, segfault, etc ?

@fzusad
Copy link
Author

fzusad commented Nov 3, 2016

The stacktrace:
stacktrace

The final break in here in libuna_utf8_string_size_from_utf16_stream().
if( ( utf16_stream[ 0 ] == 0xfe ) && ( utf16_stream[ 1 ] == 0xff ) ) { read_byte_order = LIBUNA_ENDIAN_BIG; utf16_stream_index = 2; }
The utf16_stream is neither null nor a valid pointer,so the program crashed.When i traced it, i found the address of utf16_stream[ ] is 0x000000000000000e. it is illegal.

@joachimmetz joachimmetz self-assigned this Nov 18, 2016
@joachimmetz
Copy link
Member

I'll have a closer look as part of #3

@joachimmetz
Copy link
Member

libuna_utf8_string_size_from_utf16_stream has recently been updated in libuna. Could you please have a look with the latest libuna and, if you were using libpff experimental, the latest experimental version as well.

Marking as invalid seeing this looks like an issue in libuna (not in libpff). Closing for now but feel free to reopen if issue still persist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants