WEBVTT
Kind: captions
Language: en

00:00:00.400 --> 00:00:02.230 align:start position:0%
 
In<00:00:00.640><c> my</c><00:00:00.800><c> last</c><00:00:01.040><c> video,</c><00:00:01.360><c> we</c><00:00:01.520><c> investigated</c><00:00:02.080><c> the</c>

00:00:02.230 --> 00:00:02.240 align:start position:0%
In my last video, we investigated the
 

00:00:02.240 --> 00:00:03.990 align:start position:0%
In my last video, we investigated the
patch<00:00:02.560><c> for</c><00:00:02.720><c> a</c><00:00:02.879><c> recent</c><00:00:03.200><c> zero</c><00:00:03.520><c> day</c><00:00:03.679><c> that</c><00:00:03.840><c> was</c>

00:00:03.990 --> 00:00:04.000 align:start position:0%
patch for a recent zero day that was
 

00:00:04.000 --> 00:00:05.749 align:start position:0%
patch for a recent zero day that was
found<00:00:04.160><c> to</c><00:00:04.319><c> be</c><00:00:04.480><c> exploited</c><00:00:04.960><c> in</c><00:00:05.120><c> the</c><00:00:05.279><c> wild</c><00:00:05.520><c> on</c>

00:00:05.749 --> 00:00:05.759 align:start position:0%
found to be exploited in the wild on
 

00:00:05.759 --> 00:00:07.909 align:start position:0%
found to be exploited in the wild on
iOS.<00:00:06.640><c> Be</c><00:00:06.799><c> sure</c><00:00:06.879><c> to</c><00:00:07.040><c> go</c><00:00:07.200><c> back</c><00:00:07.359><c> and</c><00:00:07.520><c> watch</c><00:00:07.759><c> that</c>

00:00:07.909 --> 00:00:07.919 align:start position:0%
iOS. Be sure to go back and watch that
 

00:00:07.919 --> 00:00:09.589 align:start position:0%
iOS. Be sure to go back and watch that
video<00:00:08.160><c> first</c><00:00:08.480><c> before</c><00:00:08.800><c> continuing</c><00:00:09.280><c> with</c><00:00:09.440><c> this</c>

00:00:09.589 --> 00:00:09.599 align:start position:0%
video first before continuing with this
 

00:00:09.599 --> 00:00:11.190 align:start position:0%
video first before continuing with this
one<00:00:09.760><c> so</c><00:00:09.920><c> that</c><00:00:10.080><c> you</c><00:00:10.240><c> understand</c><00:00:10.639><c> exactly</c><00:00:11.040><c> how</c>

00:00:11.190 --> 00:00:11.200 align:start position:0%
one so that you understand exactly how
 

00:00:11.200 --> 00:00:13.030 align:start position:0%
one so that you understand exactly how
we<00:00:11.360><c> got</c><00:00:11.519><c> to</c><00:00:11.679><c> this</c><00:00:11.840><c> point.</c><00:00:12.240><c> In</c><00:00:12.400><c> the</c><00:00:12.559><c> analysis</c>

00:00:13.030 --> 00:00:13.040 align:start position:0%
we got to this point. In the analysis
 

00:00:13.040 --> 00:00:14.789 align:start position:0%
we got to this point. In the analysis
shown<00:00:13.280><c> in</c><00:00:13.440><c> that</c><00:00:13.679><c> video,</c><00:00:14.000><c> we</c><00:00:14.240><c> discovered</c><00:00:14.559><c> that</c>

00:00:14.789 --> 00:00:14.799 align:start position:0%
shown in that video, we discovered that
 

00:00:14.799 --> 00:00:16.310 align:start position:0%
shown in that video, we discovered that
memory<00:00:15.120><c> corruption</c><00:00:15.519><c> can</c><00:00:15.759><c> occur</c><00:00:16.000><c> when</c>

00:00:16.310 --> 00:00:16.320 align:start position:0%
memory corruption can occur when
 

00:00:16.320 --> 00:00:19.510 align:start position:0%
memory corruption can occur when
decoding<00:00:16.880><c> an</c><00:00:17.119><c> APAC</c><00:00:17.680><c> audio</c><00:00:18.080><c> frame</c><00:00:18.240><c> on</c><00:00:18.400><c> iOS</c><00:00:19.119><c> as</c><00:00:19.359><c> a</c>

00:00:19.510 --> 00:00:19.520 align:start position:0%
decoding an APAC audio frame on iOS as a
 

00:00:19.520 --> 00:00:21.349 align:start position:0%
decoding an APAC audio frame on iOS as a
result<00:00:19.760><c> of</c><00:00:20.000><c> some</c><00:00:20.320><c> incorrect</c><00:00:20.880><c> parsing</c>

00:00:21.349 --> 00:00:21.359 align:start position:0%
result of some incorrect parsing
 

00:00:21.359 --> 00:00:23.910 align:start position:0%
result of some incorrect parsing
involving<00:00:21.840><c> the</c><00:00:22.080><c> M</c><00:00:22.320><c> remapping</c><00:00:22.800><c> array.</c><00:00:23.600><c> Apple</c>

00:00:23.910 --> 00:00:23.920 align:start position:0%
involving the M remapping array. Apple
 

00:00:23.920 --> 00:00:26.870 align:start position:0%
involving the M remapping array. Apple
then<00:00:24.240><c> fixed</c><00:00:24.560><c> this</c><00:00:24.720><c> issue</c><00:00:25.039><c> in</c><00:00:25.199><c> iOS</c><00:00:25.680><c> 18.4.1</c><00:00:26.160><c> 4.1</c>

00:00:26.870 --> 00:00:26.880 align:start position:0%
then fixed this issue in iOS 18.4.1 4.1
 

00:00:26.880 --> 00:00:29.029 align:start position:0%
then fixed this issue in iOS 18.4.1 4.1
by<00:00:27.199><c> changing</c><00:00:27.519><c> the</c><00:00:27.680><c> values</c><00:00:28.000><c> that</c><00:00:28.160><c> are</c><00:00:28.320><c> used</c><00:00:28.880><c> in</c>

00:00:29.029 --> 00:00:29.039 align:start position:0%
by changing the values that are used in
 

00:00:29.039 --> 00:00:31.189 align:start position:0%
by changing the values that are used in
the<00:00:29.279><c> initial</c><00:00:29.599><c> pausing</c><00:00:30.080><c> loop</c><00:00:30.480><c> when</c><00:00:30.800><c> playing</c><00:00:31.039><c> an</c>

00:00:31.189 --> 00:00:31.199 align:start position:0%
the initial pausing loop when playing an
 

00:00:31.199 --> 00:00:32.950 align:start position:0%
the initial pausing loop when playing an
audio<00:00:31.519><c> file.</c><00:00:32.079><c> The</c><00:00:32.239><c> majority</c><00:00:32.559><c> of</c><00:00:32.719><c> that</c>

00:00:32.950 --> 00:00:32.960 align:start position:0%
audio file. The majority of that
 

00:00:32.960 --> 00:00:34.950 align:start position:0%
audio file. The majority of that
previous<00:00:33.280><c> video</c><00:00:33.600><c> was</c><00:00:33.920><c> centered</c><00:00:34.320><c> around</c><00:00:34.640><c> the</c>

00:00:34.950 --> 00:00:34.960 align:start position:0%
previous video was centered around the
 

00:00:34.960 --> 00:00:36.870 align:start position:0%
previous video was centered around the
discovery<00:00:35.520><c> of</c><00:00:35.680><c> this</c><00:00:35.920><c> bug</c><00:00:36.160><c> and</c><00:00:36.320><c> the</c><00:00:36.559><c> analysis</c>

00:00:36.870 --> 00:00:36.880 align:start position:0%
discovery of this bug and the analysis
 

00:00:36.880 --> 00:00:38.630 align:start position:0%
discovery of this bug and the analysis
of<00:00:37.040><c> the</c><00:00:37.200><c> patch.</c><00:00:37.760><c> And</c><00:00:38.000><c> we</c><00:00:38.160><c> haven't</c><00:00:38.399><c> yet</c>

00:00:38.630 --> 00:00:38.640 align:start position:0%
of the patch. And we haven't yet
 

00:00:38.640 --> 00:00:40.389 align:start position:0%
of the patch. And we haven't yet
discussed<00:00:39.040><c> the</c><00:00:39.280><c> actual</c><00:00:39.600><c> connection</c><00:00:40.079><c> between</c>

00:00:40.389 --> 00:00:40.399 align:start position:0%
discussed the actual connection between
 

00:00:40.399 --> 00:00:42.549 align:start position:0%
discussed the actual connection between
the<00:00:40.640><c> patched</c><00:00:41.040><c> des</c><00:00:41.200><c> serialized</c><00:00:41.760><c> function</c><00:00:42.320><c> and</c>

00:00:42.549 --> 00:00:42.559 align:start position:0%
the patched des serialized function and
 

00:00:42.559 --> 00:00:44.709 align:start position:0%
the patched des serialized function and
the<00:00:42.800><c> function</c><00:00:43.120><c> in</c><00:00:43.360><c> which</c><00:00:43.520><c> the</c><00:00:43.760><c> crash</c><00:00:44.000><c> occurs.</c>

00:00:44.709 --> 00:00:44.719 align:start position:0%
the function in which the crash occurs.
 

00:00:44.719 --> 00:00:46.869 align:start position:0%
the function in which the crash occurs.
How<00:00:44.960><c> does</c><00:00:45.120><c> the</c><00:00:45.280><c> patched</c><00:00:45.680><c> function</c><00:00:46.239><c> affect</c><00:00:46.719><c> the</c>

00:00:46.869 --> 00:00:46.879 align:start position:0%
How does the patched function affect the
 

00:00:46.879 --> 00:00:48.950 align:start position:0%
How does the patched function affect the
decoding<00:00:47.440><c> function?</c><00:00:48.160><c> What</c><00:00:48.399><c> happens</c><00:00:48.719><c> in</c>

00:00:48.950 --> 00:00:48.960 align:start position:0%
decoding function? What happens in
 

00:00:48.960 --> 00:00:50.790 align:start position:0%
decoding function? What happens in
between?<00:00:49.440><c> And</c><00:00:49.680><c> more</c><00:00:49.840><c> importantly,</c><00:00:50.480><c> what</c><00:00:50.640><c> kind</c>

00:00:50.790 --> 00:00:50.800 align:start position:0%
between? And more importantly, what kind
 

00:00:50.800 --> 00:00:52.549 align:start position:0%
between? And more importantly, what kind
of<00:00:50.879><c> memory</c><00:00:51.280><c> corruption</c><00:00:51.680><c> primitives</c><00:00:52.239><c> are</c><00:00:52.399><c> we</c>

00:00:52.549 --> 00:00:52.559 align:start position:0%
of memory corruption primitives are we
 

00:00:52.559 --> 00:00:53.990 align:start position:0%
of memory corruption primitives are we
dealing<00:00:52.800><c> with?</c><00:00:53.199><c> Let's</c><00:00:53.440><c> dig</c><00:00:53.600><c> into</c><00:00:53.760><c> this</c>

00:00:53.990 --> 00:00:54.000 align:start position:0%
dealing with? Let's dig into this
 

00:00:54.000 --> 00:00:55.910 align:start position:0%
dealing with? Let's dig into this
further<00:00:54.320><c> in</c><00:00:54.559><c> today's</c><00:00:54.960><c> video.</c><00:00:55.440><c> Before</c><00:00:55.760><c> we</c><00:00:55.840><c> get</c>

00:00:55.910 --> 00:00:55.920 align:start position:0%
further in today's video. Before we get
 

00:00:55.920 --> 00:00:57.350 align:start position:0%
further in today's video. Before we get
into<00:00:56.079><c> it,</c><00:00:56.320><c> please</c><00:00:56.480><c> drop</c><00:00:56.640><c> a</c><00:00:56.800><c> like</c><00:00:56.960><c> on</c><00:00:57.199><c> this</c>

00:00:57.350 --> 00:00:57.360 align:start position:0%
into it, please drop a like on this
 

00:00:57.360 --> 00:00:58.950 align:start position:0%
into it, please drop a like on this
video<00:00:57.600><c> and</c><00:00:57.920><c> subscribe</c><00:00:58.239><c> if</c><00:00:58.480><c> you</c><00:00:58.640><c> want</c><00:00:58.719><c> to</c><00:00:58.800><c> see</c>

00:00:58.950 --> 00:00:58.960 align:start position:0%
video and subscribe if you want to see
 

00:00:58.960 --> 00:01:00.709 align:start position:0%
video and subscribe if you want to see
more<00:00:59.120><c> of</c><00:00:59.280><c> these</c><00:00:59.520><c> technical</c><00:00:59.920><c> breakdowns</c><00:01:00.480><c> on</c>

00:01:00.709 --> 00:01:00.719 align:start position:0%
more of these technical breakdowns on
 

00:01:00.719 --> 00:01:03.349 align:start position:0%
more of these technical breakdowns on
iOS<00:01:01.199><c> security</c><00:01:01.680><c> and</c><00:01:02.000><c> exploitation.</c><00:01:03.039><c> It</c><00:01:03.199><c> really</c>

00:01:03.349 --> 00:01:03.359 align:start position:0%
iOS security and exploitation. It really
 

00:01:03.359 --> 00:01:05.270 align:start position:0%
iOS security and exploitation. It really
helps<00:01:03.600><c> out</c><00:01:03.760><c> the</c><00:01:04.000><c> algorithm</c><00:01:04.479><c> and</c><00:01:04.720><c> supports</c><00:01:05.040><c> the</c>

00:01:05.270 --> 00:01:05.280 align:start position:0%
helps out the algorithm and supports the
 

00:01:05.280 --> 00:01:07.270 align:start position:0%
helps out the algorithm and supports the
growth<00:01:05.519><c> of</c><00:01:05.760><c> this</c><00:01:06.000><c> channel.</c><00:01:06.640><c> Since</c><00:01:06.880><c> the</c><00:01:07.119><c> last</c>

00:01:07.270 --> 00:01:07.280 align:start position:0%
growth of this channel. Since the last
 

00:01:07.280 --> 00:01:09.350 align:start position:0%
growth of this channel. Since the last
video,<00:01:07.680><c> Noah</c><00:01:08.080><c> has</c><00:01:08.320><c> published</c><00:01:08.640><c> more</c><00:01:08.960><c> details</c>

00:01:09.350 --> 00:01:09.360 align:start position:0%
video, Noah has published more details
 

00:01:09.360 --> 00:01:11.190 align:start position:0%
video, Noah has published more details
on<00:01:09.520><c> the</c><00:01:09.680><c> specifics</c><00:01:10.080><c> of</c><00:01:10.240><c> this</c><00:01:10.400><c> bug</c><00:01:10.799><c> on</c><00:01:11.040><c> the</c>

00:01:11.190 --> 00:01:11.200 align:start position:0%
on the specifics of this bug on the
 

00:01:11.200 --> 00:01:13.109 align:start position:0%
on the specifics of this bug on the
GitHub<00:01:11.600><c> repo,</c><00:01:12.000><c> and</c><00:01:12.159><c> he's</c><00:01:12.400><c> also</c><00:01:12.640><c> shared</c><00:01:12.960><c> a</c>

00:01:13.109 --> 00:01:13.119 align:start position:0%
GitHub repo, and he's also shared a
 

00:01:13.119 --> 00:01:15.109 align:start position:0%
GitHub repo, and he's also shared a
detailed<00:01:13.600><c> writeup</c><00:01:14.000><c> of</c><00:01:14.159><c> his</c><00:01:14.320><c> analysis</c><00:01:14.799><c> into</c>

00:01:15.109 --> 00:01:15.119 align:start position:0%
detailed writeup of his analysis into
 

00:01:15.119 --> 00:01:17.429 align:start position:0%
detailed writeup of his analysis into
this<00:01:15.280><c> bug</c><00:01:15.680><c> and</c><00:01:15.840><c> the</c><00:01:16.000><c> primitives</c><00:01:16.479><c> it</c><00:01:16.799><c> provides.</c>

00:01:17.429 --> 00:01:17.439 align:start position:0%
this bug and the primitives it provides.
 

00:01:17.439 --> 00:01:18.950 align:start position:0%
this bug and the primitives it provides.
Check<00:01:17.600><c> out</c><00:01:17.680><c> the</c><00:01:17.840><c> link</c><00:01:18.000><c> to</c><00:01:18.159><c> his</c><00:01:18.320><c> write</c><00:01:18.560><c> up</c><00:01:18.720><c> in</c>

00:01:18.950 --> 00:01:18.960 align:start position:0%
Check out the link to his write up in
 

00:01:18.960 --> 00:01:21.429 align:start position:0%
Check out the link to his write up in
the<00:01:19.119><c> description.</c><00:01:20.000><c> So</c><00:01:20.320><c> in</c><00:01:20.560><c> summary</c><00:01:20.960><c> here,</c>

00:01:21.429 --> 00:01:21.439 align:start position:0%
the description. So in summary here,
 

00:01:21.439 --> 00:01:23.830 align:start position:0%
the description. So in summary here,
memory<00:01:21.920><c> corruption</c><00:01:22.400><c> is</c><00:01:22.640><c> caused</c><00:01:23.119><c> due</c><00:01:23.360><c> to</c><00:01:23.600><c> a</c>

00:01:23.830 --> 00:01:23.840 align:start position:0%
memory corruption is caused due to a
 

00:01:23.840 --> 00:01:26.630 align:start position:0%
memory corruption is caused due to a
mismatch<00:01:24.479><c> between</c><00:01:24.960><c> two</c><00:01:25.280><c> components.</c><00:01:26.400><c> The</c>

00:01:26.630 --> 00:01:26.640 align:start position:0%
mismatch between two components. The
 

00:01:26.640 --> 00:01:28.789 align:start position:0%
mismatch between two components. The
mremapping<00:01:27.360><c> array</c><00:01:27.759><c> which</c><00:01:28.000><c> we</c><00:01:28.159><c> looked</c><00:01:28.320><c> at</c><00:01:28.560><c> last</c>

00:01:28.789 --> 00:01:28.799 align:start position:0%
mremapping array which we looked at last
 

00:01:28.799 --> 00:01:32.310 align:start position:0%
mremapping array which we looked at last
time<00:01:29.439><c> and</c><00:01:29.680><c> a</c><00:01:29.920><c> vector</c><00:01:30.400><c> of</c><00:01:30.720><c> float</c><00:01:31.119><c> pointers.</c><00:01:32.079><c> The</c>

00:01:32.310 --> 00:01:32.320 align:start position:0%
time and a vector of float pointers. The
 

00:01:32.320 --> 00:01:34.469 align:start position:0%
time and a vector of float pointers. The
mapping<00:01:33.040><c> array</c><00:01:33.280><c> can</c><00:01:33.520><c> have</c><00:01:33.759><c> an</c><00:01:34.000><c> arbitrary</c>

00:01:34.469 --> 00:01:34.479 align:start position:0%
mapping array can have an arbitrary
 

00:01:34.479 --> 00:01:36.469 align:start position:0%
mapping array can have an arbitrary
amount<00:01:34.799><c> of</c><00:01:34.960><c> elements</c><00:01:35.520><c> which</c><00:01:35.759><c> we</c><00:01:35.920><c> can</c><00:01:36.079><c> control</c>

00:01:36.469 --> 00:01:36.479 align:start position:0%
amount of elements which we can control
 

00:01:36.479 --> 00:01:38.950 align:start position:0%
amount of elements which we can control
based<00:01:36.799><c> on</c><00:01:36.880><c> the</c><00:01:37.119><c> value</c><00:01:37.439><c> we</c><00:01:37.759><c> put</c><00:01:37.920><c> into</c><00:01:38.240><c> the</c><00:01:38.560><c> M</c>

00:01:38.950 --> 00:01:38.960 align:start position:0%
based on the value we put into the M
 

00:01:38.960 --> 00:01:41.510 align:start position:0%
based on the value we put into the M
channel<00:01:39.439><c> layout</c><00:01:39.680><c> tag,</c><00:01:40.240><c> but</c><00:01:40.400><c> the</c><00:01:40.640><c> float</c><00:01:40.960><c> vector</c>

00:01:41.510 --> 00:01:41.520 align:start position:0%
channel layout tag, but the float vector
 

00:01:41.520 --> 00:01:43.510 align:start position:0%
channel layout tag, but the float vector
will<00:01:41.759><c> be</c><00:01:42.000><c> sized</c><00:01:42.400><c> based</c><00:01:42.720><c> on</c><00:01:42.880><c> the</c><00:01:43.119><c> total</c>

00:01:43.510 --> 00:01:43.520 align:start position:0%
will be sized based on the total
 

00:01:43.520 --> 00:01:45.270 align:start position:0%
will be sized based on the total
components<00:01:44.000><c> field.</c><00:01:44.479><c> The</c><00:01:44.640><c> patch</c><00:01:44.960><c> that</c><00:01:45.119><c> we</c>

00:01:45.270 --> 00:01:45.280 align:start position:0%
components field. The patch that we
 

00:01:45.280 --> 00:01:47.109 align:start position:0%
components field. The patch that we
looked<00:01:45.520><c> at</c><00:01:45.680><c> before</c><00:01:46.079><c> ensures</c><00:01:46.479><c> that</c><00:01:46.640><c> the</c><00:01:46.880><c> M</c>

00:01:47.109 --> 00:01:47.119 align:start position:0%
looked at before ensures that the M
 

00:01:47.119 --> 00:01:49.350 align:start position:0%
looked at before ensures that the M
remapping<00:01:47.600><c> array</c><00:01:47.920><c> is</c><00:01:48.159><c> now</c><00:01:48.399><c> also</c><00:01:48.799><c> sized</c>

00:01:49.350 --> 00:01:49.360 align:start position:0%
remapping array is now also sized
 

00:01:49.360 --> 00:01:51.590 align:start position:0%
remapping array is now also sized
according<00:01:49.759><c> to</c><00:01:49.920><c> the</c><00:01:50.079><c> total</c><00:01:50.399><c> components</c><00:01:50.880><c> field.</c>

00:01:51.590 --> 00:01:51.600 align:start position:0%
according to the total components field.
 

00:01:51.600 --> 00:01:53.910 align:start position:0%
according to the total components field.
Thus<00:01:51.920><c> keeping</c><00:01:52.240><c> these</c><00:01:52.560><c> two</c><00:01:52.799><c> arrays</c><00:01:53.280><c> in</c><00:01:53.600><c> sync</c>

00:01:53.910 --> 00:01:53.920 align:start position:0%
Thus keeping these two arrays in sync
 

00:01:53.920 --> 00:01:55.830 align:start position:0%
Thus keeping these two arrays in sync
with<00:01:54.079><c> one</c><00:01:54.320><c> another.</c><00:01:54.880><c> When</c><00:01:55.040><c> the</c><00:01:55.280><c> two</c><00:01:55.439><c> vectors</c>

00:01:55.830 --> 00:01:55.840 align:start position:0%
with one another. When the two vectors
 

00:01:55.840 --> 00:01:57.350 align:start position:0%
with one another. When the two vectors
are<00:01:56.079><c> out</c><00:01:56.240><c> of</c><00:01:56.399><c> sync</c><00:01:56.640><c> with</c><00:01:56.799><c> one</c><00:01:57.040><c> another,</c>

00:01:57.350 --> 00:01:57.360 align:start position:0%
are out of sync with one another,
 

00:01:57.360 --> 00:01:59.510 align:start position:0%
are out of sync with one another,
however,<00:01:57.920><c> we</c><00:01:58.159><c> can</c><00:01:58.320><c> achieve</c><00:01:58.640><c> an</c><00:01:58.880><c> out-of-bounds</c>

00:01:59.510 --> 00:01:59.520 align:start position:0%
however, we can achieve an out-of-bounds
 

00:01:59.520 --> 00:02:01.990 align:start position:0%
however, we can achieve an out-of-bounds
read<00:01:59.759><c> and</c><00:02:00.000><c> write</c><00:02:00.479><c> in</c><00:02:00.719><c> the</c><00:02:00.880><c> permutation</c><00:02:01.600><c> loop</c>

00:02:01.990 --> 00:02:02.000 align:start position:0%
read and write in the permutation loop
 

00:02:02.000 --> 00:02:04.789 align:start position:0%
read and write in the permutation loop
in<00:02:02.240><c> the</c><00:02:02.399><c> function</c><00:02:03.200><c> APAC</c><00:02:03.759><c> channel</c><00:02:04.079><c> remapper</c>

00:02:04.789 --> 00:02:04.799 align:start position:0%
in the function APAC channel remapper
 

00:02:04.799 --> 00:02:07.109 align:start position:0%
in the function APAC channel remapper
process<00:02:05.520><c> which</c><00:02:05.759><c> is</c><00:02:06.000><c> triggered</c><00:02:06.399><c> when</c><00:02:06.799><c> playing</c>

00:02:07.109 --> 00:02:07.119 align:start position:0%
process which is triggered when playing
 

00:02:07.119 --> 00:02:09.270 align:start position:0%
process which is triggered when playing
the<00:02:07.280><c> audio</c><00:02:07.600><c> stream.</c><00:02:08.160><c> But</c><00:02:08.399><c> what</c><00:02:08.640><c> exactly</c><00:02:09.039><c> does</c>

00:02:09.270 --> 00:02:09.280 align:start position:0%
the audio stream. But what exactly does
 

00:02:09.280 --> 00:02:11.270 align:start position:0%
the audio stream. But what exactly does
this<00:02:09.440><c> function</c><00:02:09.840><c> do?</c><00:02:10.319><c> Well,</c><00:02:10.560><c> it</c><00:02:10.800><c> is</c><00:02:10.959><c> what</c><00:02:11.120><c> is</c>

00:02:11.270 --> 00:02:11.280 align:start position:0%
this function do? Well, it is what is
 

00:02:11.280 --> 00:02:13.030 align:start position:0%
this function do? Well, it is what is
actually<00:02:11.599><c> responsible</c><00:02:12.080><c> for</c><00:02:12.319><c> performing</c><00:02:12.720><c> the</c>

00:02:13.030 --> 00:02:13.040 align:start position:0%
actually responsible for performing the
 

00:02:13.040 --> 00:02:15.510 align:start position:0%
actually responsible for performing the
actual<00:02:13.440><c> channel</c><00:02:13.760><c> remapping.</c><00:02:14.720><c> Now,</c><00:02:14.959><c> if</c><00:02:15.280><c> like</c>

00:02:15.510 --> 00:02:15.520 align:start position:0%
actual channel remapping. Now, if like
 

00:02:15.520 --> 00:02:17.430 align:start position:0%
actual channel remapping. Now, if like
me,<00:02:15.760><c> you're</c><00:02:16.080><c> not</c><00:02:16.239><c> super</c><00:02:16.480><c> familiar</c><00:02:16.879><c> with</c><00:02:17.200><c> the</c>

00:02:17.430 --> 00:02:17.440 align:start position:0%
me, you're not super familiar with the
 

00:02:17.440 --> 00:02:20.309 align:start position:0%
me, you're not super familiar with the
technicalities<00:02:18.239><c> of</c><00:02:18.800><c> audio</c><00:02:19.200><c> codec</c><00:02:19.599><c> handling.</c>

00:02:20.309 --> 00:02:20.319 align:start position:0%
technicalities of audio codec handling.
 

00:02:20.319 --> 00:02:22.949 align:start position:0%
technicalities of audio codec handling.
In<00:02:20.560><c> summary,</c><00:02:21.200><c> channel</c><00:02:21.599><c> remapping</c><00:02:22.480><c> refers</c><00:02:22.800><c> to</c>

00:02:22.949 --> 00:02:22.959 align:start position:0%
In summary, channel remapping refers to
 

00:02:22.959 --> 00:02:25.030 align:start position:0%
In summary, channel remapping refers to
the<00:02:23.200><c> reordering</c><00:02:23.760><c> of</c><00:02:23.920><c> audio</c><00:02:24.319><c> channels</c><00:02:24.720><c> from</c>

00:02:25.030 --> 00:02:25.040 align:start position:0%
the reordering of audio channels from
 

00:02:25.040 --> 00:02:26.949 align:start position:0%
the reordering of audio channels from
their<00:02:25.280><c> original</c><00:02:25.680><c> positions</c><00:02:26.160><c> in</c><00:02:26.400><c> a</c><00:02:26.640><c> source</c>

00:02:26.949 --> 00:02:26.959 align:start position:0%
their original positions in a source
 

00:02:26.959 --> 00:02:29.750 align:start position:0%
their original positions in a source
stream<00:02:27.680><c> to</c><00:02:28.000><c> match</c><00:02:28.319><c> the</c><00:02:28.640><c> speaker</c><00:02:29.120><c> layout</c><00:02:29.360><c> on</c><00:02:29.520><c> a</c>

00:02:29.750 --> 00:02:29.760 align:start position:0%
stream to match the speaker layout on a
 

00:02:29.760 --> 00:02:31.830 align:start position:0%
stream to match the speaker layout on a
playback<00:02:30.160><c> system.</c><00:02:30.800><c> So</c><00:02:30.959><c> if</c><00:02:31.200><c> channels</c><00:02:31.599><c> are</c>

00:02:31.830 --> 00:02:31.840 align:start position:0%
playback system. So if channels are
 

00:02:31.840 --> 00:02:33.670 align:start position:0%
playback system. So if channels are
stored<00:02:32.080><c> in</c><00:02:32.319><c> the</c><00:02:32.480><c> media</c><00:02:32.800><c> file</c><00:02:33.040><c> in</c><00:02:33.200><c> a</c><00:02:33.360><c> specific</c>

00:02:33.670 --> 00:02:33.680 align:start position:0%
stored in the media file in a specific
 

00:02:33.680 --> 00:02:36.070 align:start position:0%
stored in the media file in a specific
order<00:02:34.319><c> but</c><00:02:34.560><c> the</c><00:02:34.720><c> playback</c><00:02:35.200><c> system</c><00:02:35.680><c> expects</c>

00:02:36.070 --> 00:02:36.080 align:start position:0%
order but the playback system expects
 

00:02:36.080 --> 00:02:38.710 align:start position:0%
order but the playback system expects
them<00:02:36.319><c> to</c><00:02:36.480><c> be</c><00:02:36.640><c> in</c><00:02:36.879><c> another</c><00:02:37.840><c> then</c><00:02:38.080><c> the</c><00:02:38.319><c> job</c><00:02:38.560><c> of</c>

00:02:38.710 --> 00:02:38.720 align:start position:0%
them to be in another then the job of
 

00:02:38.720 --> 00:02:41.270 align:start position:0%
them to be in another then the job of
the<00:02:38.959><c> channel</c><00:02:39.360><c> remapper</c><00:02:40.080><c> is</c><00:02:40.319><c> to</c><00:02:40.560><c> perform</c><00:02:40.959><c> this</c>

00:02:41.270 --> 00:02:41.280 align:start position:0%
the channel remapper is to perform this
 

00:02:41.280 --> 00:02:44.309 align:start position:0%
the channel remapper is to perform this
reordering<00:02:41.920><c> process.</c><00:02:42.720><c> And</c><00:02:42.879><c> for</c><00:02:43.120><c> the</c><00:02:43.280><c> APAC</c><00:02:43.760><c> HOA</c>

00:02:44.309 --> 00:02:44.319 align:start position:0%
reordering process. And for the APAC HOA
 

00:02:44.319 --> 00:02:47.190 align:start position:0%
reordering process. And for the APAC HOA
decoder<00:02:44.800><c> on</c><00:02:44.959><c> iOS</c><00:02:45.920><c> this</c><00:02:46.080><c> reordering</c><00:02:46.800><c> process</c>

00:02:47.190 --> 00:02:47.200 align:start position:0%
decoder on iOS this reordering process
 

00:02:47.200 --> 00:02:49.910 align:start position:0%
decoder on iOS this reordering process
is<00:02:47.440><c> handled</c><00:02:47.840><c> by</c><00:02:48.080><c> this</c><00:02:48.319><c> function.</c><00:02:49.120><c> Its</c><00:02:49.440><c> job</c><00:02:49.680><c> is</c>

00:02:49.910 --> 00:02:49.920 align:start position:0%
is handled by this function. Its job is
 

00:02:49.920 --> 00:02:52.550 align:start position:0%
is handled by this function. Its job is
to<00:02:50.160><c> reorder</c><00:02:50.560><c> the</c><00:02:50.800><c> values</c><00:02:51.440><c> in</c><00:02:51.680><c> an</c><00:02:51.920><c> array</c><00:02:52.319><c> of</c>

00:02:52.550 --> 00:02:52.560 align:start position:0%
to reorder the values in an array of
 

00:02:52.560 --> 00:02:55.350 align:start position:0%
to reorder the values in an array of
float<00:02:53.040><c> pointers</c><00:02:53.920><c> according</c><00:02:54.400><c> to</c><00:02:54.480><c> the</c><00:02:54.720><c> indexes</c>

00:02:55.350 --> 00:02:55.360 align:start position:0%
float pointers according to the indexes
 

00:02:55.360 --> 00:02:57.750 align:start position:0%
float pointers according to the indexes
provided<00:02:55.760><c> in</c><00:02:56.000><c> the</c><00:02:56.239><c> m</c><00:02:56.480><c> remapping</c><00:02:57.040><c> array.</c><00:02:57.519><c> It</c>

00:02:57.750 --> 00:02:57.760 align:start position:0%
provided in the m remapping array. It
 

00:02:57.760 --> 00:02:59.830 align:start position:0%
provided in the m remapping array. It
takes<00:02:58.000><c> just</c><00:02:58.239><c> two</c><00:02:58.400><c> arguments.</c><00:02:58.959><c> the</c><00:02:59.200><c> implicit</c>

00:02:59.830 --> 00:02:59.840 align:start position:0%
takes just two arguments. the implicit
 

00:02:59.840 --> 00:03:02.550 align:start position:0%
takes just two arguments. the implicit
this<00:03:00.160><c> object</c><00:03:01.040><c> which</c><00:03:01.280><c> is</c><00:03:01.440><c> of</c><00:03:01.680><c> type</c><00:03:02.080><c> APAC</c>

00:03:02.550 --> 00:03:02.560 align:start position:0%
this object which is of type APAC
 

00:03:02.560 --> 00:03:05.190 align:start position:0%
this object which is of type APAC
channel<00:03:02.879><c> remapper</c><00:03:03.760><c> and</c><00:03:04.000><c> the</c><00:03:04.239><c> float</c><00:03:04.560><c> vector</c><00:03:04.959><c> to</c>

00:03:05.190 --> 00:03:05.200 align:start position:0%
channel remapper and the float vector to
 

00:03:05.200 --> 00:03:07.670 align:start position:0%
channel remapper and the float vector to
be<00:03:05.360><c> reordered.</c><00:03:06.480><c> The</c><00:03:06.720><c> first</c><00:03:06.959><c> member</c><00:03:07.280><c> in</c><00:03:07.440><c> the</c>

00:03:07.670 --> 00:03:07.680 align:start position:0%
be reordered. The first member in the
 

00:03:07.680 --> 00:03:10.149 align:start position:0%
be reordered. The first member in the
channel<00:03:07.920><c> remapper</c><00:03:08.480><c> object</c><00:03:09.040><c> is</c><00:03:09.280><c> the</c><00:03:09.440><c> mapping</c>

00:03:10.149 --> 00:03:10.159 align:start position:0%
channel remapper object is the mapping
 

00:03:10.159 --> 00:03:12.710 align:start position:0%
channel remapper object is the mapping
array<00:03:10.480><c> from</c><00:03:10.720><c> before.</c><00:03:11.599><c> We</c><00:03:11.840><c> can</c><00:03:12.000><c> see</c><00:03:12.080><c> the</c><00:03:12.400><c> start</c>

00:03:12.710 --> 00:03:12.720 align:start position:0%
array from before. We can see the start
 

00:03:12.720 --> 00:03:14.790 align:start position:0%
array from before. We can see the start
pointer<00:03:13.120><c> and</c><00:03:13.360><c> the</c><00:03:13.519><c> end</c><00:03:13.760><c> pointer</c><00:03:14.400><c> of</c><00:03:14.640><c> the</c>

00:03:14.790 --> 00:03:14.800 align:start position:0%
pointer and the end pointer of the
 

00:03:14.800 --> 00:03:16.710 align:start position:0%
pointer and the end pointer of the
array.<00:03:15.440><c> The</c><00:03:15.680><c> difference</c><00:03:16.000><c> between</c><00:03:16.239><c> these</c><00:03:16.480><c> two</c>

00:03:16.710 --> 00:03:16.720 align:start position:0%
array. The difference between these two
 

00:03:16.720 --> 00:03:19.190 align:start position:0%
array. The difference between these two
in<00:03:16.879><c> this</c><00:03:17.040><c> case</c><00:03:17.360><c> is</c><00:03:17.760><c> five</c><00:03:18.480><c> which</c><00:03:18.640><c> is</c><00:03:18.800><c> the</c><00:03:18.959><c> amount</c>

00:03:19.190 --> 00:03:19.200 align:start position:0%
in this case is five which is the amount
 

00:03:19.200 --> 00:03:21.430 align:start position:0%
in this case is five which is the amount
of<00:03:19.360><c> elements</c><00:03:19.920><c> I</c><00:03:20.080><c> pushed</c><00:03:20.400><c> into</c><00:03:20.640><c> the</c><00:03:20.879><c> array</c><00:03:21.200><c> in</c>

00:03:21.430 --> 00:03:21.440 align:start position:0%
of elements I pushed into the array in
 

00:03:21.440 --> 00:03:24.470 align:start position:0%
of elements I pushed into the array in
our<00:03:21.680><c> fake</c><00:03:21.920><c> decoder.</c><00:03:23.280><c> The</c><00:03:23.519><c> float</c><00:03:23.840><c> vector</c><00:03:24.239><c> is</c>

00:03:24.470 --> 00:03:24.480 align:start position:0%
our fake decoder. The float vector is
 

00:03:24.480 --> 00:03:26.790 align:start position:0%
our fake decoder. The float vector is
passed<00:03:24.959><c> directly</c><00:03:25.519><c> as</c><00:03:25.760><c> the</c><00:03:26.000><c> second</c><00:03:26.239><c> argument</c>

00:03:26.790 --> 00:03:26.800 align:start position:0%
passed directly as the second argument
 

00:03:26.800 --> 00:03:28.790 align:start position:0%
passed directly as the second argument
rather<00:03:27.120><c> than</c><00:03:27.280><c> inside</c><00:03:27.680><c> another</c><00:03:28.000><c> object.</c><00:03:28.560><c> We</c>

00:03:28.790 --> 00:03:28.800 align:start position:0%
rather than inside another object. We
 

00:03:28.800 --> 00:03:30.710 align:start position:0%
rather than inside another object. We
can<00:03:28.879><c> again</c><00:03:29.280><c> find</c><00:03:29.599><c> the</c><00:03:29.920><c> start</c><00:03:30.159><c> and</c><00:03:30.480><c> end</c>

00:03:30.710 --> 00:03:30.720 align:start position:0%
can again find the start and end
 

00:03:30.720 --> 00:03:32.949 align:start position:0%
can again find the start and end
pointers<00:03:31.280><c> for</c><00:03:31.440><c> the</c><00:03:31.599><c> float</c><00:03:31.920><c> vector</c><00:03:32.640><c> and</c>

00:03:32.949 --> 00:03:32.959 align:start position:0%
pointers for the float vector and
 

00:03:32.959 --> 00:03:35.030 align:start position:0%
pointers for the float vector and
compare<00:03:33.280><c> them</c><00:03:33.519><c> to</c><00:03:33.760><c> see</c><00:03:33.920><c> the</c><00:03:34.239><c> length</c><00:03:34.480><c> of</c><00:03:34.720><c> this</c>

00:03:35.030 --> 00:03:35.040 align:start position:0%
compare them to see the length of this
 

00:03:35.040 --> 00:03:37.589 align:start position:0%
compare them to see the length of this
array.<00:03:35.840><c> Since</c><00:03:36.080><c> the</c><00:03:36.319><c> float</c><00:03:36.640><c> vector</c><00:03:37.120><c> is</c><00:03:37.360><c> an</c>

00:03:37.589 --> 00:03:37.599 align:start position:0%
array. Since the float vector is an
 

00:03:37.599 --> 00:03:39.750 align:start position:0%
array. Since the float vector is an
array<00:03:37.920><c> of</c><00:03:38.159><c> pointers,</c><00:03:38.799><c> the</c><00:03:39.040><c> length</c><00:03:39.360><c> increases</c>

00:03:39.750 --> 00:03:39.760 align:start position:0%
array of pointers, the length increases
 

00:03:39.760 --> 00:03:42.869 align:start position:0%
array of pointers, the length increases
in<00:03:40.080><c> multiples</c><00:03:40.560><c> of</c><00:03:40.879><c> 8.</c><00:03:41.599><c> Unlike</c><00:03:41.920><c> the</c><00:03:42.159><c> mapping</c>

00:03:42.869 --> 00:03:42.879 align:start position:0%
in multiples of 8. Unlike the mapping
 

00:03:42.879 --> 00:03:44.470 align:start position:0%
in multiples of 8. Unlike the mapping
array<00:03:43.200><c> which</c><00:03:43.440><c> consists</c><00:03:43.840><c> of</c><00:03:44.000><c> individual</c>

00:03:44.470 --> 00:03:44.480 align:start position:0%
array which consists of individual
 

00:03:44.480 --> 00:03:46.470 align:start position:0%
array which consists of individual
bytes.<00:03:45.120><c> So</c><00:03:45.280><c> to</c><00:03:45.519><c> calculate</c><00:03:45.840><c> the</c><00:03:46.000><c> length</c><00:03:46.239><c> here,</c>

00:03:46.470 --> 00:03:46.480 align:start position:0%
bytes. So to calculate the length here,
 

00:03:46.480 --> 00:03:48.070 align:start position:0%
bytes. So to calculate the length here,
we<00:03:46.720><c> work</c><00:03:46.959><c> out</c><00:03:47.120><c> the</c><00:03:47.360><c> difference</c><00:03:47.599><c> and</c><00:03:47.840><c> then</c>

00:03:48.070 --> 00:03:48.080 align:start position:0%
we work out the difference and then
 

00:03:48.080 --> 00:03:51.350 align:start position:0%
we work out the difference and then
divide<00:03:48.400><c> by</c><00:03:48.640><c> 8</c><00:03:49.200><c> giving</c><00:03:49.519><c> us</c><00:03:49.920><c> four</c><00:03:50.319><c> in</c><00:03:50.480><c> this</c><00:03:50.720><c> case.</c>

00:03:51.350 --> 00:03:51.360 align:start position:0%
divide by 8 giving us four in this case.
 

00:03:51.360 --> 00:03:53.830 align:start position:0%
divide by 8 giving us four in this case.
Now<00:03:51.599><c> in</c><00:03:51.840><c> this</c><00:03:52.080><c> current</c><00:03:52.319><c> situation</c><00:03:53.120><c> we</c><00:03:53.360><c> have</c><00:03:53.519><c> an</c>

00:03:53.830 --> 00:03:53.840 align:start position:0%
Now in this current situation we have an
 

00:03:53.840 --> 00:03:57.429 align:start position:0%
Now in this current situation we have an
M<00:03:54.080><c> remapping</c><00:03:54.640><c> array</c><00:03:55.200><c> with</c><00:03:55.519><c> length</c><00:03:56.159><c> five</c><00:03:57.040><c> and</c><00:03:57.280><c> a</c>

00:03:57.429 --> 00:03:57.439 align:start position:0%
M remapping array with length five and a
 

00:03:57.439 --> 00:04:00.630 align:start position:0%
M remapping array with length five and a
float<00:03:57.840><c> vector</c><00:03:58.720><c> with</c><00:03:58.959><c> length</c><00:03:59.439><c> four.</c><00:04:00.239><c> This</c><00:04:00.480><c> is</c>

00:04:00.630 --> 00:04:00.640 align:start position:0%
float vector with length four. This is
 

00:04:00.640 --> 00:04:03.030 align:start position:0%
float vector with length four. This is
the<00:04:00.879><c> mismatched</c><00:04:01.599><c> state</c><00:04:02.000><c> which</c><00:04:02.239><c> we've</c><00:04:02.560><c> created</c>

00:04:03.030 --> 00:04:03.040 align:start position:0%
the mismatched state which we've created
 

00:04:03.040 --> 00:04:04.949 align:start position:0%
the mismatched state which we've created
due<00:04:03.200><c> to</c><00:04:03.360><c> the</c><00:04:03.519><c> bug.</c><00:04:04.080><c> Tweaking</c><00:04:04.400><c> the</c><00:04:04.560><c> values</c><00:04:04.799><c> that</c>

00:04:04.949 --> 00:04:04.959 align:start position:0%
due to the bug. Tweaking the values that
 

00:04:04.959 --> 00:04:07.350 align:start position:0%
due to the bug. Tweaking the values that
we<00:04:05.200><c> supply</c><00:04:05.519><c> in</c><00:04:05.760><c> the</c><00:04:05.920><c> initial</c><00:04:06.400><c> audio</c><00:04:06.879><c> channel</c>

00:04:07.350 --> 00:04:07.360 align:start position:0%
we supply in the initial audio channel
 

00:04:07.360 --> 00:04:09.350 align:start position:0%
we supply in the initial audio channel
layout<00:04:07.599><c> setup</c><00:04:08.000><c> can</c><00:04:08.400><c> adjust</c><00:04:08.799><c> the</c><00:04:09.040><c> difference</c>

00:04:09.350 --> 00:04:09.360 align:start position:0%
layout setup can adjust the difference
 

00:04:09.360 --> 00:04:11.509 align:start position:0%
layout setup can adjust the difference
between<00:04:09.599><c> these</c><00:04:09.840><c> two</c><00:04:10.000><c> vectors.</c><00:04:10.879><c> But</c><00:04:11.040><c> for</c><00:04:11.200><c> now</c>

00:04:11.509 --> 00:04:11.519 align:start position:0%
between these two vectors. But for now
 

00:04:11.519 --> 00:04:13.190 align:start position:0%
between these two vectors. But for now
all<00:04:11.680><c> that's</c><00:04:11.920><c> important</c><00:04:12.159><c> to</c><00:04:12.319><c> know</c><00:04:12.640><c> is</c><00:04:12.799><c> that</c><00:04:12.959><c> we</c>

00:04:13.190 --> 00:04:13.200 align:start position:0%
all that's important to know is that we
 

00:04:13.200 --> 00:04:14.949 align:start position:0%
all that's important to know is that we
can<00:04:13.360><c> have</c><00:04:13.519><c> the</c><00:04:13.760><c> length</c><00:04:14.080><c> of</c><00:04:14.319><c> each</c><00:04:14.560><c> of</c><00:04:14.720><c> these</c>

00:04:14.949 --> 00:04:14.959 align:start position:0%
can have the length of each of these
 

00:04:14.959 --> 00:04:17.590 align:start position:0%
can have the length of each of these
arrays<00:04:15.680><c> out</c><00:04:15.920><c> of</c><00:04:16.160><c> sync</c><00:04:16.400><c> with</c><00:04:16.639><c> one</c><00:04:16.880><c> another,</c>

00:04:17.590 --> 00:04:17.600 align:start position:0%
arrays out of sync with one another,
 

00:04:17.600 --> 00:04:19.270 align:start position:0%
arrays out of sync with one another,
which<00:04:17.840><c> should</c><00:04:18.079><c> definitely</c><00:04:18.400><c> not</c><00:04:18.639><c> occur</c><00:04:19.120><c> as</c>

00:04:19.270 --> 00:04:19.280 align:start position:0%
which should definitely not occur as
 

00:04:19.280 --> 00:04:21.590 align:start position:0%
which should definitely not occur as
we'll<00:04:19.600><c> see</c><00:04:19.840><c> next.</c><00:04:20.400><c> Now</c><00:04:20.639><c> since</c><00:04:20.880><c> the</c><00:04:21.040><c> remapping</c>

00:04:21.590 --> 00:04:21.600 align:start position:0%
we'll see next. Now since the remapping
 

00:04:21.600 --> 00:04:23.749 align:start position:0%
we'll see next. Now since the remapping
array<00:04:21.919><c> is</c><00:04:22.160><c> larger</c><00:04:22.560><c> in</c><00:04:22.800><c> length</c><00:04:23.120><c> than</c><00:04:23.280><c> the</c><00:04:23.440><c> float</c>

00:04:23.749 --> 00:04:23.759 align:start position:0%
array is larger in length than the float
 

00:04:23.759 --> 00:04:26.390 align:start position:0%
array is larger in length than the float
array<00:04:24.560><c> and</c><00:04:25.040><c> each</c><00:04:25.360><c> element</c><00:04:25.759><c> within</c><00:04:26.160><c> the</c>

00:04:26.390 --> 00:04:26.400 align:start position:0%
array and each element within the
 

00:04:26.400 --> 00:04:28.870 align:start position:0%
array and each element within the
remapping<00:04:26.880><c> array</c><00:04:27.440><c> can</c><00:04:27.759><c> be</c><00:04:27.919><c> larger</c><00:04:28.400><c> than</c><00:04:28.720><c> the</c>

00:04:28.870 --> 00:04:28.880 align:start position:0%
remapping array can be larger than the
 

00:04:28.880 --> 00:04:31.430 align:start position:0%
remapping array can be larger than the
float<00:04:29.199><c> array</c><00:04:29.440><c> length.</c><00:04:30.160><c> We</c><00:04:30.400><c> can</c><00:04:30.560><c> use</c><00:04:30.800><c> this</c><00:04:31.040><c> swap</c>

00:04:31.430 --> 00:04:31.440 align:start position:0%
float array length. We can use this swap
 

00:04:31.440 --> 00:04:33.590 align:start position:0%
float array length. We can use this swap
functionality<00:04:32.320><c> to</c><00:04:32.639><c> perform</c><00:04:33.120><c> multiple</c>

00:04:33.590 --> 00:04:33.600 align:start position:0%
functionality to perform multiple
 

00:04:33.600 --> 00:04:35.909 align:start position:0%
functionality to perform multiple
out-of-bound<00:04:34.240><c> read</c><00:04:34.479><c> and</c><00:04:34.639><c> write</c><00:04:34.880><c> operations.</c>

00:04:35.909 --> 00:04:35.919 align:start position:0%
out-of-bound read and write operations.
 

00:04:35.919 --> 00:04:38.230 align:start position:0%
out-of-bound read and write operations.
The<00:04:36.240><c> code</c><00:04:36.479><c> does</c><00:04:36.720><c> the</c><00:04:36.880><c> following</c><00:04:37.280><c> in</c><00:04:37.520><c> a</c><00:04:37.759><c> loop.</c>

00:04:38.230 --> 00:04:38.240 align:start position:0%
The code does the following in a loop.
 

00:04:38.240 --> 00:04:40.710 align:start position:0%
The code does the following in a loop.
We<00:04:38.400><c> read</c><00:04:38.639><c> a</c><00:04:38.880><c> value</c><00:04:39.040><c> from</c><00:04:39.280><c> the</c><00:04:39.520><c> remapping</c><00:04:40.080><c> array</c>

00:04:40.710 --> 00:04:40.720 align:start position:0%
We read a value from the remapping array
 

00:04:40.720 --> 00:04:43.510 align:start position:0%
We read a value from the remapping array
and<00:04:40.960><c> we</c><00:04:41.199><c> treat</c><00:04:41.440><c> this</c><00:04:41.759><c> as</c><00:04:42.000><c> an</c><00:04:42.240><c> index.</c><00:04:42.960><c> The</c><00:04:43.199><c> value</c>

00:04:43.510 --> 00:04:43.520 align:start position:0%
and we treat this as an index. The value
 

00:04:43.520 --> 00:04:46.230 align:start position:0%
and we treat this as an index. The value
at<00:04:43.840><c> that</c><00:04:44.080><c> index</c><00:04:44.560><c> in</c><00:04:44.720><c> the</c><00:04:44.880><c> float</c><00:04:45.199><c> array</c><00:04:45.680><c> is</c><00:04:45.919><c> read</c>

00:04:46.230 --> 00:04:46.240 align:start position:0%
at that index in the float array is read
 

00:04:46.240 --> 00:04:48.310 align:start position:0%
at that index in the float array is read
from<00:04:46.720><c> which</c><00:04:47.040><c> depending</c><00:04:47.440><c> on</c><00:04:47.520><c> the</c><00:04:47.680><c> value</c><00:04:48.080><c> can</c>

00:04:48.310 --> 00:04:48.320 align:start position:0%
from which depending on the value can
 

00:04:48.320 --> 00:04:50.550 align:start position:0%
from which depending on the value can
easily<00:04:48.720><c> be</c><00:04:48.960><c> out</c><00:04:49.120><c> of</c><00:04:49.280><c> bounds.</c><00:04:49.840><c> The</c><00:04:50.080><c> value</c><00:04:50.320><c> at</c>

00:04:50.550 --> 00:04:50.560 align:start position:0%
easily be out of bounds. The value at
 

00:04:50.560 --> 00:04:52.870 align:start position:0%
easily be out of bounds. The value at
the<00:04:50.800><c> current</c><00:04:51.120><c> position</c><00:04:51.600><c> in</c><00:04:51.840><c> the</c><00:04:51.919><c> float</c><00:04:52.240><c> array</c>

00:04:52.870 --> 00:04:52.880 align:start position:0%
the current position in the float array
 

00:04:52.880 --> 00:04:55.189 align:start position:0%
the current position in the float array
is<00:04:53.199><c> then</c><00:04:53.440><c> written</c><00:04:54.080><c> also</c><00:04:54.400><c> possibly</c><00:04:54.880><c> out</c><00:04:55.040><c> of</c>

00:04:55.189 --> 00:04:55.199 align:start position:0%
is then written also possibly out of
 

00:04:55.199 --> 00:04:57.749 align:start position:0%
is then written also possibly out of
bounds<00:04:55.759><c> to</c><00:04:56.080><c> the</c><00:04:56.320><c> float</c><00:04:56.639><c> array</c><00:04:56.960><c> at</c><00:04:57.199><c> the</c><00:04:57.440><c> index</c>

00:04:57.749 --> 00:04:57.759 align:start position:0%
bounds to the float array at the index
 

00:04:57.759 --> 00:05:00.070 align:start position:0%
bounds to the float array at the index
that<00:04:58.000><c> we</c><00:04:58.160><c> previously</c><00:04:58.639><c> read.</c><00:04:59.520><c> At</c><00:04:59.680><c> this</c><00:04:59.919><c> point,</c>

00:05:00.070 --> 00:05:00.080 align:start position:0%
that we previously read. At this point,
 

00:05:00.080 --> 00:05:02.150 align:start position:0%
that we previously read. At this point,
the<00:05:00.320><c> swap</c><00:05:00.720><c> is</c><00:05:01.040><c> complete</c><00:05:01.440><c> and</c><00:05:01.680><c> the</c><00:05:01.919><c> next</c>

00:05:02.150 --> 00:05:02.160 align:start position:0%
the swap is complete and the next
 

00:05:02.160 --> 00:05:04.550 align:start position:0%
the swap is complete and the next
iteration<00:05:02.720><c> begins.</c><00:05:03.440><c> So</c><00:05:03.680><c> you</c><00:05:03.840><c> may</c><00:05:04.000><c> notice</c><00:05:04.320><c> that</c>

00:05:04.550 --> 00:05:04.560 align:start position:0%
iteration begins. So you may notice that
 

00:05:04.560 --> 00:05:07.189 align:start position:0%
iteration begins. So you may notice that
this<00:05:04.800><c> readr</c><00:05:05.440><c> primitive</c><00:05:06.080><c> is</c><00:05:06.400><c> a</c><00:05:06.639><c> fairly</c><00:05:06.880><c> unique</c>

00:05:07.189 --> 00:05:07.199 align:start position:0%
this readr primitive is a fairly unique
 

00:05:07.199 --> 00:05:09.749 align:start position:0%
this readr primitive is a fairly unique
one<00:05:07.680><c> in</c><00:05:07.919><c> that</c><00:05:08.160><c> we</c><00:05:08.400><c> can</c><00:05:08.560><c> only</c><00:05:08.800><c> ever</c><00:05:09.199><c> perform</c><00:05:09.520><c> a</c>

00:05:09.749 --> 00:05:09.759 align:start position:0%
one in that we can only ever perform a
 

00:05:09.759 --> 00:05:12.790 align:start position:0%
one in that we can only ever perform a
read<00:05:10.240><c> when</c><00:05:10.560><c> we</c><00:05:10.800><c> also</c><00:05:11.120><c> perform</c><00:05:11.520><c> a</c><00:05:11.840><c> write.</c><00:05:12.560><c> The</c>

00:05:12.790 --> 00:05:12.800 align:start position:0%
read when we also perform a write. The
 

00:05:12.800 --> 00:05:14.870 align:start position:0%
read when we also perform a write. The
two<00:05:13.039><c> are</c><00:05:13.280><c> always</c><00:05:13.520><c> paired</c><00:05:13.919><c> together</c><00:05:14.479><c> due</c><00:05:14.720><c> to</c>

00:05:14.870 --> 00:05:14.880 align:start position:0%
two are always paired together due to
 

00:05:14.880 --> 00:05:17.510 align:start position:0%
two are always paired together due to
the<00:05:15.039><c> logic</c><00:05:15.360><c> in</c><00:05:15.680><c> this</c><00:05:15.919><c> remapper</c><00:05:16.560><c> function.</c><00:05:17.280><c> So</c>

00:05:17.510 --> 00:05:17.520 align:start position:0%
the logic in this remapper function. So
 

00:05:17.520 --> 00:05:19.270 align:start position:0%
the logic in this remapper function. So
what<00:05:17.759><c> about</c><00:05:17.919><c> the</c><00:05:18.080><c> crash</c><00:05:18.320><c> that</c><00:05:18.560><c> we</c><00:05:18.720><c> saw</c><00:05:18.960><c> in</c><00:05:19.120><c> the</c>

00:05:19.270 --> 00:05:19.280 align:start position:0%
what about the crash that we saw in the
 

00:05:19.280 --> 00:05:21.189 align:start position:0%
what about the crash that we saw in the
previous<00:05:19.600><c> video</c><00:05:20.000><c> in</c><00:05:20.320><c> a</c><00:05:20.479><c> different</c><00:05:20.720><c> function</c>

00:05:21.189 --> 00:05:21.199 align:start position:0%
previous video in a different function
 

00:05:21.199 --> 00:05:23.350 align:start position:0%
previous video in a different function
decode<00:05:21.680><c> ape</c><00:05:22.160><c> frame?</c><00:05:22.720><c> Well,</c><00:05:22.960><c> it</c><00:05:23.120><c> turns</c><00:05:23.280><c> out</c>

00:05:23.350 --> 00:05:23.360 align:start position:0%
decode ape frame? Well, it turns out
 

00:05:23.360 --> 00:05:25.670 align:start position:0%
decode ape frame? Well, it turns out
that<00:05:23.600><c> the</c><00:05:23.759><c> crash</c><00:05:24.080><c> here</c><00:05:24.639><c> was</c><00:05:24.880><c> caused</c><00:05:25.280><c> due</c><00:05:25.520><c> to</c>

00:05:25.670 --> 00:05:25.680 align:start position:0%
that the crash here was caused due to
 

00:05:25.680 --> 00:05:28.070 align:start position:0%
that the crash here was caused due to
the<00:05:25.919><c> corruption</c><00:05:26.479><c> of</c><00:05:26.720><c> the</c><00:05:26.960><c> float</c><00:05:27.280><c> pointers</c><00:05:27.840><c> in</c>

00:05:28.070 --> 00:05:28.080 align:start position:0%
the corruption of the float pointers in
 

00:05:28.080 --> 00:05:30.950 align:start position:0%
the corruption of the float pointers in
the<00:05:28.320><c> vector.</c><00:05:29.280><c> In</c><00:05:29.520><c> situations</c><00:05:30.160><c> where</c><00:05:30.400><c> a</c><00:05:30.639><c> float</c>

00:05:30.950 --> 00:05:30.960 align:start position:0%
the vector. In situations where a float
 

00:05:30.960 --> 00:05:33.270 align:start position:0%
the vector. In situations where a float
pointer<00:05:31.360><c> is</c><00:05:31.680><c> swapped</c><00:05:32.080><c> with</c><00:05:32.400><c> an</c><00:05:32.639><c> out-of-bounds</c>

00:05:33.270 --> 00:05:33.280 align:start position:0%
pointer is swapped with an out-of-bounds
 

00:05:33.280 --> 00:05:36.230 align:start position:0%
pointer is swapped with an out-of-bounds
null<00:05:33.600><c> value,</c><00:05:34.320><c> we</c><00:05:34.560><c> crash</c><00:05:34.960><c> on</c><00:05:35.120><c> a</c><00:05:35.360><c> null</c><00:05:35.840><c> reference</c>

00:05:36.230 --> 00:05:36.240 align:start position:0%
null value, we crash on a null reference
 

00:05:36.240 --> 00:05:38.870 align:start position:0%
null value, we crash on a null reference
when<00:05:36.560><c> decoding</c><00:05:37.039><c> an</c><00:05:37.120><c> ape</c><00:05:37.600><c> frame.</c><00:05:38.400><c> In</c><00:05:38.639><c> other</c>

00:05:38.870 --> 00:05:38.880 align:start position:0%
when decoding an ape frame. In other
 

00:05:38.880 --> 00:05:41.350 align:start position:0%
when decoding an ape frame. In other
cases,<00:05:39.440><c> we</c><00:05:39.680><c> crash</c><00:05:40.000><c> on</c><00:05:40.320><c> whatever</c><00:05:40.800><c> invalid</c>

00:05:41.350 --> 00:05:41.360 align:start position:0%
cases, we crash on whatever invalid
 

00:05:41.360 --> 00:05:43.270 align:start position:0%
cases, we crash on whatever invalid
memory<00:05:41.680><c> address</c><00:05:42.240><c> was</c><00:05:42.479><c> swapped</c><00:05:42.800><c> into</c><00:05:43.039><c> its</c>

00:05:43.270 --> 00:05:43.280 align:start position:0%
memory address was swapped into its
 

00:05:43.280 --> 00:05:45.270 align:start position:0%
memory address was swapped into its
place.<00:05:43.840><c> This</c><00:05:44.000><c> is</c><00:05:44.160><c> dependent</c><00:05:44.560><c> on</c><00:05:44.720><c> the</c><00:05:45.039><c> layout</c>

00:05:45.270 --> 00:05:45.280 align:start position:0%
place. This is dependent on the layout
 

00:05:45.280 --> 00:05:47.189 align:start position:0%
place. This is dependent on the layout
of<00:05:45.440><c> the</c><00:05:45.600><c> heap</c><00:05:45.919><c> and</c><00:05:46.160><c> the</c><00:05:46.320><c> data</c><00:05:46.560><c> in</c><00:05:46.800><c> memory</c>

00:05:47.189 --> 00:05:47.199 align:start position:0%
of the heap and the data in memory
 

00:05:47.199 --> 00:05:49.189 align:start position:0%
of the heap and the data in memory
directly<00:05:47.600><c> following</c><00:05:47.919><c> the</c><00:05:48.080><c> float</c><00:05:48.320><c> vector.</c><00:05:49.039><c> And</c>

00:05:49.189 --> 00:05:49.199 align:start position:0%
directly following the float vector. And
 

00:05:49.199 --> 00:05:50.870 align:start position:0%
directly following the float vector. And
in<00:05:49.440><c> my</c><00:05:49.600><c> experience,</c><00:05:50.000><c> this</c><00:05:50.160><c> was</c><00:05:50.400><c> different</c><00:05:50.639><c> on</c>

00:05:50.870 --> 00:05:50.880 align:start position:0%
in my experience, this was different on
 

00:05:50.880 --> 00:05:53.350 align:start position:0%
in my experience, this was different on
each<00:05:51.039><c> run.</c><00:05:51.840><c> So</c><00:05:52.000><c> how</c><00:05:52.240><c> can</c><00:05:52.400><c> we</c><00:05:52.560><c> control</c><00:05:52.880><c> this</c><00:05:53.120><c> to</c>

00:05:53.350 --> 00:05:53.360 align:start position:0%
each run. So how can we control this to
 

00:05:53.360 --> 00:05:55.270 align:start position:0%
each run. So how can we control this to
some<00:05:53.600><c> degree?</c><00:05:54.080><c> We</c><00:05:54.320><c> want</c><00:05:54.479><c> at</c><00:05:54.560><c> least</c><00:05:54.960><c> some</c>

00:05:55.270 --> 00:05:55.280 align:start position:0%
some degree? We want at least some
 

00:05:55.280 --> 00:05:57.990 align:start position:0%
some degree? We want at least some
leverage<00:05:55.759><c> over</c><00:05:56.080><c> what</c><00:05:56.479><c> and</c><00:05:56.800><c> where</c><00:05:57.120><c> we</c><00:05:57.280><c> write</c><00:05:57.759><c> in</c>

00:05:57.990 --> 00:05:58.000 align:start position:0%
leverage over what and where we write in
 

00:05:58.000 --> 00:06:00.150 align:start position:0%
leverage over what and where we write in
order<00:05:58.160><c> to</c><00:05:58.400><c> turn</c><00:05:58.639><c> this</c><00:05:58.800><c> into</c><00:05:59.039><c> code</c><00:05:59.360><c> execution.</c>

00:06:00.150 --> 00:06:00.160 align:start position:0%
order to turn this into code execution.
 

00:06:00.160 --> 00:06:02.550 align:start position:0%
order to turn this into code execution.
So<00:06:00.400><c> first</c><00:06:00.560><c> of</c><00:06:00.720><c> all,</c><00:06:01.120><c> what</c><00:06:01.440><c> is</c><00:06:01.680><c> being</c><00:06:01.919><c> written?</c>

00:06:02.550 --> 00:06:02.560 align:start position:0%
So first of all, what is being written?
 

00:06:02.560 --> 00:06:04.790 align:start position:0%
So first of all, what is being written?
The<00:06:02.800><c> values</c><00:06:03.199><c> being</c><00:06:03.440><c> swapped</c><00:06:04.160><c> are</c><00:06:04.400><c> float</c>

00:06:04.790 --> 00:06:04.800 align:start position:0%
The values being swapped are float
 

00:06:04.800 --> 00:06:07.270 align:start position:0%
The values being swapped are float
pointers<00:06:05.280><c> in</c><00:06:05.520><c> the</c><00:06:05.680><c> float</c><00:06:06.000><c> vector.</c><00:06:06.800><c> Therefore,</c>

00:06:07.270 --> 00:06:07.280 align:start position:0%
pointers in the float vector. Therefore,
 

00:06:07.280 --> 00:06:09.670 align:start position:0%
pointers in the float vector. Therefore,
the<00:06:07.520><c> only</c><00:06:07.759><c> piece</c><00:06:08.000><c> of</c><00:06:08.160><c> data</c><00:06:08.560><c> we</c><00:06:08.880><c> can</c><00:06:09.039><c> write</c><00:06:09.360><c> each</c>

00:06:09.670 --> 00:06:09.680 align:start position:0%
the only piece of data we can write each
 

00:06:09.680 --> 00:06:12.950 align:start position:0%
the only piece of data we can write each
time<00:06:10.400><c> is</c><00:06:10.720><c> a</c><00:06:10.960><c> 64-bit</c><00:06:11.680><c> pointer</c><00:06:12.000><c> value</c><00:06:12.479><c> to</c><00:06:12.720><c> a</c>

00:06:12.950 --> 00:06:12.960 align:start position:0%
time is a 64-bit pointer value to a
 

00:06:12.960 --> 00:06:15.430 align:start position:0%
time is a 64-bit pointer value to a
float.<00:06:13.680><c> The</c><00:06:13.919><c> specifics</c><00:06:14.400><c> of</c><00:06:14.560><c> the</c><00:06:14.800><c> actual</c><00:06:15.039><c> float</c>

00:06:15.430 --> 00:06:15.440 align:start position:0%
float. The specifics of the actual float
 

00:06:15.440 --> 00:06:17.670 align:start position:0%
float. The specifics of the actual float
data<00:06:15.840><c> is</c><00:06:16.080><c> derived</c><00:06:16.479><c> somehow</c><00:06:16.880><c> from</c><00:06:17.120><c> the</c><00:06:17.360><c> audio</c>

00:06:17.670 --> 00:06:17.680 align:start position:0%
data is derived somehow from the audio
 

00:06:17.680 --> 00:06:19.670 align:start position:0%
data is derived somehow from the audio
data<00:06:18.160><c> in</c><00:06:18.319><c> the</c><00:06:18.560><c> file</c><00:06:18.720><c> that</c><00:06:18.880><c> we're</c><00:06:19.039><c> processing.</c>

00:06:19.670 --> 00:06:19.680 align:start position:0%
data in the file that we're processing.
 

00:06:19.680 --> 00:06:21.670 align:start position:0%
data in the file that we're processing.
So,<00:06:19.919><c> this</c><00:06:20.080><c> is</c><00:06:20.240><c> already</c><00:06:20.479><c> a</c><00:06:20.800><c> pretty</c><00:06:21.039><c> restrictive</c>

00:06:21.670 --> 00:06:21.680 align:start position:0%
So, this is already a pretty restrictive
 

00:06:21.680 --> 00:06:23.430 align:start position:0%
So, this is already a pretty restrictive
start.<00:06:22.240><c> We</c><00:06:22.479><c> can't</c><00:06:22.639><c> just</c><00:06:22.800><c> plug</c><00:06:23.039><c> in</c><00:06:23.280><c> some</c>

00:06:23.430 --> 00:06:23.440 align:start position:0%
start. We can't just plug in some
 

00:06:23.440 --> 00:06:26.550 align:start position:0%
start. We can't just plug in some
arbitrary<00:06:23.919><c> value</c><00:06:24.160><c> here</c><00:06:24.560><c> like</c><00:06:24.960><c> 414141.</c><00:06:26.240><c> We</c><00:06:26.479><c> can</c>

00:06:26.550 --> 00:06:26.560 align:start position:0%
arbitrary value here like 414141. We can
 

00:06:26.560 --> 00:06:28.550 align:start position:0%
arbitrary value here like 414141. We can
only<00:06:26.800><c> ever</c><00:06:27.039><c> write</c><00:06:27.280><c> a</c><00:06:27.440><c> pointer</c><00:06:28.000><c> and</c><00:06:28.240><c> not</c><00:06:28.400><c> only</c>

00:06:28.550 --> 00:06:28.560 align:start position:0%
only ever write a pointer and not only
 

00:06:28.560 --> 00:06:30.390 align:start position:0%
only ever write a pointer and not only
that,<00:06:28.800><c> but</c><00:06:29.039><c> a</c><00:06:29.280><c> pointer</c><00:06:29.600><c> to</c><00:06:29.840><c> something</c><00:06:30.160><c> of</c>

00:06:30.390 --> 00:06:30.400 align:start position:0%
that, but a pointer to something of
 

00:06:30.400 --> 00:06:32.790 align:start position:0%
that, but a pointer to something of
which<00:06:30.639><c> we</c><00:06:30.880><c> don't</c><00:06:31.120><c> fully</c><00:06:31.440><c> understand.</c><00:06:32.560><c> Second</c>

00:06:32.790 --> 00:06:32.800 align:start position:0%
which we don't fully understand. Second
 

00:06:32.800 --> 00:06:35.110 align:start position:0%
which we don't fully understand. Second
of<00:06:32.960><c> all,</c><00:06:33.280><c> where</c><00:06:33.520><c> are</c><00:06:33.680><c> we</c><00:06:33.840><c> writing</c><00:06:34.240><c> to?</c><00:06:34.639><c> Equally</c>

00:06:35.110 --> 00:06:35.120 align:start position:0%
of all, where are we writing to? Equally
 

00:06:35.120 --> 00:06:36.950 align:start position:0%
of all, where are we writing to? Equally
as<00:06:35.360><c> important</c><00:06:35.600><c> as</c><00:06:35.840><c> what</c><00:06:36.080><c> we</c><00:06:36.240><c> write,</c><00:06:36.560><c> we</c><00:06:36.720><c> need</c>

00:06:36.950 --> 00:06:36.960 align:start position:0%
as important as what we write, we need
 

00:06:36.960 --> 00:06:39.110 align:start position:0%
as important as what we write, we need
some<00:06:37.280><c> control</c><00:06:37.680><c> or</c><00:06:37.919><c> at</c><00:06:38.000><c> least</c><00:06:38.400><c> understanding</c>

00:06:39.110 --> 00:06:39.120 align:start position:0%
some control or at least understanding
 

00:06:39.120 --> 00:06:41.110 align:start position:0%
some control or at least understanding
of<00:06:39.440><c> where</c><00:06:39.680><c> we</c><00:06:39.840><c> will</c><00:06:40.080><c> write</c><00:06:40.240><c> it.</c><00:06:40.720><c> We</c><00:06:40.880><c> know</c><00:06:40.960><c> that</c>

00:06:41.110 --> 00:06:41.120 align:start position:0%
of where we will write it. We know that
 

00:06:41.120 --> 00:06:43.189 align:start position:0%
of where we will write it. We know that
the<00:06:41.280><c> swap</c><00:06:41.680><c> is</c><00:06:41.919><c> happening</c><00:06:42.400><c> on</c><00:06:42.720><c> the</c><00:06:42.880><c> float</c>

00:06:43.189 --> 00:06:43.199 align:start position:0%
the swap is happening on the float
 

00:06:43.199 --> 00:06:45.430 align:start position:0%
the swap is happening on the float
array.<00:06:43.680><c> So</c><00:06:43.840><c> any</c><00:06:44.160><c> out-of-bound</c><00:06:44.720><c> writes</c><00:06:45.199><c> will</c>

00:06:45.430 --> 00:06:45.440 align:start position:0%
array. So any out-of-bound writes will
 

00:06:45.440 --> 00:06:47.430 align:start position:0%
array. So any out-of-bound writes will
just<00:06:45.680><c> fall</c><00:06:45.919><c> outside</c><00:06:46.319><c> of</c><00:06:46.400><c> this</c><00:06:46.639><c> array</c><00:06:47.120><c> into</c>

00:06:47.430 --> 00:06:47.440 align:start position:0%
just fall outside of this array into
 

00:06:47.440 --> 00:06:49.430 align:start position:0%
just fall outside of this array into
adjacent<00:06:47.919><c> memory.</c><00:06:48.479><c> What</c><00:06:48.720><c> lies</c><00:06:48.960><c> next</c><00:06:49.199><c> to</c><00:06:49.280><c> the</c>

00:06:49.430 --> 00:06:49.440 align:start position:0%
adjacent memory. What lies next to the
 

00:06:49.440 --> 00:06:51.510 align:start position:0%
adjacent memory. What lies next to the
float<00:06:49.680><c> array</c><00:06:49.919><c> in</c><00:06:50.160><c> memory</c><00:06:50.479><c> is</c><00:06:50.880><c> likely</c>

00:06:51.510 --> 00:06:51.520 align:start position:0%
float array in memory is likely
 

00:06:51.520 --> 00:06:53.990 align:start position:0%
float array in memory is likely
controllable<00:06:52.080><c> to</c><00:06:52.319><c> some</c><00:06:52.560><c> degree</c><00:06:53.199><c> via</c><00:06:53.680><c> heap</c>

00:06:53.990 --> 00:06:54.000 align:start position:0%
controllable to some degree via heap
 

00:06:54.000 --> 00:06:55.749 align:start position:0%
controllable to some degree via heap
shaping<00:06:54.319><c> techniques.</c><00:06:54.960><c> If</c><00:06:55.199><c> we</c><00:06:55.360><c> can</c><00:06:55.520><c> prepare</c>

00:06:55.749 --> 00:06:55.759 align:start position:0%
shaping techniques. If we can prepare
 

00:06:55.759 --> 00:06:58.070 align:start position:0%
shaping techniques. If we can prepare
the<00:06:55.919><c> heap</c><00:06:56.240><c> such</c><00:06:56.479><c> that</c><00:06:56.720><c> some</c><00:06:57.039><c> structure</c><00:06:57.680><c> object</c>

00:06:58.070 --> 00:06:58.080 align:start position:0%
the heap such that some structure object
 

00:06:58.080 --> 00:07:00.469 align:start position:0%
the heap such that some structure object
of<00:06:58.479><c> importance</c><00:06:59.360><c> lies</c><00:06:59.680><c> directly</c><00:07:00.080><c> after</c><00:07:00.319><c> the</c>

00:07:00.469 --> 00:07:00.479 align:start position:0%
of importance lies directly after the
 

00:07:00.479 --> 00:07:02.390 align:start position:0%
of importance lies directly after the
float<00:07:00.800><c> array,</c><00:07:01.440><c> then</c><00:07:01.599><c> our</c><00:07:01.840><c> out-of-bounds</c>

00:07:02.390 --> 00:07:02.400 align:start position:0%
float array, then our out-of-bounds
 

00:07:02.400 --> 00:07:04.309 align:start position:0%
float array, then our out-of-bounds
write<00:07:02.720><c> will</c><00:07:02.880><c> be</c><00:07:03.039><c> capable</c><00:07:03.360><c> of</c><00:07:03.759><c> corrupting</c>

00:07:04.309 --> 00:07:04.319 align:start position:0%
write will be capable of corrupting
 

00:07:04.319 --> 00:07:06.309 align:start position:0%
write will be capable of corrupting
fields<00:07:04.800><c> within</c><00:07:05.120><c> this</c><00:07:05.360><c> other</c><00:07:05.599><c> object.</c>

00:07:06.309 --> 00:07:06.319 align:start position:0%
fields within this other object.
 

00:07:06.319 --> 00:07:08.309 align:start position:0%
fields within this other object.
Depending<00:07:06.639><c> on</c><00:07:06.880><c> the</c><00:07:07.120><c> subsequent</c><00:07:07.680><c> handling</c><00:07:08.080><c> of</c>

00:07:08.309 --> 00:07:08.319 align:start position:0%
Depending on the subsequent handling of
 

00:07:08.319 --> 00:07:10.230 align:start position:0%
Depending on the subsequent handling of
said<00:07:08.560><c> object,</c><00:07:09.199><c> we</c><00:07:09.440><c> may</c><00:07:09.520><c> be</c><00:07:09.599><c> able</c><00:07:09.759><c> to</c><00:07:09.919><c> achieve</c>

00:07:10.230 --> 00:07:10.240 align:start position:0%
said object, we may be able to achieve
 

00:07:10.240 --> 00:07:12.230 align:start position:0%
said object, we may be able to achieve
code<00:07:10.479><c> execution.</c><00:07:11.280><c> Another</c><00:07:11.599><c> cool</c><00:07:11.759><c> thing</c><00:07:11.919><c> worth</c>

00:07:12.230 --> 00:07:12.240 align:start position:0%
code execution. Another cool thing worth
 

00:07:12.240 --> 00:07:14.309 align:start position:0%
code execution. Another cool thing worth
mentioning<00:07:12.720><c> is</c><00:07:12.880><c> that</c><00:07:13.120><c> this</c><00:07:13.360><c> primitive</c><00:07:14.000><c> while</c>

00:07:14.309 --> 00:07:14.319 align:start position:0%
mentioning is that this primitive while
 

00:07:14.319 --> 00:07:16.629 align:start position:0%
mentioning is that this primitive while
restrictive<00:07:14.880><c> in</c><00:07:15.120><c> some</c><00:07:15.280><c> ways</c><00:07:16.000><c> is</c><00:07:16.240><c> quite</c><00:07:16.479><c> nice</c>

00:07:16.629 --> 00:07:16.639 align:start position:0%
restrictive in some ways is quite nice
 

00:07:16.639 --> 00:07:18.070 align:start position:0%
restrictive in some ways is quite nice
in<00:07:16.880><c> that</c><00:07:17.039><c> we</c><00:07:17.199><c> can</c><00:07:17.360><c> actually</c><00:07:17.520><c> perform</c><00:07:17.840><c> an</c>

00:07:18.070 --> 00:07:18.080 align:start position:0%
in that we can actually perform an
 

00:07:18.080 --> 00:07:20.390 align:start position:0%
in that we can actually perform an
arbitrary<00:07:18.720><c> amount</c><00:07:19.039><c> of</c><00:07:19.199><c> these</c><00:07:19.520><c> rights</c><00:07:20.160><c> because</c>

00:07:20.390 --> 00:07:20.400 align:start position:0%
arbitrary amount of these rights because
 

00:07:20.400 --> 00:07:22.309 align:start position:0%
arbitrary amount of these rights because
the<00:07:20.639><c> amount</c><00:07:20.880><c> is</c><00:07:21.120><c> determined</c><00:07:21.680><c> by</c><00:07:21.919><c> the</c><00:07:22.080><c> length</c>

00:07:22.309 --> 00:07:22.319 align:start position:0%
the amount is determined by the length
 

00:07:22.319 --> 00:07:24.469 align:start position:0%
the amount is determined by the length
of<00:07:22.479><c> the</c><00:07:22.560><c> remapping</c><00:07:23.120><c> array</c><00:07:23.520><c> which</c><00:07:23.759><c> we</c><00:07:23.919><c> control.</c>

00:07:24.469 --> 00:07:24.479 align:start position:0%
of the remapping array which we control.
 

00:07:24.479 --> 00:07:26.230 align:start position:0%
of the remapping array which we control.
So<00:07:24.639><c> this</c><00:07:24.880><c> could</c><00:07:24.960><c> also</c><00:07:25.280><c> come</c><00:07:25.360><c> in</c><00:07:25.599><c> handy.</c><00:07:26.000><c> Now,</c>

00:07:26.230 --> 00:07:26.240 align:start position:0%
So this could also come in handy. Now,
 

00:07:26.240 --> 00:07:28.390 align:start position:0%
So this could also come in handy. Now,
as<00:07:26.479><c> I</c><00:07:26.639><c> mentioned</c><00:07:26.880><c> in</c><00:07:27.120><c> the</c><00:07:27.280><c> last</c><00:07:27.440><c> video,</c><00:07:28.160><c> no</c>

00:07:28.390 --> 00:07:28.400 align:start position:0%
as I mentioned in the last video, no
 

00:07:28.400 --> 00:07:30.150 align:start position:0%
as I mentioned in the last video, no
exploit<00:07:28.800><c> sample</c><00:07:29.199><c> was</c><00:07:29.360><c> ever</c><00:07:29.599><c> released</c><00:07:29.840><c> to</c><00:07:30.080><c> the</c>

00:07:30.150 --> 00:07:30.160 align:start position:0%
exploit sample was ever released to the
 

00:07:30.160 --> 00:07:32.390 align:start position:0%
exploit sample was ever released to the
public<00:07:30.400><c> for</c><00:07:30.639><c> this</c><00:07:30.800><c> bug.</c><00:07:31.520><c> So</c><00:07:31.759><c> even</c><00:07:32.000><c> though</c><00:07:32.160><c> we</c>

00:07:32.390 --> 00:07:32.400 align:start position:0%
public for this bug. So even though we
 

00:07:32.400 --> 00:07:34.469 align:start position:0%
public for this bug. So even though we
now<00:07:32.639><c> understand</c><00:07:32.960><c> the</c><00:07:33.199><c> primitives,</c><00:07:34.080><c> we</c><00:07:34.319><c> are</c>

00:07:34.469 --> 00:07:34.479 align:start position:0%
now understand the primitives, we are
 

00:07:34.479 --> 00:07:36.309 align:start position:0%
now understand the primitives, we are
just<00:07:34.639><c> as</c><00:07:34.880><c> much</c><00:07:35.120><c> in</c><00:07:35.280><c> the</c><00:07:35.440><c> dark</c><00:07:35.680><c> as</c><00:07:35.919><c> we</c><00:07:36.160><c> were</c>

00:07:36.309 --> 00:07:36.319 align:start position:0%
just as much in the dark as we were
 

00:07:36.319 --> 00:07:38.390 align:start position:0%
just as much in the dark as we were
before<00:07:36.800><c> in</c><00:07:37.039><c> terms</c><00:07:37.199><c> of</c><00:07:37.360><c> how</c><00:07:37.520><c> to</c><00:07:37.680><c> use</c><00:07:37.840><c> them.</c>

00:07:38.390 --> 00:07:38.400 align:start position:0%
before in terms of how to use them.
 

00:07:38.400 --> 00:07:40.230 align:start position:0%
before in terms of how to use them.
Still,<00:07:38.720><c> it</c><00:07:38.960><c> should</c><00:07:39.120><c> give</c><00:07:39.280><c> us</c><00:07:39.440><c> some</c><00:07:39.680><c> motivation</c>

00:07:40.230 --> 00:07:40.240 align:start position:0%
Still, it should give us some motivation
 

00:07:40.240 --> 00:07:42.070 align:start position:0%
Still, it should give us some motivation
knowing<00:07:40.560><c> that</c><00:07:40.720><c> this</c><00:07:40.960><c> bug</c><00:07:41.280><c> was</c><00:07:41.599><c> definitely</c>

00:07:42.070 --> 00:07:42.080 align:start position:0%
knowing that this bug was definitely
 

00:07:42.080 --> 00:07:44.070 align:start position:0%
knowing that this bug was definitely
exploited<00:07:42.479><c> in</c><00:07:42.639><c> the</c><00:07:42.800><c> wild</c><00:07:43.199><c> according</c><00:07:43.599><c> to</c><00:07:43.759><c> the</c>

00:07:44.070 --> 00:07:44.080 align:start position:0%
exploited in the wild according to the
 

00:07:44.080 --> 00:07:46.309 align:start position:0%
exploited in the wild according to the
CVE<00:07:44.560><c> notes.</c><00:07:45.199><c> So</c><00:07:45.360><c> we</c><00:07:45.520><c> know</c><00:07:45.599><c> that</c><00:07:45.759><c> it's</c><00:07:46.000><c> at</c><00:07:46.000><c> least</c>

00:07:46.309 --> 00:07:46.319 align:start position:0%
CVE notes. So we know that it's at least
 

00:07:46.319 --> 00:07:47.830 align:start position:0%
CVE notes. So we know that it's at least
possible<00:07:46.560><c> to</c><00:07:46.800><c> get</c><00:07:46.960><c> code</c><00:07:47.199><c> execution</c><00:07:47.599><c> from</c>

00:07:47.830 --> 00:07:47.840 align:start position:0%
possible to get code execution from
 

00:07:47.840 --> 00:07:49.830 align:start position:0%
possible to get code execution from
this.<00:07:48.560><c> But</c><00:07:48.720><c> actually</c><00:07:49.039><c> getting</c><00:07:49.280><c> there</c><00:07:49.520><c> is</c><00:07:49.680><c> a</c>

00:07:49.830 --> 00:07:49.840 align:start position:0%
this. But actually getting there is a
 

00:07:49.840 --> 00:07:51.589 align:start position:0%
this. But actually getting there is a
whole<00:07:50.000><c> other</c><00:07:50.240><c> story.</c><00:07:50.880><c> Leveraging</c><00:07:51.360><c> these</c>

00:07:51.589 --> 00:07:51.599 align:start position:0%
whole other story. Leveraging these
 

00:07:51.599 --> 00:07:53.510 align:start position:0%
whole other story. Leveraging these
primitives<00:07:52.080><c> to</c><00:07:52.240><c> gain</c><00:07:52.479><c> code</c><00:07:52.720><c> execution</c><00:07:53.280><c> will</c>

00:07:53.510 --> 00:07:53.520 align:start position:0%
primitives to gain code execution will
 

00:07:53.520 --> 00:07:56.150 align:start position:0%
primitives to gain code execution will
require<00:07:54.000><c> significant</c><00:07:54.560><c> creativity</c><00:07:55.599><c> and</c><00:07:55.759><c> is</c><00:07:56.000><c> a</c>

00:07:56.150 --> 00:07:56.160 align:start position:0%
require significant creativity and is a
 

00:07:56.160 --> 00:07:58.309 align:start position:0%
require significant creativity and is a
whole<00:07:56.240><c> other</c><00:07:56.560><c> task</c><00:07:56.879><c> which</c><00:07:57.199><c> I</c><00:07:57.440><c> and</c><00:07:57.680><c> no</c><00:07:57.840><c> one</c><00:07:58.000><c> else</c>

00:07:58.309 --> 00:07:58.319 align:start position:0%
whole other task which I and no one else
 

00:07:58.319 --> 00:08:00.150 align:start position:0%
whole other task which I and no one else
publicly<00:07:58.800><c> at</c><00:07:58.800><c> least</c><00:07:59.360><c> seems</c><00:07:59.599><c> to</c><00:07:59.759><c> have</c><00:08:00.000><c> figured</c>

00:08:00.150 --> 00:08:00.160 align:start position:0%
publicly at least seems to have figured
 

00:08:00.160 --> 00:08:02.390 align:start position:0%
publicly at least seems to have figured
out<00:08:00.319><c> just</c><00:08:00.560><c> yet.</c><00:08:01.120><c> Any</c><00:08:01.440><c> researcher</c><00:08:01.919><c> looking</c><00:08:02.160><c> to</c>

00:08:02.390 --> 00:08:02.400 align:start position:0%
out just yet. Any researcher looking to
 

00:08:02.400 --> 00:08:04.390 align:start position:0%
out just yet. Any researcher looking to
play<00:08:02.560><c> with</c><00:08:02.720><c> these</c><00:08:02.960><c> unique</c><00:08:03.280><c> primitives</c><00:08:04.080><c> may</c>

00:08:04.390 --> 00:08:04.400 align:start position:0%
play with these unique primitives may
 

00:08:04.400 --> 00:08:05.990 align:start position:0%
play with these unique primitives may
find<00:08:04.560><c> it</c><00:08:04.720><c> inspiring</c><00:08:05.199><c> to</c><00:08:05.440><c> look</c><00:08:05.520><c> at</c><00:08:05.680><c> case</c>

00:08:05.990 --> 00:08:06.000 align:start position:0%
find it inspiring to look at case
 

00:08:06.000 --> 00:08:07.990 align:start position:0%
find it inspiring to look at case
studies<00:08:06.319><c> from</c><00:08:06.720><c> similarly</c><00:08:07.280><c> challenging</c>

00:08:07.990 --> 00:08:08.000 align:start position:0%
studies from similarly challenging
 

00:08:08.000 --> 00:08:09.990 align:start position:0%
studies from similarly challenging
exploitation<00:08:08.639><c> contexts.</c><00:08:09.360><c> For</c><00:08:09.440><c> example,</c>

00:08:09.990 --> 00:08:10.000 align:start position:0%
exploitation contexts. For example,
 

00:08:10.000 --> 00:08:12.469 align:start position:0%
exploitation contexts. For example,
consider<00:08:10.400><c> the</c><00:08:10.639><c> bad</c><00:08:11.039><c> spin</c><00:08:11.440><c> kernel</c><00:08:11.840><c> exploit</c><00:08:12.240><c> for</c>

00:08:12.469 --> 00:08:12.479 align:start position:0%
consider the bad spin kernel exploit for
 

00:08:12.479 --> 00:08:14.469 align:start position:0%
consider the bad spin kernel exploit for
Android<00:08:12.800><c> devices.</c><00:08:13.599><c> This</c><00:08:13.759><c> exploit</c><00:08:14.240><c> worked</c>

00:08:14.469 --> 00:08:14.479 align:start position:0%
Android devices. This exploit worked
 

00:08:14.479 --> 00:08:16.390 align:start position:0%
Android devices. This exploit worked
from<00:08:14.639><c> a</c><00:08:14.879><c> very</c><00:08:15.120><c> restrictive</c><00:08:15.680><c> primitive</c><00:08:16.160><c> where</c>

00:08:16.390 --> 00:08:16.400 align:start position:0%
from a very restrictive primitive where
 

00:08:16.400 --> 00:08:18.550 align:start position:0%
from a very restrictive primitive where
the<00:08:16.560><c> attacker</c><00:08:17.039><c> was</c><00:08:17.199><c> able</c><00:08:17.440><c> to</c><00:08:17.599><c> nullify</c><00:08:18.240><c> just</c>

00:08:18.550 --> 00:08:18.560 align:start position:0%
the attacker was able to nullify just
 

00:08:18.560 --> 00:08:21.270 align:start position:0%
the attacker was able to nullify just
two<00:08:18.800><c> bytes</c><00:08:19.199><c> of</c><00:08:19.360><c> memory.</c><00:08:20.080><c> Yet,</c><00:08:20.479><c> even</c><00:08:20.800><c> with</c><00:08:21.039><c> this</c>

00:08:21.270 --> 00:08:21.280 align:start position:0%
two bytes of memory. Yet, even with this
 

00:08:21.280 --> 00:08:23.430 align:start position:0%
two bytes of memory. Yet, even with this
incredibly<00:08:21.840><c> limited</c><00:08:22.240><c> primitive,</c><00:08:23.120><c> they</c><00:08:23.280><c> were</c>

00:08:23.430 --> 00:08:23.440 align:start position:0%
incredibly limited primitive, they were
 

00:08:23.440 --> 00:08:25.670 align:start position:0%
incredibly limited primitive, they were
able<00:08:23.680><c> to</c><00:08:23.840><c> fully</c><00:08:24.080><c> exploit</c><00:08:24.479><c> the</c><00:08:24.720><c> Android</c><00:08:24.960><c> kernel</c>

00:08:25.670 --> 00:08:25.680 align:start position:0%
able to fully exploit the Android kernel
 

00:08:25.680 --> 00:08:27.830 align:start position:0%
able to fully exploit the Android kernel
by<00:08:26.000><c> using</c><00:08:26.319><c> some</c><00:08:26.639><c> creativity.</c><00:08:27.360><c> If</c><00:08:27.599><c> some</c>

00:08:27.830 --> 00:08:27.840 align:start position:0%
by using some creativity. If some
 

00:08:27.840 --> 00:08:29.990 align:start position:0%
by using some creativity. If some
security<00:08:28.240><c> researcher</c><00:08:28.879><c> was</c><00:08:29.360><c> successfully</c>

00:08:29.990 --> 00:08:30.000 align:start position:0%
security researcher was successfully
 

00:08:30.000 --> 00:08:31.909 align:start position:0%
security researcher was successfully
able<00:08:30.160><c> to</c><00:08:30.319><c> exploit</c><00:08:30.720><c> the</c><00:08:30.879><c> core</c><00:08:31.120><c> audio</c><00:08:31.440><c> bug,</c>

00:08:31.909 --> 00:08:31.919 align:start position:0%
able to exploit the core audio bug,
 

00:08:31.919 --> 00:08:33.750 align:start position:0%
able to exploit the core audio bug,
their<00:08:32.159><c> exploit</c><00:08:32.560><c> would</c><00:08:32.800><c> almost</c><00:08:33.039><c> certainly</c><00:08:33.519><c> be</c>

00:08:33.750 --> 00:08:33.760 align:start position:0%
their exploit would almost certainly be
 

00:08:33.760 --> 00:08:35.909 align:start position:0%
their exploit would almost certainly be
completely<00:08:34.320><c> unique</c><00:08:34.880><c> from</c><00:08:35.120><c> the</c><00:08:35.360><c> original</c><00:08:35.760><c> in</c>

00:08:35.909 --> 00:08:35.919 align:start position:0%
completely unique from the original in
 

00:08:35.919 --> 00:08:38.469 align:start position:0%
completely unique from the original in
the<00:08:36.080><c> wild</c><00:08:36.399><c> sample.</c><00:08:37.279><c> This</c><00:08:37.519><c> is</c><00:08:37.680><c> the</c><00:08:37.919><c> beauty</c><00:08:38.320><c> in</c>

00:08:38.469 --> 00:08:38.479 align:start position:0%
the wild sample. This is the beauty in
 

00:08:38.479 --> 00:08:39.909 align:start position:0%
the wild sample. This is the beauty in
the<00:08:38.640><c> art</c><00:08:38.880><c> of</c><00:08:39.120><c> memory</c><00:08:39.440><c> corruption</c>

00:08:39.909 --> 00:08:39.919 align:start position:0%
the art of memory corruption
 

00:08:39.919 --> 00:08:41.909 align:start position:0%
the art of memory corruption
exploitation.<00:08:40.959><c> I'll</c><00:08:41.200><c> be</c><00:08:41.279><c> toying</c><00:08:41.599><c> around</c><00:08:41.760><c> with</c>

00:08:41.909 --> 00:08:41.919 align:start position:0%
exploitation. I'll be toying around with
 

00:08:41.919 --> 00:08:43.509 align:start position:0%
exploitation. I'll be toying around with
these<00:08:42.159><c> primitives</c><00:08:42.640><c> some</c><00:08:42.800><c> more</c><00:08:42.959><c> in</c><00:08:43.120><c> my</c><00:08:43.279><c> spare</c>

00:08:43.509 --> 00:08:43.519 align:start position:0%
these primitives some more in my spare
 

00:08:43.519 --> 00:08:45.509 align:start position:0%
these primitives some more in my spare
time,<00:08:44.000><c> and</c><00:08:44.240><c> if</c><00:08:44.399><c> you're</c><00:08:44.560><c> also</c><00:08:44.800><c> a</c><00:08:45.040><c> curious</c>

00:08:45.509 --> 00:08:45.519 align:start position:0%
time, and if you're also a curious
 

00:08:45.519 --> 00:08:47.509 align:start position:0%
time, and if you're also a curious
researcher,<00:08:46.080><c> you</c><00:08:46.240><c> may</c><00:08:46.399><c> want</c><00:08:46.560><c> to</c><00:08:46.640><c> do</c><00:08:46.720><c> the</c><00:08:46.959><c> same.</c>

00:08:47.509 --> 00:08:47.519 align:start position:0%
researcher, you may want to do the same.
 

00:08:47.519 --> 00:08:49.509 align:start position:0%
researcher, you may want to do the same.
Joe<00:08:47.839><c> Ways</c><00:08:48.160><c> and</c><00:08:48.320><c> Noah's</c><00:08:48.880><c> efforts</c><00:08:49.200><c> on</c><00:08:49.360><c> the</c>

00:08:49.509 --> 00:08:49.519 align:start position:0%
Joe Ways and Noah's efforts on the
 

00:08:49.519 --> 00:08:51.670 align:start position:0%
Joe Ways and Noah's efforts on the
public<00:08:49.839><c> research</c><00:08:50.320><c> into</c><00:08:50.640><c> this</c><00:08:50.800><c> bug</c><00:08:51.200><c> provide</c><00:08:51.440><c> us</c>

00:08:51.670 --> 00:08:51.680 align:start position:0%
public research into this bug provide us
 

00:08:51.680 --> 00:08:53.990 align:start position:0%
public research into this bug provide us
a<00:08:51.839><c> really</c><00:08:52.080><c> nice</c><00:08:52.320><c> foundation</c><00:08:53.200><c> and</c><00:08:53.519><c> environment</c>

00:08:53.990 --> 00:08:54.000 align:start position:0%
a really nice foundation and environment
 

00:08:54.000 --> 00:08:55.910 align:start position:0%
a really nice foundation and environment
to<00:08:54.320><c> experiment</c><00:08:54.720><c> with</c><00:08:54.959><c> things.</c><00:08:55.360><c> So,</c><00:08:55.600><c> be</c><00:08:55.760><c> sure</c>

00:08:55.910 --> 00:08:55.920 align:start position:0%
to experiment with things. So, be sure
 

00:08:55.920 --> 00:08:57.670 align:start position:0%
to experiment with things. So, be sure
to<00:08:56.080><c> check</c><00:08:56.240><c> out</c><00:08:56.399><c> their</c><00:08:56.640><c> work.</c><00:08:57.120><c> Links</c><00:08:57.440><c> will</c><00:08:57.600><c> be</c>

00:08:57.670 --> 00:08:57.680 align:start position:0%
to check out their work. Links will be
 

00:08:57.680 --> 00:08:59.430 align:start position:0%
to check out their work. Links will be
left<00:08:57.920><c> in</c><00:08:58.080><c> the</c><00:08:58.320><c> description</c><00:08:58.720><c> below.</c><00:08:59.200><c> I'm</c>

00:08:59.430 --> 00:08:59.440 align:start position:0%
left in the description below. I'm
 

00:08:59.440 --> 00:09:01.110 align:start position:0%
left in the description below. I'm
curious<00:08:59.760><c> to</c><00:08:59.920><c> also</c><00:09:00.160><c> hear</c><00:09:00.399><c> your</c><00:09:00.640><c> guys's</c>

00:09:01.110 --> 00:09:01.120 align:start position:0%
curious to also hear your guys's
 

00:09:01.120 --> 00:09:03.030 align:start position:0%
curious to also hear your guys's
theories<00:09:01.519><c> and</c><00:09:01.760><c> ideas</c><00:09:02.160><c> on</c><00:09:02.480><c> what</c><00:09:02.720><c> a</c><00:09:02.880><c> good</c>

00:09:03.030 --> 00:09:03.040 align:start position:0%
theories and ideas on what a good
 

00:09:03.040 --> 00:09:05.030 align:start position:0%
theories and ideas on what a good
exploitation<00:09:03.680><c> strategy</c><00:09:04.160><c> would</c><00:09:04.399><c> be</c><00:09:04.720><c> given</c>

00:09:05.030 --> 00:09:05.040 align:start position:0%
exploitation strategy would be given
 

00:09:05.040 --> 00:09:06.949 align:start position:0%
exploitation strategy would be given
these<00:09:05.279><c> limited</c><00:09:05.680><c> primitives.</c><00:09:06.320><c> So,</c><00:09:06.640><c> leave</c><00:09:06.800><c> a</c>

00:09:06.949 --> 00:09:06.959 align:start position:0%
these limited primitives. So, leave a
 

00:09:06.959 --> 00:09:08.710 align:start position:0%
these limited primitives. So, leave a
comment<00:09:07.200><c> if</c><00:09:07.440><c> you're</c><00:09:07.680><c> also</c><00:09:08.000><c> researching</c><00:09:08.560><c> this</c>

00:09:08.710 --> 00:09:08.720 align:start position:0%
comment if you're also researching this
 

00:09:08.720 --> 00:09:11.030 align:start position:0%
comment if you're also researching this
bug.<00:09:09.360><c> And</c><00:09:09.600><c> be</c><00:09:09.760><c> sure</c><00:09:09.839><c> to</c><00:09:10.080><c> drop</c><00:09:10.320><c> any</c><00:09:10.560><c> suggestions</c>

00:09:11.030 --> 00:09:11.040 align:start position:0%
bug. And be sure to drop any suggestions
 

00:09:11.040 --> 00:09:12.790 align:start position:0%
bug. And be sure to drop any suggestions
for<00:09:11.360><c> other</c><00:09:11.680><c> technical</c><00:09:12.160><c> breakdowns</c><00:09:12.560><c> you'd</c>

00:09:12.790 --> 00:09:12.800 align:start position:0%
for other technical breakdowns you'd
 

00:09:12.800 --> 00:09:14.389 align:start position:0%
for other technical breakdowns you'd
like<00:09:12.880><c> me</c><00:09:13.040><c> to</c><00:09:13.200><c> cover</c><00:09:13.440><c> on</c><00:09:13.680><c> this</c><00:09:13.839><c> channel</c>

00:09:14.389 --> 00:09:14.399 align:start position:0%
like me to cover on this channel
 

00:09:14.399 --> 00:09:16.310 align:start position:0%
like me to cover on this channel
relating<00:09:14.800><c> to</c><00:09:15.040><c> iOS</c><00:09:15.519><c> exploitation</c><00:09:16.080><c> or</c>

00:09:16.310 --> 00:09:16.320 align:start position:0%
relating to iOS exploitation or
 

00:09:16.320 --> 00:09:18.310 align:start position:0%
relating to iOS exploitation or
vulnerability<00:09:16.959><c> research.</c><00:09:17.600><c> The</c><00:09:17.839><c> response</c><00:09:18.160><c> to</c>

00:09:18.310 --> 00:09:18.320 align:start position:0%
vulnerability research. The response to
 

00:09:18.320 --> 00:09:19.670 align:start position:0%
vulnerability research. The response to
these<00:09:18.560><c> types</c><00:09:18.720><c> of</c><00:09:18.880><c> videos</c><00:09:19.120><c> seems</c><00:09:19.360><c> to</c><00:09:19.519><c> be</c>

00:09:19.670 --> 00:09:19.680 align:start position:0%
these types of videos seems to be
 

00:09:19.680 --> 00:09:21.670 align:start position:0%
these types of videos seems to be
overwhelmingly<00:09:20.320><c> good,</c><00:09:20.640><c> so</c><00:09:20.800><c> I'm</c><00:09:21.040><c> very</c><00:09:21.200><c> keen</c><00:09:21.440><c> to</c>

00:09:21.670 --> 00:09:21.680 align:start position:0%
overwhelmingly good, so I'm very keen to
 

00:09:21.680 --> 00:09:23.590 align:start position:0%
overwhelmingly good, so I'm very keen to
keep<00:09:21.839><c> making</c><00:09:22.160><c> them.</c><00:09:22.880><c> That</c><00:09:23.120><c> is</c><00:09:23.279><c> all</c><00:09:23.360><c> for</c>

00:09:23.590 --> 00:09:23.600 align:start position:0%
keep making them. That is all for
 

00:09:23.600 --> 00:09:25.509 align:start position:0%
keep making them. That is all for
today's<00:09:23.839><c> video.</c><00:09:24.240><c> Hope</c><00:09:24.480><c> you</c><00:09:24.640><c> guys</c><00:09:24.800><c> enjoyed.</c>

00:09:25.509 --> 00:09:25.519 align:start position:0%
today's video. Hope you guys enjoyed.
 

00:09:25.519 --> 00:09:27.190 align:start position:0%
today's video. Hope you guys enjoyed.
Thanks<00:09:25.760><c> for</c><00:09:25.920><c> watching</c><00:09:26.320><c> and</c><00:09:26.560><c> I</c><00:09:26.720><c> will</c><00:09:26.880><c> see</c><00:09:27.040><c> you</c>

00:09:27.190 --> 00:09:27.200 align:start position:0%
Thanks for watching and I will see you
 

00:09:27.200 --> 00:09:30.399 align:start position:0%
Thanks for watching and I will see you
in<00:09:27.360><c> the</c><00:09:27.519><c> next</c><00:09:27.680><c> one.</c>

