Hex Artifact Content
Not logged in

Artifact 4d8505d272de22a3cff305ff745c1e93b899c429:

Ticket change [4d8505d272] - New ticket [c179f93e63] fossil commit crashes when added paths contain Shift-JIS. by anonymous 2010-09-30 01:09:47.
0000: 44 20 32 30 31 30 2d 30 39 2d 33 30 54 30 31 3a  D 2010-09-30T01:
0010: 30 39 3a 34 37 0a 4a 20 63 6f 6d 6d 65 6e 74 20  09:47.J comment 
0020: 54 72 79 69 6e 67 5c 73 74 6f 5c 73 63 6f 6d 6d  Trying\sto\scomm
0030: 69 74 5c 73 61 5c 73 66 69 6c 65 5c 73 77 69 74  it\sa\sfile\swit
0040: 68 5c 73 61 5c 73 70 61 74 68 5c 73 63 6f 6e 74  h\sa\spath\scont
0050: 61 69 6e 69 6e 67 5c 73 53 68 69 66 74 2d 4a 49  aining\sShift-JI
0060: 53 5c 73 65 6e 63 6f 64 65 64 5c 73 63 68 61 72  S\sencoded\schar
0070: 61 63 74 65 72 73 5c 73 28 65 2e 67 2e 5c 73 4a  acters\s(e.g.\sJ
0080: 61 70 61 6e 65 73 65 29 5c 73 63 61 75 73 65 73  apanese)\scauses
0090: 5c 73 66 6f 73 73 69 6c 2e 65 78 65 5c 73 74 6f  \sfossil.exe\sto
00a0: 5c 73 63 72 61 73 68 2e 5c 73 5c 73 49 27 6d 5c  \scrash.\s\sI'm\
00b0: 73 64 6f 69 6e 67 5c 73 74 68 69 73 5c 73 69 6e  sdoing\sthis\sin
00c0: 5c 73 63 6d 64 2e 65 78 65 5c 73 77 69 74 68 5c  \scmd.exe\swith\
00d0: 73 63 6f 64 65 70 61 67 65 5c 73 73 65 74 5c 73  scodepage\sset\s
00e0: 74 6f 5c 73 22 39 33 32 5c 73 28 41 4e 53 49 2f  to\s"932\s(ANSI/
00f0: 4f 45 4d 5c 73 2d 5c 73 4a 61 70 61 6e 65 73 65  OEM\s-\sJapanese
0100: 5c 73 53 68 69 66 74 2d 4a 49 53 29 22 2c 5c 73  \sShift-JIS)",\s
0110: 62 75 74 5c 73 70 65 72 66 6f 72 6d 69 6e 67 5c  but\sperforming\
0120: 73 27 63 68 63 70 5c 73 38 35 30 27 5c 73 6f 72  s'chcp\s850'\sor
0130: 5c 73 27 63 68 63 70 5c 73 36 35 30 30 31 27 5c  \s'chcp\s65001'\
0140: 73 62 65 66 6f 72 65 5c 73 61 64 64 69 6e 67 5c  sbefore\sadding\
0150: 73 74 68 65 5c 73 66 69 6c 65 5c 73 64 6f 65 73  sthe\sfile\sdoes
0160: 6e 27 74 5c 73 61 66 66 65 63 74 5c 73 74 68 65  n't\saffect\sthe
0170: 5c 73 6f 75 74 63 6f 6d 65 2e 5c 72 5c 6e 5c 72  \soutcome.\r\n\r
0180: 5c 6e 3c 70 72 65 3e 5c 72 5c 6e 53 74 65 70 73  \n<pre>\r\nSteps
0190: 5c 73 74 6f 5c 73 72 65 70 72 6f 64 75 63 65 3a  \sto\sreproduce:
01a0: 5c 72 5c 6e 3e 5c 73 66 6f 73 73 69 6c 2e 65 78  \r\n>\sfossil.ex
01b0: 65 5c 73 61 64 64 5c 73 22 e3 83 86 e3 82 b9 e3  e\sadd\s".......
01c0: 83 88 5c 5c 66 6f 6f 2e 74 78 74 22 5c 72 5c 6e  ..\\foo.txt"\r\n
01d0: 41 44 44 45 44 5c 73 5c 73 e3 83 86 e3 82 b9 e3  ADDED\s\s.......
01e0: 83 88 2f 66 6f 6f 2e 74 78 74 3c 62 72 5c 73 2f  ../foo.txt<br\s/
01f0: 3e 5c 72 5c 6e 3e 5c 73 66 6f 73 73 69 6c 2e 65  >\r\n>\sfossil.e
0200: 78 65 5c 73 63 6f 6d 6d 69 74 5c 73 2d 6d 5c 73  xe\scommit\s-m\s
0210: 66 6f 6f 5c 72 5c 6e 3c 3c 3c 5c 73 41 63 63 65  foo\r\n<<<\sAcce
0220: 73 73 5c 73 56 69 6f 6c 61 74 69 6f 6e 5c 73 28  ss\sViolation\s(
0230: 30 78 30 30 30 30 30 30 30 35 29 5c 73 6f 63 63  0x00000005)\socc
0240: 75 72 73 5c 73 68 65 72 65 5c 73 3e 3e 3e 5c 72  urs\shere\s>>>\r
0250: 5c 6e 3c 2f 70 72 65 3e 0a 4a 20 66 6f 75 6e 64  \n</pre>.J found
0260: 69 6e 20 5b 62 34 38 66 37 38 39 36 34 65 5d 5c  in [b48f78964e]\
0270: 73 32 30 31 30 2d 30 39 2d 31 38 5c 73 31 35 3a  s2010-09-18\s15:
0280: 35 31 3a 34 33 5c 73 55 54 43 0a 4a 20 70 72 69  51:43\sUTC.J pri
0290: 76 61 74 65 5f 63 6f 6e 74 61 63 74 20 33 62 33  vate_contact 3b3
02a0: 66 62 66 35 66 36 32 64 32 30 65 37 39 34 31 37  fbf5f62d20e79417
02b0: 32 35 66 39 62 36 64 63 63 36 63 66 66 65 39 30  25f9b6dcc6cffe90
02c0: 66 31 64 37 31 0a 4a 20 73 65 76 65 72 69 74 79  f1d71.J severity
02d0: 20 49 6d 70 6f 72 74 61 6e 74 0a 4a 20 73 74 61   Important.J sta
02e0: 74 75 73 20 4f 70 65 6e 0a 4a 20 74 69 74 6c 65  tus Open.J title
02f0: 20 66 6f 73 73 69 6c 5c 73 63 6f 6d 6d 69 74 5c   fossil\scommit\
0300: 73 63 72 61 73 68 65 73 5c 73 77 68 65 6e 5c 73  scrashes\swhen\s
0310: 61 64 64 65 64 5c 73 70 61 74 68 73 5c 73 63 6f  added\spaths\sco
0320: 6e 74 61 69 6e 5c 73 53 68 69 66 74 2d 4a 49 53  ntain\sShift-JIS
0330: 0a 4a 20 74 79 70 65 20 43 6f 64 65 5f 44 65 66  .J type Code_Def
0340: 65 63 74 0a 4b 20 63 31 37 39 66 39 33 65 36 33  ect.K c179f93e63
0350: 33 61 61 33 38 35 36 39 65 33 64 34 36 64 36 34  3aa38569e3d46d64
0360: 32 32 66 30 39 30 64 66 39 35 38 65 64 66 0a 55  22f090df958edf.U
0370: 20 61 6e 6f 6e 79 6d 6f 75 73 0a 5a 20 33 35 32   anonymous.Z 352
0380: 38 36 32 63 35 66 65 66 34 66 33 36 63 64 65 38  862c5fef4f36cde8
0390: 63 31 37 66 38 39 36 61 38 38 65 37 65 0a        c17f896a88e7e.