mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
lib/libtuxtxt/tuxtxt_common.h fix out of bounds
This commit is contained in:
@@ -309,7 +309,7 @@ void tuxtxt_decode_adip() /* additional information table */
|
||||
#endif
|
||||
} /* next adip page i */
|
||||
|
||||
while (!tuxtxt_cache.adippg[tuxtxt_cache.maxadippg] && (tuxtxt_cache.maxadippg >= 0)) /* and shrink table */
|
||||
while ((tuxtxt_cache.maxadippg >= 0) && !tuxtxt_cache.adippg[tuxtxt_cache.maxadippg]) /* and shrink table */
|
||||
tuxtxt_cache.maxadippg--;
|
||||
}
|
||||
/******************************************************************************
|
||||
|
Reference in New Issue
Block a user