ObjFW  Check-in [1808782994]

Overview
Comment:OFOptionsParser: Make sure _options is terminated
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 180878299426d5e29dfba26d10e7d649e7d534b69dbd8cae69707d1b0e2454d3
User & Date: js on 2016-02-28 16:08:50
Other Links: manifest | tags
Context
2016-03-02
21:07
ObjFW.h: Add OFStatItemFailedException.h check-in: 89fc3e69a8 user: js tags: trunk
2016-02-28
16:08
OFOptionsParser: Make sure _options is terminated check-in: 1808782994 user: js tags: trunk
15:31
OFStdIOStream: Set codepage to UTF-8 on Windows check-in: 0a001bfd7b user: js tags: trunk
Changes

Modified src/OFOptionsParser.m from [1f9ec9effe] to [917ac12657].

125
126
127
128
129
130
131


132
133
134
135
136
137
138
					iter2->shortOption = '\0';
					iter2->longOption = nil;

					@throw e;
				}
			}
		}



		_arguments = [[OFApplication arguments] retain];
	} @catch (id e) {
		[self release];
		@throw e;
	}








>
>







125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
					iter2->shortOption = '\0';
					iter2->longOption = nil;

					@throw e;
				}
			}
		}
		iter2->shortOption = '\0';
		iter2->longOption = nil;

		_arguments = [[OFApplication arguments] retain];
	} @catch (id e) {
		[self release];
		@throw e;
	}