Bug#887602: dia: Detect freetype via pkg-config

2018-01-18 Thread Hugh McMaster
Package: dia
Version: 0.97.3+git20160930-7
Severity: important

Dear Maintainer,

The next version of libfreetype6-dev will *not* ship the 'freetype-config'
script.

Please use pkg-config to detect the freetype headers and libraries instead.

Thank you



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dia depends on:
ii  dia-common   0.97.3+git20160930-7
ii  libart-2.0-2 2.3.21-3
ii  libatk1.0-0  2.26.1-2
ii  libc62.26-4
ii  libcairo21.15.8-3
ii  libfontconfig1   2.12.6-0.1
ii  libfreetype6 2.8.1-1
ii  libgdk-pixbuf2.0-0   2.36.11-1
ii  libglib2.0-0 2.54.3-1
ii  libgtk2.0-0  2.24.31-5
ii  libpango-1.0-0   1.40.14-1
ii  libpangocairo-1.0-0  1.40.14-1
ii  libpangoft2-1.0-01.40.14-1
ii  libpng16-16  1.6.34-1
ii  libpython2.7 2.7.14-4
ii  libxml2  2.9.4+dfsg1-6.1
ii  libxslt1.1   1.1.29-5
ii  zlib1g   1:1.2.8.dfsg-5

Versions of packages dia recommends:
pn  dia-shapes   
ii  gsfonts-x11  0.24

dia suggests no packages.

-- no debconf information



patch to ctorrent package..

2018-01-18 Thread K.A. Suchkov
Hello.
i've added a feature to ctorrent programm and tested already. It works well.
Do you accept patches or can direct me to right path? If you have a time,
look at:

https://github.com/ska-la/ya_ctorrent

---
Thanks.


Bug#887640: SIGSEGVs in libcdio: double free or corruption

2018-01-18 Thread Thomas Schwinge
Package: libcdio
Version: 1.0.0-2


Hi!

I'm attaching two patches to resolve the following two problems.


With, for example, the eponymous audio CD by Regarde les hommes tomber:

$ gdb -q --args cd-info /dev/sr1
[...]
CD-TEXT for Track  7:
TITLE: The Fall
double free or corruption (!prev)

Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51  ../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht 
gefunden.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x772d6cf7 in __GI_abort () at abort.c:90
#2  0x77317f87 in __libc_message (action=action@entry=do_abort, 
fmt=fmt@entry=0x7741dbd8 "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x7731e27a in malloc_printerr (str=str@entry=0x7741f848 
"double free or corruption (!prev)") at malloc.c:5354
#4  0x7731ffdc in _int_free (av=0x77651c20 , 
p=0x557614e0, have_lock=) at malloc.c:4281
#5  0x779a96b3 in cdio_generic_free (p_user_data=0x5575f6d0) at 
_cdio_generic.c:111
#6  0x779acc6d in cdio_destroy (p_cdio=0x557611b0) at 
device.c:365
#7  0x8c5d in myexit (cdio=, rc=0) at util.c:45
#8  0x71d2 in main (argc=, argv=) 
at cd-info.c:1316

Reproducible with upstream release-1.0.0.  No longer reproducible with
release-1.1.0.  Bisected to be fixed by commit
2800f003aaee077f4009f525caf6c8b14a38ec47.  That one confirmed to fix the
problem with Debian's 1.0.0-2 package, too.  Patch attached for your
convenience.


With, for example, the audio CD "The Age of Cataclysm" by Cryptic
Wintermoon:

$ gdb -q --args cd-info /dev/sr1
[...]
CD Analysis Report
double free or corruption (top)

Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51  ../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht 
gefunden.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x772d6cf7 in __GI_abort () at abort.c:90
#2  0x77317f87 in __libc_message (action=action@entry=do_abort, 
fmt=fmt@entry=0x7741dbd8 "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x7731e27a in malloc_printerr (str=str@entry=0x7741f808 
"double free or corruption (top)") at malloc.c:5354
#4  0x7731ffac in _int_free (av=0x77651c20 , 
p=0x55761350, have_lock=) at malloc.c:4273
#5  0x779aa937 in get_cdtext_generic (p_user_data=0x5575f6d0) 
at _cdio_generic.c:300
#6  0x861f in print_cdtext_info (i_first_track=1 '\001', 
i_tracks=, p_cdio=0x557611b0) at cd-info.c:437
#7  print_analysis (ms_offset=0, cdio_iso_analysis=..., fs=1, 
first_data=-1, num_audio=13, i_tracks=13 '\r', i_first_track=1 '\001', 
p_cdio=0x557611b0, track_format=) at cd-info.c:668
#8  0x7776 in main (argc=, argv=) 
at cd-info.c:1251

Reproducible with upstream release-1.0.0, and release-1.1.0.  No longer
reproducible with release-2.0.0.  Bisected to be fixed by commit
f6f9c48fb40b8a1e8218799724b0b61a7161eb1d.  That one confirmed to fix the
problem with Debian's 1.0.0-2 package, too.  Patch attached for your
convenience.


Grüße
 Thomas


>From 2800f003aaee077f4009f525caf6c8b14a38ec47 Mon Sep 17 00:00:00 2001
From: "R. Bernstein" 
Date: Wed, 6 Dec 2017 09:10:51 -0500
Subject: [PATCH] Remove duplicate free...

Now that cdio_destroy cleans up after itself better
---
 lib/driver/_cdio_generic.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/driver/_cdio_generic.c b/lib/driver/_cdio_generic.c
index 9e920bbe..e84ee314 100644
--- a/lib/driver/_cdio_generic.c
+++ b/lib/driver/_cdio_generic.c
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2004-2009, 2011-2013
+  Copyright (C) 2004-2009, 2011-2013, 2017
   Rocky Bernstein 
 
   This program is free software: you can redistribute it and/or modify
@@ -108,7 +108,6 @@ cdio_generic_free (void *p_user_data)
 
   if (NULL != p_env->cdtext) {
   cdtext_destroy(p_env->cdtext);
-  free(p_env->cdtext);
   p_env->cdtext = NULL;
   }
 
-- 
2.15.1

>From f6f9c48fb40b8a1e8218799724b0b61a7161eb1d Mon Sep 17 00:00:00 2001
From: "R. Bernstein" 
Date: Fri, 22 Dec 2017 16:06:57 -0500
Subject: [PATCH] Fix double free courtesy of Chris Clayton

---
 lib/driver/_cdio_generic.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/driver/_cdio_generic.c b/lib/driver/_cdio_generic.c
index d40ac0d9..ae820d25 100644
--- a/lib/driver/_cdio_generic.c
+++ b/lib/driver/_cdio_generic.c
@@ -296,7 +296,6 @@ get_cdtext_generic (void *p_user_data)
 
   if(len <= 0 || 0 != cdtext_data_init (p_env->cdtext, &p_cdtext_data[4], len)) {
 p_env->b_cdtext_error = true;
-cdtext_destroy (p_env->cdtext);
 free(p_env->cdtext);
 p_env->cdtext =

Re:Smart Cellular Dual SIM Industrial Router

2018-01-18 Thread Jessica
Dear Project Manager,

Glad to hear that you are working on PLC products. 

M2M Industrial Router, UR7X series coming with UR71, UR72 and UR75 three models 
from single port to max. 5 Gigabit Ethernet ports. The following features are 
mostly praised by the end users:
 
1. High-availability LTE/WCDMA/GSM connection
2. Automated fail-over between Ethernet and cellular (dual SIMs).
3. IPsec, OpenVPN, DMVPN, L2TP, GRE, PPTP for safety communication.
4. Ultra-reliable and secure data transmission via  Gigabit Ethernet ports.
5. Fully integrated into Microsoft Auzure IoT eco-system, easily to be build an 
IoT solution. 
6. Embed Ursalink SDK (Python 2.7/C) for secondary development.
7. Free 3-year warranty 
8. It can work as Modbus Master to send alerts by SMS.
9. It support TCP2COM protocol to integrate with SCADA system. 
..

I think our M2M 3G/4G modbus gateway router will bridge your diverse PLC with 
SCADA more intelligently and efficiently. 

More details will be available on receipt of your reply. 

Best Regards, 


Jessica Yao 

Whatsapp / Mobile: +86-13950057025
Telephone: +86-592-5023060 ext.5003 


Bug#887667: socnetv - commas cause crashes

2018-01-18 Thread bug . reporter
Package: socnetv
Version: 2.1-1.1
Severity: important

Dear Maintainer,

I had written a perl application to produce a database table 
of linked organisations by extracting details from a book. 
My preferred way of producing the network graph id to produce 
a pajek.net file from the postgresql table of linked names. 
There are roughly 278 tuples in the table and slightly fewer 
nodes. 

I opened socnetv and selected pajek for import. When I clicked 
on 'OK', socnetv segfaulted. 

This is a consistent behaviour caued by one particular data field: 
'Bureau of Alcohol, Tobacco, & Firearms'

Altering the field to: 
'Bureau of Alcohol and Tobacco and Firearms' 
allows the loading to proceed as it should. 

Initially I thought it was the & (ampersand) but it still crashed. 

The commas cause crashes. 


-- System Information:
Debian Release: 9.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages socnetv depends on:
pn  libc6 
pn  libgcc1   
pn  libgl1-mesa-glx | libgl1  
pn  libqt5core5a  
pn  libqt5gui5
pn  libqt5network5
pn  libqt5printsupport5   
pn  libqt5widgets5
pn  libqt5xml5
pn  libstdc++6

socnetv recommends no packages.

socnetv suggests no packages.

-- no debconf information



vusb-analyzer is marked for autoremoval from testing

2018-01-18 Thread Debian testing autoremoval watch
vusb-analyzer 1.1-6 is marked for autoremoval from testing on 2018-01-20

It is affected by these RC bugs:
884998: vusb-analyzer: Please don't recommend python-gnome2