Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Merge requests
!22105
community/dino: security upgrade to 0.2.1
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
community/dino: security upgrade to 0.2.1
gjabell/aports:dino
into
master
Overview
1
Commits
1
Pipelines
2
Changes
2
Closed
Galen Abell
requested to merge
gjabell/aports:dino
into
master
3 years ago
Overview
1
Commits
1
Pipelines
2
Changes
2
Expand
https://dino.im/security/cve-2021-33896/
0
0
Merge request reports
Compare
master
version 1
4fb58e47
3 years ago
master (base)
and
latest version
latest version
c77f2ff1
1 commit,
3 years ago
version 1
4fb58e47
1 commit,
3 years ago
2 files
+
9
−
45
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
community/dino/9acb54df9254609f2fe4de83c9047d408412de28.patch deleted
100644 → 0
+
0
−
40
Options
From 9acb54df9254609f2fe4de83c9047d408412de28 Mon Sep 17 00:00:00 2001
From: Marvin W <git@larma.de>
Date: Sat, 6 Mar 2021 08:31:53 -0600
Subject: [PATCH] QLite: Adjust Real for latest vala version
---
qlite/src/column.vala | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/qlite/src/column.vala b/qlite/src/column.vala
index 60125ddf..45385f38 100644
--- a/qlite/src/column.vala
+++ b/qlite/src/column.vala
@@ -96,12 +96,14 @@
public abstract class Column<T> {
}
}
- public class Real : Column<double> {
- public Real(string name) {
+ public class NullableReal : Column<double?> {
+ public NullableReal(string name) {
base(name, FLOAT);
}
- public override double get(Row row, string? table_name = DEFALT_TABLE_NAME) {
+ public override bool not_null { get { return false; } set {} }
+
+ public override double? get(Row row, string? table_name = DEFALT_TABLE_NAME) {
return row.get_real(name, table_name == DEFALT_TABLE_NAME ? table.name : table_name);
}
@@ -109,7 +111,7 @@
public abstract class Column<T> {
return !row.has_real(name, table_name == DEFALT_TABLE_NAME ? table.name : table_name);
}
- internal override void bind(Statement stmt, int index, double value) {
+ internal override void bind(Statement stmt, int index, double? value) {
stmt.bind_double(index, value);
}
}
Loading