Enno Rehling
|
2b0a2750ba
|
null-pointer check (coverity result)
|
2016-01-17 19:03:30 +01:00 |
|
Enno Rehling
|
0e30f392c4
|
Merge branch 'feature/crypt-passwords' of https://github.com/ennorehling/eressea.git
|
2016-01-15 08:54:56 +01:00 |
|
Enno Rehling
|
76475b9bf7
|
add a little extra randomness to the seed salt (still bad).
remove dead prototype code from faction.c
|
2016-01-15 08:01:12 +01:00 |
|
Enno Rehling
|
09a0e806bc
|
gcc compilation fix
|
2016-01-14 17:29:20 +01:00 |
|
Enno Rehling
|
6c80bc52b5
|
generate a good-ish salt
|
2016-01-14 16:50:42 +01:00 |
|
Enno Rehling
|
8d05f4cc25
|
implement MD5 crypted passwords as default
|
2016-01-14 15:49:09 +01:00 |
|
Enno Rehling
|
3a8a05380b
|
fix gcc compilation warnings
|
2016-01-13 16:19:59 +01:00 |
|
Enno Rehling
|
c3da0cd42d
|
as long as we use no encryption, all tests pass.
|
2016-01-13 16:16:02 +01:00 |
|
Enno Rehling
|
799514bf40
|
implement md5 password hashing (untested)
disable test for case-insensitive password test
fix faction/checkpasswd test
|
2016-01-13 14:41:09 +01:00 |
|
Enno Rehling
|
b8a0c61fee
|
Merge branch 'feature/crypt-passwords' of https://github.com/ennorehling/eressea.git
|
2016-01-13 12:37:12 +01:00 |
|
Enno Rehling
|
f14ee2adaa
|
include the password module in the list of unit tests
|
2016-01-13 12:37:07 +01:00 |
|
Enno Rehling
|
58b0ad19d0
|
NULL needs a platform-dependent include
|
2016-01-13 00:06:06 +01:00 |
|
Enno Rehling
|
54d25e91dd
|
add a new password module
start adding password hashing logic (WIP)
does not yet pass all tests
|
2016-01-12 23:52:30 +01:00 |
|
Enno Rehling
|
5187788f3c
|
pass the parent of an attribute into a_age and attrib_type::age
|
2015-12-16 22:18:44 +01:00 |
|
Steffen Mecke
|
703edb676c
|
facility to inject a non-random random generator
This should be handy for writing tests that make use of randomization.
|
2015-12-08 17:57:23 +01:00 |
|
Enno Rehling
|
9b645bf46c
|
issue #419, eliminate language_struct.h, make the struct module-private
|
2015-12-01 12:24:22 +01:00 |
|
Enno Rehling
|
5b9333f6d9
|
Merge branch 'release-3.7' into develop
Conflicts:
src/buildno.h
src/monsters.c
|
2015-11-23 17:12:48 +01:00 |
|
Enno Rehling
|
f0a47321d6
|
reduce log spam
|
2015-11-21 21:49:33 +01:00 |
|
Enno Rehling
|
06f8ba9ee4
|
faster lookup for get_param with tries
eliminate unnecessary constatn from rand.c
|
2015-11-20 15:48:17 +01:00 |
|
Enno Rehling
|
40651d57cd
|
22583 Time of check time of use
avoid use of access()
|
2015-11-05 14:05:58 +01:00 |
|
Enno Rehling
|
58c1d83c9e
|
CID 22491 FORWARD_NULL
github issue #352
fals positive, rewriting code to appease coverity
|
2015-11-05 11:14:53 +01:00 |
|
Enno Rehling
|
075de3c919
|
math is hard, typing is harder. bugfix. thank you, valgrind my friend.
|
2015-11-04 15:00:15 +01:00 |
|
Enno Rehling
|
67e2eafbcf
|
add missing include (MSVC is not picky enough)
|
2015-11-04 14:55:13 +01:00 |
|
Enno Rehling
|
eea0186601
|
22440 Unchecked return value from library
rewrite log rotation, check errors
|
2015-11-04 14:16:15 +01:00 |
|
Enno Rehling
|
e6973ff394
|
CID 22445 Unchecked return value
|
2015-11-03 23:05:44 +01:00 |
|
Enno Rehling
|
4ee0f76927
|
CID 22570: Copy into fixed size buffer (STRING_OVERFLOW)
not only that, but strlcpy is the faster option here, too.
|
2015-10-30 10:57:52 +01:00 |
|
Enno Rehling
|
d3f7bd7b10
|
CID 22597: va_start/va_end mismatch
|
2015-10-29 20:43:37 +01:00 |
|
Enno Rehling
|
78899ca801
|
coverity scan CID 22433: buffer not null terminated, prefer strlcpy over strncpy
|
2015-10-29 09:06:53 +01:00 |
|
Enno Rehling
|
04bf07a526
|
coverity scan (multiple CID) is confuced about a_remove, trying to help it.
|
2015-10-29 09:06:52 +01:00 |
|
Enno Rehling
|
0328e84c6c
|
coverity scan CID 22555: sizeof not portable
wrong type in sizeof (pointer instead of struct)
|
2015-10-29 09:06:43 +01:00 |
|
Enno Rehling
|
f80f37def3
|
eliminate static variable leak and allocation from base36
|
2015-10-27 12:48:34 +01:00 |
|
Enno Rehling
|
144aeb23ac
|
leaks: call cleanup, free triggers
|
2015-10-14 20:29:07 +02:00 |
|
Enno Rehling
|
5f9c2e13a8
|
I hate umlaut.c, it's basically magic, and the magic doesn't work right (it leaks memory from line 158)
|
2015-10-14 13:56:19 +02:00 |
|
Enno Rehling
|
cd9cb24b48
|
extend test_umlaut a bit, which doesn't trigger issue #316
|
2015-10-14 13:42:12 +02:00 |
|
Enno Rehling
|
78a8795305
|
there is a bug in umlaut.c, adding a FIXME.
this happens during test_umlaut, and valgrind detects it.
|
2015-10-14 13:33:10 +02:00 |
|
Enno Rehling
|
6de8e4466a
|
stop memory leak from function registry.
|
2015-10-13 21:26:48 +02:00 |
|
Enno Rehling
|
422476409c
|
eliminate memory leak from locales
|
2015-10-13 20:58:03 +02:00 |
|
Enno Rehling
|
5f7b9129bc
|
Merge branch 'master' into develop
Conflicts:
tests/runtests.bat
|
2015-09-12 22:47:33 +02:00 |
|
Enno Rehling
|
06a04d0e20
|
fix logging for sp_igjarjuk, temporarily set log-levels for the game to error|warn|info
remove some code that accesses `verbosity` variable (todo: hide it more, fix logging)
|
2015-09-12 19:48:03 +02:00 |
|
Enno Rehling
|
d15d0cc0f4
|
remove unused xml_i function
|
2015-09-11 11:08:10 +02:00 |
|
Enno Rehling
|
9bb2a625f9
|
fix xmlreader bug introduced by last commit (xpath->node not initialized)
|
2015-09-11 09:10:00 +02:00 |
|
Enno Rehling
|
b631f539ce
|
simplify atoi36, it does not need to eat whitespace
|
2015-09-05 18:18:22 +02:00 |
|
Enno Rehling
|
5fc1587879
|
age_unit accidentally returned AT_AGE_REMOVE (caused by a recent change to curse_age)
|
2015-08-25 22:50:58 +02:00 |
|
Enno Rehling
|
5bc4f7f144
|
add some simple tests for writing travelthru information to the report, fix test that sets errno as a side effect (thanks, Microsoft!)
|
2015-08-18 17:08:02 +02:00 |
|
Enno Rehling
|
c8cbeea660
|
STRLCPY macro redefinition and fixes for gcc. work for monkeys.
|
2015-08-17 22:48:21 +02:00 |
|
Enno Rehling
|
7e64f3177d
|
refactoring: rewrite tests to use test_find_messagetype instead of assert_messages.
tests: add cleanup of message_types to reduce global state.
|
2015-08-17 19:36:28 +02:00 |
|
Enno Rehling
|
1806030baa
|
new all-in-one strlcpy and wrptr function
|
2015-08-17 19:28:05 +02:00 |
|
Enno Rehling
|
dcececf4fa
|
Debug: move errno testing closer to the report-writing, so we know which report caused the error.
Fix: wrptr gets the result from _snprintf, which is int, not size_t.
|
2015-08-17 16:17:08 +02:00 |
|
Enno Rehling
|
420574c7e4
|
add unit-test for casting spells, fix spell-casting (was looking for thisorder), all E3 tests pass again
|
2015-08-05 10:25:25 +02:00 |
|
Enno Rehling
|
009993f2f4
|
address some PVS comments
|
2015-07-21 09:01:11 +02:00 |
|