mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
lib/libtuxtxt/tuxtxt_common.h fix out of bounds
Origin commit data
------------------
Commit: 20268781e3
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-12-20 (Tue, 20 Dec 2016)
This commit is contained in:
@@ -309,7 +309,7 @@ void tuxtxt_decode_adip() /* additional information table */
|
|||||||
#endif
|
#endif
|
||||||
} /* next adip page i */
|
} /* 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--;
|
tuxtxt_cache.maxadippg--;
|
||||||
}
|
}
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
Reference in New Issue
Block a user