• Jonathan Jenkins's avatar
    use strcpy in codes_mapping_get_lp_info · 1e7328ef
    Jonathan Jenkins authored
    strncpy might prevent bad internal state from destroying everything, but it
    also writes MAX_NAME_LENGTH bytes unconditionally, clobbering input if it
    isn't long enough. Besides, internal state will only be inconsistent if people
    are trying to call codes_mapping_get_lp_info without configuring in the first
    place...
    1e7328ef
Name
Last commit
Last update
codes Loading commit data...
doc Loading commit data...
m4 Loading commit data...
maint Loading commit data...
scripts Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
COPYRIGHT Loading commit data...
Make.rules Loading commit data...
Makefile.am Loading commit data...
configure.ac Loading commit data...
prepare.sh Loading commit data...
reformat.sh Loading commit data...
uc-codes.cfg Loading commit data...