0

Suppress unsafe_libc_call warning for initial identified files.

See docs/unsafe_buffers.md for details. Enforcement is not yet
enabled, but this set of files are not in compliance with the
new warnings.

Bug: 390223051
Change-Id: I4e24c2141b9399f572678302c833947494098b29
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6187925
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Owners-Override: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1412673}
This commit is contained in:
Tom Sepez
2025-01-28 18:11:08 -08:00
committed by Chromium LUCI CQ
parent 501d0be6a0
commit 8726d30ed0
706 changed files with 3544 additions and 16 deletions
base
cc
chrome
browser
apps
autofill
automated_tests
browser_process_impl.cc
browser_switcher
chrome_browser_main_posix.cc
devtools
diagnostics
dom_distiller
download
enterprise
extensions
media
new_tab_page
policy
printing
resource_coordinator
safe_browsing
screen_ai
sessions
signin
spellchecker
ssl
support_tool
sync
test
ui
unload_browsertest.cc
upgrade_detector
user_education
webauthn
common
enterprise_companion
renderer
services
test
tools
updater
components
autofill
breadcrumbs
client_update_protocol
contextual_search
crash
cronet
native
testing
test_server
discardable_memory
dom_distiller
download
internal
encrypted_messages
enterprise
eye_dropper
facilitated_payments
core
favicon_base
feature_engagement
feedback
redaction_tool
fingerprinting_protection_filter
flags_ui
guest_view
gwp_asan
lens
media_router
metrics
mirroring
omnibox
optimization_guide
os_crypt
paint_preview
performance_manager
execution_context_priority
public
voting
policy
power_metrics
prefs
reporting
safe_browsing
search
search_engines
search_provider_logos
segmentation_platform
services
sessions
signin
storage_monitor
subresource_filter
supervised_user
sync_device_info
trusted_vault
ui_devtools
update_client
url_matcher
user_education
variations
visitedlink
viz
webcrypto
webrtc
zucchini
content
app
browser
common
public
renderer
services
auction_worklet
shell
test
web_test
crypto
dbus
device
extensions
gin
google_apis/gaia
gpu
headless
ipc
media
mojo
net
base
cert
cookies
disk_cache
dns
http
log
proxy_resolution
quic
reporting
socket
spdy
test
tools
tld_cleanup
transport_security_state_generator
url_request
pdf
printing
remoting
sandbox/linux
services
skia
sql
storage/browser
third_party/blink
common
public
renderer
bindings
controller
core
modules
platform
ui
url

@ -2,6 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
#pragma allow_unsafe_libc_calls
#endif
#include <algorithm>
#include <limits>
#include <memory>

@ -2,6 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
#pragma allow_unsafe_libc_calls
#endif
#include "components/sessions/core/session_service_commands.h"
#include <stdint.h>

@ -2,6 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/390223051): Remove C-library calls to fix the errors.
#pragma allow_unsafe_libc_calls
#endif
#include "components/sessions/core/tab_restore_service_impl.h"
#include <stddef.h>