lp:libsafec

Get this repository:
git clone https://git.not.enabled/libsafec

Import details

Import Status: Suspended

This repository is an import of the Git repository at https://github.com/rurban/safeclib.git.

Last successful import was .

Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-3 and finished taking 25 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-2 and finished taking 25 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-2 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 25 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 25 seconds — see the log

Branches

Name Last Modified Last Commit
sse2cpy 2023-02-23 13:10:27 UTC
WIP avoid invalid conversion error

Author: Reini Urban
Author Date: 2019-05-29 14:31:48 UTC

WIP avoid invalid conversion error

error: invalid conversion between vector type '__m128i' (vector of 2
'long long' values) and integer type 'uintptr_t' (aka 'unsigned long')
of different size

errno-gh129 2023-02-23 13:10:27 UTC
restore errno if set

Author: Reini Urban
Author Date: 2023-02-23 12:00:32 UTC

restore errno if set

Fixes GH #129

u8 2023-02-23 13:10:27 UTC
WIP u8cat_s refactor

Author: Reini Urban
Author Date: 2022-01-09 18:10:00 UTC

WIP u8cat_s refactor

scanf 2023-02-23 13:10:27 UTC
wip scanf

Author: Reini Urban
Author Date: 2022-12-02 14:32:10 UTC

wip scanf

gh103-printf 2023-02-23 13:10:26 UTC
printf: macOS and BSD lack isinfl

Author: Reini Urban
Author Date: 2021-11-26 20:36:17 UTC

printf: macOS and BSD lack isinfl

some do have __isinfl, some dont.
define our own then

master 2023-02-23 13:08:52 UTC
fixup test_getenv_s on _WIN32

Author: Reini Urban
Author Date: 2023-02-23 13:08:52 UTC

fixup test_getenv_s on _WIN32

I had it reverse

null-terminated-gh130 2023-02-23 09:04:23 UTC
wrong 'null terminated' wording: replace by zero termination

Author: Reini Urban
Author Date: 2023-02-23 09:01:15 UTC

wrong 'null terminated' wording: replace by zero termination

and NUL character.
null is a pointer, NUL is the zero character '\0'.

Note that the C Standard also uses the wrong wording in N1570.
wikipedia ditto: https://en.wikipedia.org/wiki/Null-terminated_string

Fixes GH #130

aarch64-m1 2022-10-19 07:38:09 UTC
fix aarch64 m1 memory barrier asm code

Author: Reini Urban
Author Date: 2021-08-04 16:56:54 UTC

fix aarch64 m1 memory barrier asm code

See #98 and #116

gh-pages 2022-02-01 20:35:42 UTC
Update to v3.7.1

Author: Reini Urban
Author Date: 2022-02-01 20:35:42 UTC

Update to v3.7.1

fmtlib 2021-12-13 08:41:23 UTC
WIP add fmtlib for secure printf/scanf, C++

Author: Reini Urban
Author Date: 2020-09-01 07:48:32 UTC

WIP add fmtlib for secure printf/scanf, C++

pgi-slack 2019-06-03 14:18:50 UTC
WIP fix null_slack memset, use handle_error with ESLEMAX

Author: Reini Urban
Author Date: 2019-06-03 08:51:32 UTC

WIP fix null_slack memset, use handle_error with ESLEMAX

the error handler needs to clear the slack, but
overly aggressive compilers, such as pgi pgcc optimize
away a memset. try explicit_bzero or mem_prim_set then.
we cannot use memzero_s of fear of error recursion, and
also not MEMORY_BARRIER because of cross-dependencies between
safe_str_constraint.h (inlined!) and mem_primitives_lib.h

gh48-static_assert 2018-02-28 17:08:56 UTC
tune p_memcpy_s WIP

Author: Reini Urban
Author Date: 2018-02-27 18:32:33 UTC

tune p_memcpy_s WIP

skip CONSTP(dmax) CONSTP(slen) as they prohibit constant folding
of this expr.
TODO: always_inline helps in arg propagation (-O3),
but needs to be probed for.

gh46-dynerr 2018-02-08 18:47:24 UTC
sprintf error messages

Author: Reini Urban
Author Date: 2018-02-07 15:36:06 UTC

sprintf error messages

Safe memory, better error messages, mostly ignored.
See #46.
Applied to strcat_s, strncat_s

113 of 13 results
This repository contains Public information 
Everyone can see this information.

Subscribers