]>
git.ipfire.org Git - thirdparty/freeradius-server.git/log
Arran Cudbard-Bell [Fri, 26 May 2017 13:33:28 +0000 (09:33 -0400)]
CID
1104354: The high byte of c is always 0, so don't bother shifting.
Arran Cudbard-Bell [Fri, 26 May 2017 13:28:39 +0000 (09:28 -0400)]
CID
1020958: Fix double unlock
Arran Cudbard-Bell [Fri, 26 May 2017 13:26:51 +0000 (09:26 -0400)]
CID 720453: Don't cast, so we restrict the range of values to the minimum and maximum indecies of the array
Hopefully coverity is smart enough to figure that out... Otherwise I guess we're checking the that uint8_t can't be bigger than UINT8_MAX :/
Alan T. DeKok [Fri, 26 May 2017 13:24:40 +0000 (09:24 -0400)]
check return code
CID #
1400026
Alan T. DeKok [Fri, 26 May 2017 13:22:04 +0000 (09:22 -0400)]
we mean to ignore the return value
CID #
1400023
Alan T. DeKok [Fri, 26 May 2017 13:21:11 +0000 (09:21 -0400)]
check return code of read()
CID #
1400021
Alan T. DeKok [Fri, 26 May 2017 13:19:43 +0000 (09:19 -0400)]
ignore return code.
CID #
1400018
Alan T. DeKok [Fri, 26 May 2017 13:18:06 +0000 (09:18 -0400)]
we ignore the return code
CID #
1400017
Alan T. DeKok [Fri, 26 May 2017 13:17:07 +0000 (09:17 -0400)]
call request_data_get() to remove arguments to trigger function.
CID #
1358901
Alan T. DeKok [Fri, 26 May 2017 13:09:44 +0000 (09:09 -0400)]
We now have better checks for bad SSL linking.
CID #
1358897
Alan T. DeKok [Fri, 26 May 2017 13:08:53 +0000 (09:08 -0400)]
suppress output if there's no log.output
CID #
1358896
Alan T. DeKok [Fri, 26 May 2017 13:04:23 +0000 (09:04 -0400)]
check username, too.
CID #
1358893
Alan T. DeKok [Fri, 26 May 2017 13:01:31 +0000 (09:01 -0400)]
remove unnecessary check.
CID #
1358883
Alan T. DeKok [Fri, 26 May 2017 12:54:44 +0000 (08:54 -0400)]
eap_tls_data was already checked.
CID #
1339404
Arran Cudbard-Bell [Fri, 26 May 2017 13:18:33 +0000 (09:18 -0400)]
Lie about **
Arran Cudbard-Bell [Fri, 26 May 2017 12:01:53 +0000 (08:01 -0400)]
Cast to quiet static analysis
Arran Cudbard-Bell [Fri, 26 May 2017 02:05:50 +0000 (22:05 -0400)]
CID
1409876: False positive
Arran Cudbard-Bell [Fri, 26 May 2017 02:03:58 +0000 (22:03 -0400)]
CID
1409875: Check data first before deref
Arran Cudbard-Bell [Fri, 26 May 2017 02:02:46 +0000 (22:02 -0400)]
CID
1409874: Always call va_end
Arran Cudbard-Bell [Fri, 26 May 2017 02:01:53 +0000 (22:01 -0400)]
CID
1409873: Don’t close the FD twice
Arran Cudbard-Bell [Fri, 26 May 2017 02:00:45 +0000 (22:00 -0400)]
CID
1409872: Always call va_end
Arran Cudbard-Bell [Fri, 26 May 2017 01:59:28 +0000 (21:59 -0400)]
CID
1409871: Check request_setup was successful
Arran Cudbard-Bell [Fri, 26 May 2017 01:57:10 +0000 (21:57 -0400)]
CID
1409869: Check fr_pair_alloc
Arran Cudbard-Bell [Fri, 26 May 2017 01:55:29 +0000 (21:55 -0400)]
CID
1409868: Check return of cf_data_find
Arran Cudbard-Bell [Fri, 26 May 2017 01:52:07 +0000 (21:52 -0400)]
CID
1409867: Missed break
Arran Cudbard-Bell [Fri, 26 May 2017 01:48:43 +0000 (21:48 -0400)]
CID
1409866: Missed break
Arran Cudbard-Bell [Fri, 26 May 2017 01:47:36 +0000 (21:47 -0400)]
CID
1409865: Remove dead code
Arran Cudbard-Bell [Fri, 26 May 2017 01:44:45 +0000 (21:44 -0400)]
CID
1409864: Use the bool to check for multi
Arran Cudbard-Bell [Fri, 26 May 2017 01:40:08 +0000 (21:40 -0400)]
CID
1409863: our_err is no longer used
Arran Cudbard-Bell [Fri, 26 May 2017 01:35:50 +0000 (21:35 -0400)]
CID
1409862: Missed check for NULL original packet
Arran Cudbard-Bell [Fri, 26 May 2017 01:24:23 +0000 (21:24 -0400)]
CID 140986: Check return code of cf_pair_parse
Arran Cudbard-Bell [Fri, 26 May 2017 01:21:17 +0000 (21:21 -0400)]
CID
1409860: Can’t use bounds checks on 64 bit integers
Arran Cudbard-Bell [Fri, 26 May 2017 01:18:22 +0000 (21:18 -0400)]
CID
1409859: Check error code of fr_radius_packet_send
Arran Cudbard-Bell [Fri, 26 May 2017 01:14:09 +0000 (21:14 -0400)]
Arran Cudbard-Bell [Thu, 25 May 2017 03:16:26 +0000 (23:16 -0400)]
More formatting
Arran Cudbard-Bell [Thu, 25 May 2017 03:13:20 +0000 (23:13 -0400)]
Dynamically allocate modcall stack state
Arran Cudbard-Bell [Thu, 25 May 2017 03:12:26 +0000 (23:12 -0400)]
Formatting ’n inlining
Arran Cudbard-Bell [Thu, 25 May 2017 22:11:51 +0000 (18:11 -0400)]
Use normal return codes
Arran Cudbard-Bell [Thu, 25 May 2017 22:08:24 +0000 (18:08 -0400)]
Fix eap_peap_verify check
which wasn't actually incorrect, but rightly tripped PVS studio. Seems the published draft doesn't actually match what we get in the tunnel.
Arran Cudbard-Bell [Thu, 25 May 2017 21:54:10 +0000 (17:54 -0400)]
Rename macros so it's clear which ones refer to EAP codes
Arran Cudbard-Bell [Thu, 25 May 2017 21:15:17 +0000 (17:15 -0400)]
memset_s might not be available
Arran Cudbard-Bell [Thu, 25 May 2017 20:30:28 +0000 (16:30 -0400)]
and yet more -V512 false positives
Arran Cudbard-Bell [Thu, 25 May 2017 20:30:15 +0000 (16:30 -0400)]
...and more V512 false positives
Arran Cudbard-Bell [Thu, 25 May 2017 20:30:03 +0000 (16:30 -0400)]
Ignore false positives in EAP sim code
We should probably just disable -V512, it's really stupid.
Arran Cudbard-Bell [Thu, 25 May 2017 20:29:38 +0000 (16:29 -0400)]
Fix scope, and use secure erase in mppe_keys
We should probably have a secret flag for attributes to ensure they get secure erased...
Arran Cudbard-Bell [Thu, 25 May 2017 20:29:03 +0000 (16:29 -0400)]
Unsetting indexes by calling SSL_set_ex_data with NULL is OK
Arran Cudbard-Bell [Thu, 25 May 2017 20:28:23 +0000 (16:28 -0400)]
Use correct buffer lengths in rlm_cram
Arran Cudbard-Bell [Thu, 25 May 2017 20:28:07 +0000 (16:28 -0400)]
Fix potential buffer overrun?
Arran Cudbard-Bell [Thu, 25 May 2017 20:27:54 +0000 (16:27 -0400)]
Ignore false positives in tacacs
Arran Cudbard-Bell [Thu, 25 May 2017 20:27:41 +0000 (16:27 -0400)]
Ignore stupid false positive in proto_detail.c
Arran Cudbard-Bell [Thu, 25 May 2017 20:27:28 +0000 (16:27 -0400)]
s/el/event_list/
Arran Cudbard-Bell [Thu, 25 May 2017 20:27:17 +0000 (16:27 -0400)]
Ignore false positives in udpfromto.c
Arran Cudbard-Bell [Thu, 25 May 2017 19:51:46 +0000 (15:51 -0400)]
PVS studio won't know about talloc_array_length... and it's more efficient too
Arran Cudbard-Bell [Thu, 25 May 2017 19:50:09 +0000 (15:50 -0400)]
Underflow is ok
Arran Cudbard-Bell [Thu, 25 May 2017 19:49:06 +0000 (15:49 -0400)]
Compare in_len to size of packet structure not void *
Arran Cudbard-Bell [Thu, 25 May 2017 19:48:49 +0000 (15:48 -0400)]
Ensure t->username is set
Arran Cudbard-Bell [Thu, 25 May 2017 19:41:33 +0000 (15:41 -0400)]
Move assignments out of conditions
Arran Cudbard-Bell [Thu, 25 May 2017 19:28:23 +0000 (15:28 -0400)]
Check packet allocation immediately
Arran Cudbard-Bell [Thu, 25 May 2017 19:28:07 +0000 (15:28 -0400)]
Ignore buffer underflow
Arran Cudbard-Bell [Thu, 25 May 2017 19:27:56 +0000 (15:27 -0400)]
shhhh pvs studio
Arran Cudbard-Bell [Thu, 25 May 2017 19:27:28 +0000 (15:27 -0400)]
Remove double checking of condition
Arran Cudbard-Bell [Thu, 25 May 2017 19:25:55 +0000 (15:25 -0400)]
Loop condition is useless
Arran Cudbard-Bell [Thu, 25 May 2017 19:25:02 +0000 (15:25 -0400)]
Remove erroneous assert in fr_request_to_state
Arran Cudbard-Bell [Thu, 25 May 2017 19:24:31 +0000 (15:24 -0400)]
Rename globals in radclient.c
Arran Cudbard-Bell [Thu, 25 May 2017 19:24:18 +0000 (15:24 -0400)]
Rename globals in process.c
Arran Cudbard-Bell [Thu, 25 May 2017 19:23:47 +0000 (15:23 -0400)]
Hmm this check just seems kinda broken
Arran Cudbard-Bell [Thu, 25 May 2017 19:10:43 +0000 (15:10 -0400)]
Formatting, and false positives
Arran Cudbard-Bell [Thu, 25 May 2017 18:31:44 +0000 (14:31 -0400)]
You're an odd type cast
Arran Cudbard-Bell [Thu, 25 May 2017 18:21:34 +0000 (14:21 -0400)]
Probably indeed was mistake
Arran Cudbard-Bell [Thu, 25 May 2017 18:20:49 +0000 (14:20 -0400)]
Only call things on session->ssl if it's not null
Arran Cudbard-Bell [Thu, 25 May 2017 18:14:33 +0000 (14:14 -0400)]
App data never used anywhere, and was NULL anyway‽
Arran Cudbard-Bell [Thu, 25 May 2017 18:12:00 +0000 (14:12 -0400)]
PVS studio is stupid
Arran Cudbard-Bell [Thu, 25 May 2017 18:08:02 +0000 (14:08 -0400)]
Fix comparators
Arran Cudbard-Bell [Thu, 25 May 2017 18:07:43 +0000 (14:07 -0400)]
cond_eval not used yet
Arran Cudbard-Bell [Thu, 25 May 2017 18:02:43 +0000 (14:02 -0400)]
Reduce scope of p so it can't be used after buffer goes out of scope
Arran Cudbard-Bell [Thu, 25 May 2017 18:00:28 +0000 (14:00 -0400)]
Assert first
Arran Cudbard-Bell [Thu, 25 May 2017 17:55:28 +0000 (13:55 -0400)]
Check we have a reply before checking its code
Arran Cudbard-Bell [Thu, 25 May 2017 17:53:08 +0000 (13:53 -0400)]
Check for Null fr_log_fp
Arran Cudbard-Bell [Thu, 25 May 2017 17:50:57 +0000 (13:50 -0400)]
Fix issues in the test utilities
Arran Cudbard-Bell [Thu, 25 May 2017 17:41:51 +0000 (13:41 -0400)]
Use isdigit instead of strtoul if we're just discarding the result
Arran Cudbard-Bell [Thu, 25 May 2017 17:32:24 +0000 (13:32 -0400)]
Fix order of assert
Arran Cudbard-Bell [Thu, 25 May 2017 17:30:38 +0000 (13:30 -0400)]
Month check should use a different iterator
Arran Cudbard-Bell [Thu, 25 May 2017 17:22:16 +0000 (13:22 -0400)]
We do actually want to hash the pointer, not the data
Arran Cudbard-Bell [Thu, 25 May 2017 17:12:44 +0000 (13:12 -0400)]
Can't goto finish if we're raising a signal
Arran Cudbard-Bell [Thu, 25 May 2017 17:11:37 +0000 (13:11 -0400)]
Use correct format for 64bit integers in worker.c
Arran Cudbard-Bell [Thu, 25 May 2017 17:08:41 +0000 (13:08 -0400)]
When we're localizing a header, copy the number of bytes in the header, not the number of bytes in a void *
Arran Cudbard-Bell [Thu, 25 May 2017 17:04:09 +0000 (13:04 -0400)]
Fix PVS studio issues in channel.c
Arran Cudbard-Bell [Thu, 25 May 2017 17:00:47 +0000 (13:00 -0400)]
Use correct format for 64bit integers in time.c
Arran Cudbard-Bell [Thu, 25 May 2017 16:58:56 +0000 (12:58 -0400)]
Use correct format for 64bit integers in atomic_queue.c
Arran Cudbard-Bell [Thu, 25 May 2017 16:52:36 +0000 (12:52 -0400)]
Fix pvs studio pedantry in jlibtool.c
Arran Cudbard-Bell [Thu, 25 May 2017 16:46:59 +0000 (12:46 -0400)]
Allow rlm_mruby to build, just remove its dependencies in travis
Because travis is still one major LTS version behind current *sigh*.
Arran Cudbard-Bell [Wed, 24 May 2017 23:08:45 +0000 (19:08 -0400)]
Alloc a pooled object for the stack, so we can use mutable frame extensions without leaking request pool memory
Arran Cudbard-Bell [Wed, 24 May 2017 23:07:59 +0000 (19:07 -0400)]
Compact bools in the stack frame into a bit field
Arran Cudbard-Bell [Wed, 24 May 2017 23:07:28 +0000 (19:07 -0400)]
FR_TLS_EX_IDENTITY is actualy a char **
Fix tls_validate_cert_cb to treat it as such.
Arran Cudbard-Bell [Wed, 24 May 2017 21:23:51 +0000 (17:23 -0400)]
Allow error and write callbacks to be passed into unlang_event_fd_add
Arran Cudbard-Bell [Wed, 24 May 2017 21:23:36 +0000 (17:23 -0400)]
Rename unlang_action to unlang_signal in some places
Alan T. DeKok [Wed, 24 May 2017 21:08:54 +0000 (17:08 -0400)]
comment out unused code
Arran Cudbard-Bell [Wed, 24 May 2017 20:59:06 +0000 (16:59 -0400)]
shhh clang scan
Arran Cudbard-Bell [Wed, 24 May 2017 20:31:27 +0000 (16:31 -0400)]
Set data in all cases
Arran Cudbard-Bell [Wed, 24 May 2017 20:23:53 +0000 (16:23 -0400)]
Use common protocol encoder for RADIUS