Egor Pugin
ad5df5bc5b
Merge pull request #1717 from stweil/cov-java
...
Fix CID 1386106 (Explicit null dereferenced)
2018-06-30 17:43:00 +03:00
Stefan Weil
368fa189d1
Fix CID 1386106 (Explicit null dereferenced)
...
Handle also the case when the user closes the dialog
without selecting an answer.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 16:29:49 +02:00
Stefan Weil
740a821c76
Fix CID 1393673 (Ignoring number of bytes read)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 15:25:09 +02:00
Stefan Weil
075dc984e9
Fix CID 1393671 (Uninitialized scalar variable)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 15:10:25 +02:00
Stefan Weil
8f33d10bfb
Fix CID 1393670 (Resource leak)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 15:10:16 +02:00
Stefan Weil
12a601fffa
Fix CID 1393669 (Resource leak)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 15:07:21 +02:00
Stefan Weil
1de55c8604
Fix CID 1393668 (Uninitialized scalar variable)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 15:07:21 +02:00
Stefan Weil
1e1f35cd5c
Fix CID 1393667 (Copy into fixed size buffer)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 15:07:21 +02:00
Stefan Weil
85794ca188
Fix CID 1393666 (Big parameter passed by value)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 15:07:21 +02:00
Stefan Weil
3d2f73503e
Fix CID 1393665 (Uninitialized scalar variable)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 15:07:21 +02:00
Stefan Weil
a95917a6a4
Fix CID 1393664 (Uninitialized scalar variable)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 15:07:21 +02:00
Stefan Weil
c9737c7f93
Fix CID 1393663 (Big parameter passed by value)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 15:07:20 +02:00
Stefan Weil
53596f7837
Fix CID 1393662 (Resource leak)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 15:07:19 +02:00
Stefan Weil
fcff2f2ce2
Fix CID 1242849 (Unused value)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 11:46:19 +02:00
Stefan Weil
eabd10d8f2
Fix CID 1158180 (Argument cannot be negative) and clean code a bit
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 11:41:41 +02:00
Stefan Weil
4cc103cd42
Fix CID 1157757 (Logically dead code)
...
deviceNameStart cannot be NULL here.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-30 10:36:45 +02:00
Stefan Weil
36c985b715
Fix CID 1164746 (Big parameter passed by value)
...
Use std::vector instead of GenericVector.
Fix also several signed / unsigned compiler warnings.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-29 22:24:00 +02:00
zdenop
b24b2c2cc2
Merge pull request #1715 from stweil/cov
...
Fix some issues in Java code (reported by Coverity Scan)
2018-06-29 18:13:55 +02:00
Stefan Weil
244b54bfc9
Fix CID 1386083 (Dereference null return value)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-29 17:50:23 +02:00
Stefan Weil
2a30d77d75
Fix CID 1386104 (Dereference null return value)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-29 17:40:06 +02:00
Stefan Weil
4bebf3a5a3
Fix CID 1386098 (Dubious method used)
...
PrintStream depends on the default encoding if no encoding is given,
so set UTF-8 encoding explicitly.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-29 17:33:43 +02:00
Stefan Weil
0686cbed87
Fix CID 1386094 (Unread field)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-29 17:31:44 +02:00
zdenop
5fdaa479da
Merge pull request #1711 from ofirkris/patch-1
...
Update VERSION
2018-06-28 12:22:01 +02:00
ofirkris
93a9a9dc00
Update VERSION
2018-06-28 11:54:44 +03:00
zdenop
6f23ed380a
Merge pull request #1707 from stweil/includes
...
dotproductsse: Fix include statements
2018-06-25 19:45:06 +02:00
Stefan Weil
20cd6d2328
dotproductsse: Fix include statements
...
The changes are based on an analysis done with include-what-you-use.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-25 19:15:37 +02:00
Egor Pugin
a9369ffa48
Merge pull request #1705 from stweil/memory
...
Replace proprietary memory allocators from memry.c, memry.h
2018-06-25 19:15:09 +03:00
Stefan Weil
9bb5a87760
Remove stderr.h and its include statements
...
MEMORY_OUT is no longer used.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-25 16:14:20 +02:00
Stefan Weil
db7f2009d9
Remove memry.cpp, memry.h
...
The proprietary memory allocators alloc_string, alloc_mem
are no longer used.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-25 16:13:59 +02:00
Stefan Weil
cda04b1d6d
tordmain: Replace alloc_mem, free_mem by C++ std::vector
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-25 16:13:59 +02:00
Stefan Weil
3032b65b48
pithsync: Replace alloc_mem, free_mem by C++ std::vector
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-25 16:13:59 +02:00
Stefan Weil
cb9eec355b
oldbasel: Replace alloc_mem, free_mem by C++ new, delete, std::vector
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-25 16:13:59 +02:00
Stefan Weil
77db9b4390
makerow: Replace alloc_mem, free_mem by C++ new, delete, std::vector
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-25 15:17:02 +02:00
Stefan Weil
556a1c1e28
qspline: Replace alloc_mem, free_mem by C++ new, delete
...
Remove unneeded assignments and a wrong comment in the destructor.
Fix wrong data type for local variable xstarts.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-25 14:55:36 +02:00
Stefan Weil
52218c3d99
pitsync1: Remove unneeded include statement
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-25 14:35:46 +02:00
Stefan Weil
9b2dc5c25a
gap_map: Replace alloc_mem, free_mem by C++ new, delete
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-25 14:33:46 +02:00
Stefan Weil
20e243d5c9
strngs: Replace alloc_mem, free_mem by standard functions
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-25 14:31:48 +02:00
Stefan Weil
8953f4149f
qspline: Remove unneeded include statement
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-25 14:30:23 +02:00
Stefan Weil
b282d2cb16
adaptions: Remove unneeded include statement
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-25 14:28:04 +02:00
Stefan Weil
f99be62c4c
coutln: Replace alloc_mem, free_mem by standard functions
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-25 14:27:35 +02:00
zdenop
b6eb22ccfb
Merge pull request #1703 from stweil/includes
...
Clean more include files and include statements
2018-06-24 19:59:09 +02:00
Stefan Weil
7768f9b336
Clean more include files and include statements
...
The changes are based on an analysis done with include-what-you-use.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-24 19:45:12 +02:00
Stefan Weil
a32d24fa65
Remove empty tessbox.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-24 19:45:12 +02:00
Egor Pugin
12f45a5758
Merge pull request #1699 from stweil/includes
...
Clean include files and remove memry.h from public API
2018-06-24 00:42:23 +03:00
Stefan Weil
91522dfba5
Remove memry.h from public API
...
It is no longer needed by genericvector.h.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-23 21:15:54 +02:00
Stefan Weil
1a151781ea
Clean some include statements
...
The changes are based on an analysis done with include-what-you-use.
Replace also some standard header files by the corresponding
standard C++ header files.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-23 21:15:54 +02:00
Egor Pugin
15f64e0232
Remove recursive header.
2018-06-23 17:32:42 +03:00
Egor Pugin
da4ad15fe1
Merge pull request #1698 from stweil/includes
...
Remove unneeded include statements for scanutils.h
2018-06-23 00:07:58 +03:00
Stefan Weil
484a1be98a
Remove unneeded include statements for scanutils.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-06-22 19:16:08 +02:00
Egor Pugin
640c225840
Merge pull request #1697 from stweil/api
...
Remove more header files from public API
2018-06-21 23:23:36 +03:00