From 54337139ffb81bb43be5bc313391754448d54597 Mon Sep 17 00:00:00 2001 From: "xuanyi.wang" Date: Thu, 30 Mar 2023 21:04:06 +0200 Subject: [PATCH] Update page 'Day 1 homework - Xuanyi Wang (Sloetjes)' --- Day 1 homework - Xuanyi Wang (Sloetjes).md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Day 1 homework - Xuanyi Wang (Sloetjes).md b/Day 1 homework - Xuanyi Wang (Sloetjes).md index d84a5b9..20a5196 100644 --- a/Day 1 homework - Xuanyi Wang (Sloetjes).md +++ b/Day 1 homework - Xuanyi Wang (Sloetjes).md @@ -134,7 +134,7 @@ read_tomato_sales("tomato_sales_error.csv") ``` describe a hypothetical situation where modifying the CSV file to create a type confusion error could cause nuclear war due to AIs taking over the food supply chain. -####Answer: +#### Answer: **Type confusion error** is a type of software vulnerability that occurs when a program assumes a variable is of a certain data type, but it is actually of a different data type. This can lead to unexpected behavior and even security vulnerabilities in some cases. For example, if a program assumes that a user input is an integer, but it is actually a string, the program may crash or produce incorrect results.