• Gabriel's avatar
    bug fixes from Fujitsu (bug 21) · 98a7a16e
    Gabriel authored
    Note: this fix does not solve the issue with how
    this buffer is used in this function, but I'm not
    sure this code is used at all (Cédric Roux).
    
    ----------------------------------------------------------
    bug 21
    
    Ttile:
    PAYLOAD_MAX=1500, so this coding results in index overflow.
    Additionally, operator "!=" just compairs something, this
    coding is meaningless.
    
    Bug Location:
    buffer[PAYLOAD_MAX] != '\0';
    
    Note:
    Detected by CppCheck
    ----------------------------------------------------------
    98a7a16e
Name
Last commit
Last update
cmake_targets Loading commit data...
common/utils Loading commit data...
openair1 Loading commit data...
openair2 Loading commit data...
openair3 Loading commit data...
svn2git Loading commit data...
targets Loading commit data...
.gitlab-ci.yml Loading commit data...
LICENSE Loading commit data...
NOTICE.txt Loading commit data...
README.txt Loading commit data...
maketags Loading commit data...
oaienv Loading commit data...
pre-commit Loading commit data...