[sleuthkit-developers] [ sleuthkit-Bugs-3441763 ] Error in verbose output
Brought to you by:
carrier
From: SourceForge.net <no...@so...> - 2011-11-24 13:04:54
|
Bugs item #3441763, was opened at 2011-11-24 03:56 Message generated for change (Comment added) made by jbmetz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=477889&aid=3441763&group_id=55685 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Joachim Metz (jbmetz) Assigned to: Nobody/Anonymous (nobody) Summary: Error in verbose output Initial Comment: tsk3/fs/iso9660.c:2329 if (tsk_verbose) { tsk_fprintf(stderr, "iso9660_open img_info: %lu" " ftype: %" PRIu8 " test: %" PRIu8 "\n", (uintptr_t) img_info, ftype, test); } The %lu in this code should be %jd on Linux. Otherwise it prints an incorrect value on a 64-bit platform. ---------------------------------------------------------------------- >Comment By: Joachim Metz (jbmetz) Date: 2011-11-24 05:04 Message: tsk3/fs/ntfs_dent.c:456 "ntfs_proc_idxentry: Entry Details of %s: Str Len: %" PRIu16 " Len to end after current: %" PRIu64 " flags: %x\n", fs_name->name, tsk_getu16(fs->endian, a_idxe->strlen), (uint64_t) (endaddr_alloc - (uintptr_t) a_idxe - tsk_getu16(fs->endian, a_idxe->idxlen)), fs_name->flags); Please check the %" PRIu64 " value calculation it seems to turn negative on a 64-bit platform. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=477889&aid=3441763&group_id=55685 |