libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit cd944dc34ea50c73bfec66d3e75cc82aab3c1c28
parent c244d85975791e3f23243a9ef4bafbc2029c49e7
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 14 Aug 2005 01:17:42 +0000

mrg

Diffstat:
Msrc/plugins/ole2/gsf-infile-msole.c | 3+++
Msrc/plugins/ole2/ole2extractor.c | 5+++--
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/plugins/ole2/gsf-infile-msole.c b/src/plugins/ole2/gsf-infile-msole.c @@ -1,5 +1,8 @@ /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* + * This file is part of libextractor. + * (C) 2004,2005 Vidyut Samanta and Christian Grothoff + * * gsf-infile-msole.c : * * Copyright (C) 2002-2004 Jody Goldberg (jody@gnome.org) diff --git a/src/plugins/ole2/ole2extractor.c b/src/plugins/ole2/ole2extractor.c @@ -1,6 +1,6 @@ /* This file is part of libextractor. - (C) 2004 Vidyut Samanta and Christian Grothoff + (C) 2004,2005 Vidyut Samanta and Christian Grothoff libextractor is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -568,6 +568,7 @@ msole_prop_read (struct GsfInput *in, name = g_convert_with_iconv (data + 8, len * section->char_size, section->iconv_handle, &gslen, NULL, NULL); + len = (guint32)gslen; data += 8 + len; @@ -614,8 +615,8 @@ gsf_msole_iconv_open_codepage_for_import(char const *to, int codepage) { GIConv iconv_handle; - g_return_val_if_fail (to != NULL, (GIConv)(-1)); + g_return_val_if_fail (to != NULL, (GIConv)(-1)); /* sometimes it is stored as signed short */ if (codepage == 65001 || codepage == -535) { iconv_handle = g_iconv_open (to, "UTF-8");