• Clemens Hammacher's avatar
    Fix two warnings issued by g++ · fa0ec09f
    Clemens Hammacher authored
    A local build with g++ 8.3.0 failed with two warnings. This CL fixes
    them.
    The errors were:
    
    1) error: 'char* strncat(char*, const char*, size_t)' output truncated
       before terminating nul copying as many bytes from a string as its
       length [-Werror=stringop-truncation]
    2) error: 'char* strncpy(char*, const char*, size_t)' specified bound
       depends on the length of the source argument
       [-Werror=stringop-overflow=]
    
    R=petermarshall@chromium.org
    
    Bug: v8:9396
    Change-Id: I175a72435becd694e4151a64e538084ec17d8500
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1803636Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#63788}
    fa0ec09f
Name
Last commit
Last update
..
tracing Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...
default-foreground-task-runner.cc Loading commit data...
default-foreground-task-runner.h Loading commit data...
default-platform.cc Loading commit data...
default-platform.h Loading commit data...
default-worker-threads-task-runner.cc Loading commit data...
default-worker-threads-task-runner.h Loading commit data...
delayed-task-queue.cc Loading commit data...
delayed-task-queue.h Loading commit data...
task-queue.cc Loading commit data...
task-queue.h Loading commit data...
worker-thread.cc Loading commit data...
worker-thread.h Loading commit data...