aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/imgui
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2020-02-28 03:05:39 +0100
committerMarcelina Koƛcielnicka <mwk@0x04.net>2020-02-28 03:48:41 +0100
commitbb754441c8acf70f82c1862a214e74164a403dc1 (patch)
treeefc0e42973d7eb1a6f46adb8c60ed32089db3a52 /3rdparty/imgui
parent3e95c57317c8cea5f40a546b8dff9d2b63211611 (diff)
downloadnextpnr-bb754441c8acf70f82c1862a214e74164a403dc1.tar.gz
nextpnr-bb754441c8acf70f82c1862a214e74164a403dc1.tar.bz2
nextpnr-bb754441c8acf70f82c1862a214e74164a403dc1.zip
gui: Fix undefined behavior in TreeModel.
std::sort() requires the comparison function to return false for even comparison. Returning true results in undefined behavior and a potential segfault.
Diffstat (limited to '3rdparty/imgui')
0 files changed, 0 insertions, 0 deletions
#n115'>115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155