/
githubmirror
/
libxmlb
Обзор
Документация
Войти
/
githubmirror
/
libxmlb
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/xb-common-private.h
20 строк
513 B
Richard Hughes
Fix a potential out of bounds read when building a XbBuilderNode
31 июл 2026, 14:36
31 июл 2026, 14:36
d9dbfb1
Код
Авторство
О чём код?
/* * Copyright 2020 Richard Hughes <richard@hughsie.com> * * SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once #include "xb-compile.h" gchar * xb_content_type_guess(const gchar *filename, const guchar *buf, gsize bufsz); gboolean xb_file_set_contents(GFile *file, const guint8 *buf, gsize bufsz, GCancellable *cancellable, GError **error) G_GNUC_NON_NULL(1); gchar ** xb_strsplit(const gchar *str, gsize sz, const gchar *delimiter, gint max_tokens) G_GNUC_NON_NULL(1);