Bug#833085: libeb16: return value assigned to variable of wrong type

2016-07-31 Thread paulownia
Package: libeb16 Version: 4.4.3-10 Tags: patch Severity: minor [Resent since previous report hasn't appeared on BTS] In the function zio_unzip_slice_sebxa() in zio.c, the signed return value of calls to zio_read_raw() is assigned to an unsigned variable of type size_t; as a result errors

Bug#776425: ebview: dpkg-buildflags-missing warning whenbuilding ebview-client

2015-07-31 Thread paulownia
gregor herrmann gre...@debian.org writes: I just tried and: with or without your patch Thank you for looking into this issue. - the configure call is identical This is expected. cdbs already ensures that configure is called with the correct parameters, the patch doesn't change anything here.

Bug#777837: Patch for GCC5 build issue

2015-07-17 Thread paulownia
Here's a fix for the GCC 5 build issue. I added extern to inline function in jcode.c. The package builds and links with GCC 5 with this change. Alternatively, simply get rid of the inline declaration. All the calls to isjisp are in different translation units so they never get inlined anyway.

Bug#715855: libeb16: patch for #715855 (resent)

2015-01-29 Thread paulownia
[ I am resending the mail with the patch as the BTS has interpreted the first one as a control message and is hiding it; apologies for the confusion. ] The three bugs in libeb tools detected by Mayhem all have the same cause: The function url_parts_parse() in eb/urlparts.c performs a

Bug#715855: libeb16: patch to fix #715855 and other mayhem-detected crashes

2015-01-29 Thread paulownia
reassign 715855 libeb16 tags 715855 + patch stop The three bugs in libeb tools detected by Mayhem all have the same cause: The function url_parts_parse() in eb/urlparts.c performs a NULL-pointer dereference when trying to parse certain ill-formed ebook URLs. `hostport' is one of several local

Bug#776602: eb: fix format string warning [-Wformat-extra-args]

2015-01-29 Thread paulownia
Package: src:eb Version: 4.4.3-7 Tags: patch Severity: minor This patch fixes a (harmless) format string warning for eb (too many arguments for format string). --- a/ebinfo/ebinfo.c +++ b/ebinfo/ebinfo.c @@ -371,7 +371,7 @@ output_information(const char *book_path, int multi_flag)

Bug#748030: Parameter declarations of function make_missing_directory differ in signedne

2015-01-29 Thread paulownia
tags 748030 + patch stop The correct type is actually mode_t. Patch: --- a/libebutils/makedir.h +++ b/libebutils/makedir.h @@ -33,10 +33,11 @@ #include config.h #endif +#include sys/types.h /* * Function declarations. */ -int make_missing_directory(const char *, int); +int

Bug#776425: ebview: dpkg-buildflags-missing warning when building ebview-client

2015-01-27 Thread paulownia
Package: ebview Version: 0.3.6.2-1.3 Tags: patch CPPFLAGS and LDFLAGS are currently not passed to the compiler when building ebview-client; I think this is the cause of the dpkg-buildflags-missing warning reported by the build log scanner https://qa.debian.org/bls/packages/e/ebview.html (cdbs

Bug#776436: fonts-vlgothic: wrong metrics for several symbols (full- instead of half-width)

2015-01-27 Thread paulownia
Package: fonts-vlgothic Version: 20141206-1 The character widths of several (latin1) symbols in VL Gothic seem to be incorrect, they are full-width when they should be half-width. The following characters are affected, there may be more: ¤ U+00a4 CURRENCY SIGN § U+00a7 SECTION SIGN ¨ U+00a8

Bug#776394: ebview: Out-of-bounds write causing crashes during full-text search

2015-01-27 Thread paulownia
Package: ebview Version: 0.3.6.2-1.3 Tags: patch There's an off-by-one error in ebview which is causing occasional crashes for me when doing full-text searches (specifically, when the search strings consist entirely of ascii characters): The function euc2jis() in src/eb.c doesn't allocate enough

Bug#715857: Patch for #715857 (eblook segfaults when HOME unset)

2015-01-21 Thread paulownia
tags 715857 + patch stop The cause of this bug is that eblook assumes that the HOME environment variable is always set: it dereferences the return value of getenv(HOME) without checking that it is non-NULL. You can easily reproduce the segfault by running $ env -u HOME eblook The following

Bug#775906: lookup-el: possible alternative upstream

2015-01-21 Thread paulownia
Package: lookup-el Version: 1.4.1-13 Severity: wishlist There is a lookup2 project on github/sourceforge. It seems slightly more active that the official lookup upstream (although there is still no stable 2.0 version...) https://lookup2.github.io/ https://github.com/lookup2/lookup2

Bug#760547: info documentation not viewable in UTF-8 locale

2014-09-05 Thread paulownia
Package: eblook Version: 1:1.6.1-13 Tags: patch The eblook info documentation cannot be displayed properly in a UTF-8 locale. I have tried viewing it using $ info eblook at the command line, and in Emacs. In both cases, the characters are garbled (mojibake). Both the .info files and the .texi

Bug#703133: patch for bug#703133

2014-09-04 Thread paulownia
tags 703133 + patch stop Here is a patch to fix this bug. --- a/src/log.c +++ b/src/log.c @@ -63,7 +63,7 @@ void log_func(const gchar *file, gint line, LOG_LEVEL level, const gchar *messag strcat(format, message); - va_start(ap, format); +